Editing Vanilla Elytra Behavior

Started by Diggon on

Topic category: Help with modding (Java Edition)

Last seen on 20:30, 22. May 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Editing Vanilla Elytra Behavior

I'm new to modding and I don't know the limitations of this program. Are users able to edit vanilla behaviors?

More specifically, I'd like to make a mod that removes firework rocket boosting and temporarily disables elytra when shot. Would something like this be possible with mcreator, or should I look elsewhere?

Last seen on 01:18, 28. Mar 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try making a…
Mon, 05/23/2022 - 16:47

You could try making a procedure that uses the global trigger "When player right clicks with item" then have a check for item in armor slot ID: 2 (Helm:3 , Chest:2, Legs:1, Boots:0) then another check for "Item in main/off hand" and if its elytra / firework then under advanced there is a block called "Cancel event that triggered global trigger" which would cancel the right click event. As far as stopping elytra flying, there aren't any cancelable triggers, there is a block called "Make entity fly" which might work, you would have to test it. If that doesn't work then the only thing I could think of is using custom code element.