Started by
Thermoza
on
Topic category: Help with Minecraft modding (Java Edition)
I have noticed when you use the can plants sustain on this block property, it allows for all plants including crops to be able to plant on the block. I am trying to make a custom mycelium block that allows for only plants like mushrooms and grass but not crops to sustain on the top. Is this possible to do?
Aw man I have the same problem
Hm... I don’t have that problem
bump
Figured it out...
For your block, keep 'can plants sustain on this block' ticked, but you need to add a procedure.
Under 'On block right clicked' use this -
if - is [ item in main-hand of / Event/target entity ] tagged in item tags as [ "minecraft:seeds" ]
do - replace block at x y z with [ air ]
That will stop the player placing and seeds on the block, but plants and saplings will still place