Started by
Mopru
on
Topic category: Help with Minecraft modding (Java Edition)
ill put it simply, how to check if an entity is name tagged a certain way using if blocks?
Topic category: Help with Minecraft modding (Java Edition)
ill put it simply, how to check if an entity is name tagged a certain way using if blocks?
You can do it by using "Get [event/target entity] display name", if the nametag name is not the same as the default name of the entity it should work.
Here's an example of how to do it(strikes fake lightning if player right clicks on a pig nametagged with a tag "Peppa"):