(F1.14/1.15) Cancelling "Block Broken" Global Trigger Resets Player Velocity

Started by rmsandegs on Fri, 11/06/2020 - 20:32

Topic category: Help with modding (Java Edition)

Last seen on 05:02, 22. Jan 2021
Joined May 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
(F1.14/1.15) Cancelling "Block Broken" Global Trigger Resets Player Velocity
Sun, 11/08/2020 - 05:33 (edited)

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.

Edited by rmsandegs on Sun, 11/08/2020 - 05:33
Last seen on 11:04, 22. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Cancel action is built-in…
Sat, 11/07/2020 - 09:10

Cancel action is built-in Forge event bus so probably it is designed this way or there is a bug there, which we can't fix.

Last seen on 05:02, 22. Jan 2021
Joined May 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I figured as much. Yesterday…
Sun, 11/08/2020 - 05:23

I figured as much. Yesterday and today I sunk some hours into updating my mod to 1.15, and unfortunately this issue was not fixed. I suppose I'll just have to figure out another way.