Started by
CaiGuyCrafter
on
Topic category: Help with Minecraft modding (Java Edition)
So, I'm using DTM toolkit in my mod, and it works great for multiplying damage and defense and stuff like that, but it doesn't seem to have a speed editor... Meaning that I want to edit the player's speed on certain conditions. Say the player puts on a pair of boots, I want it to basically make the player slower without giving an effect. Then, when the player increases their speed stat to enough, the speed dampening will eventually go away. I hope I explained clearly. Is there a way to do this? Thanks!
the only way i know how is speed/slowness potions with no particles
Thanks, but yeah, it's not really what I'm looking for.
You need to change the SharedMonsterAttributes.movementSpeed modifier and change it depending on the conditions. At the moment this is only possible by changing the code
Oh, thanks so much! Where can I find this in the code? Is there somewhere specific I have to go, or do I just add this in in a custom element?
Any information on where I can find or replicate SharedMonsterAttributes.movementSpeed?