Started by
Rivalz
on
Topic category: Help with Minecraft modding (Java Edition)
Hi there everybody! Newbie here, I wanted to know if it is possible to create a new effect and if it is possible could you please explain me.
I want to make a mod that when you wear a special type of boots you cannot jump.
Thanks in advance for the replies! :)
Whitout coding, in any mcreator version lower to 2021.2, Is realy hard
In 2021.2 effects are Easy to do because there's a entire section for make it's (like a living Entity, block, item, etc)
effect active tick
procedure: override motion of event target entity to get X velocity 0 get Z velocity
Thanks a lot for the help!
So I have clicked potion effect and I have left two unchecked boxes (good and bad effect) because I don't think that I need that for my mod.
After that I went to triggers and pressed the plus button for "when effect started/applied" now I am at procedure and I have added the "attempt to overrite motion vector of Event/target entity" and it has 3 variables Vx,Vy,Vz. I know that I need to set Vz to 0 like this my character wont be able to jump. But I don't know how to not overwrite Vx and Vy
Sorry if my problem is dumb this is the first time that I am making a mod.
no, set Vy to 0 and Vx to Get X Movement of Event Target entity and Vz to Get Z Movement of Event Target Entity
I have run into another problem I have done the visual and properties part of the armor but now I am at the triggers part and I get "not supported"
Never mind I am dumb, fabric plugin doesn't allow me to do that.
Anyway thanks a lot for helping me RexCerv :)