Started by
Rain2
on
Topic category: Help with Minecraft modding (Java Edition)
Basically, I am trying to make a block that will break and drop itself if it it is placed on an incorrect block. For example, if I were to place it on dirt or stone, it would break but if I placed it on an ore it would place normally. My code for some reason breaks the block no matter what block you place it on. Any help would be appreciated!
Try adding a block placement condition to your block. In the procedure, add the dark cyan report block found in Minecraft components and then add to it a script to check if the block below is an ore
Could you give me an example? I'm not a sure what you mean by that...