Started by
Skart2000
on
Topic category: Help with Minecraft modding (Java Edition)
I made a water mob but I have a problem: It swims so slowly. I've tried making it swim faster but its speed doesn't seem to change in water. How do I change it?
For whatever reason, MCreator doesn't allow you to change swim speed when you create an entity; however, there are separate "MOVEMENT_SPEED" and "SWIM_SPEED" values in the entity's code, if they are considered a water entity.
You just need to open up your entity's .java class in the code editor, change the value, and save and lock the code.
An alternative would be giving your entity the dolphin's grace status effect, but you may or may not like how its movement changes and kind of 'slides around' with the effect.
did you try that? because i did on 2020 did not worked.. i will try now since now on 2023 the dolphin grace also is not working too so idk...
ok so the swim speed works now :) we dont need dolphin grace schnelligans anymore
change here on the code: