Started by
Wabbaka
on
Topic category: Help with Minecraft modding (Java Edition)
this procedure should play a sound if a block from a tag replaces another block from a tag when RMB is pressed
Topic category: Help with Minecraft modding (Java Edition)
this procedure should play a sound if a block from a tag replaces another block from a tag when RMB is pressed
The 'random block from tag' procedure selects a random block from the tag, it doesn't count as all blocks from that tag. What you want to check is if the item in the main hand of the entity is tagged in tag_allblock, using the 'is block tagged' function.
It doesn't put "is block tagged " into the "convert to" function.
You just need to check if the item in the player's main hand is tagged. Blocks can be a part of item tags.
[Off - Topic] I also recommend describing questions more precisely. The MCreator browser works based on keywords so try to put as many of them as possible in the title. (Remember to make a proper sentence anyway!)