Started by
Kisonix
on
Topic category: Help with Minecraft modding (Java Edition)
I just can't understand why? It doesn't work.
After all, according to LOGIC, everything is done correctly.
Screenshot - https://imgur.com/RpLmRqI
I need that when passing through a block of arable land, if there are no other blocks above the arable land and the player has a stone in his inventory, then a block of stone is placed on the block of arable land.
But for some reason the logic does not work.
Hooray! Your help helped me.
The problem was that in the inventory settings for the entity, I specified that the maximum cell ID is 1. But I should have specified 0.
Advice, never! Never trust translators for programs.
True, I caught a bug a couple of times when I planted my plant in survival mode, it planted another one and - it was impossible to break in survival mode... So far, such a bug has not appeared again, but in general everything works, I will continue testing.
Thanks again for the help.
Oh, nice!