The condition between the item and the block

Started by okay4ek123 on

Topic category: Help with modding (Java Edition)

Last seen on 15:19, 12. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The condition between the item and the block

how do I check if the block in xyz has a name = the name of the object in my hand? I tried to compare the visible names, but it turned out that when the name of the object was changed through the anvil, it changed its name and the block did not

Last seen on 15:19, 12. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I understood, NBT.....
Thu, 08/29/2024 - 19:39

I understood, NBT.....