Topic category: Help with modding (Java Edition)
I'm making a special type of hoe tool that basically auto-plants seeds from your offhand when you break crops. I did manage to get a working method of achieving this, but it has the side effect that you get stuck in place when rapidly breaking crops, which is pretty bad because the player would often be running around when harvesting large fields.
I've tried many other ways to do this and none have even worked at all. "When block destroyed with tool" deletes the new crop before it is even placed, and I cannot figure out any other practical way.
I'm developing for 1.14, which is funny because there's a glitch in that version where trying to break a block with a sword in creative mode has a similar effect. These two things might be linked.
I also know, however, that this was patched in 1.15. (This was not patched in 1.15)
P.S (not really related)
Truth be told, I'm honestly thinking about just updating to 1.15 anyway... I have now updated to 1.15, and can say that this has probably been even worse than 1.12-1.14. 1.15 absolutely destroyed how entity rendering works, so a lot of my entities had to have extensive reworks. They also made posX/Y/Z PRIVATE so I had to change EVERY SINGLE INSTANCE of them. It was absolutely infuriating. This experience has again given me A LOT of respect for the MCreator devs that keep MCreator current. I can only imagine all the other changes that didn't affect me that they had to account for.