Movement mechanics

Started by Dioxann on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Movement mechanics

I'm trying to make a mobility-based combat mod where different key combinations (i.e, holding R and pressing Space would launch the player up along the target, R + Sprint would be a dash, R + Crouch would be a ground slam) but for whatever reason the trigger key isn't executing the procedure. I've done debugging and figured out that the attributes are registering which means the keybinds are too, but something is keeping the procedure from firing. the way it works is when you hold down a "Modifier" key, it sets an attribute to 1, and when you press the "Trigger" key, it checks for what attributes are set to 1 then runs the attack program from there. I know there is something where nbt data doesn't sync with the server sometimes, but previous projects have show it to be not too much of an issue