Posted October 13, 20178 yr I wanted to make an item that gives you speed boost. First, I tried it with potions, and that didn't work. Other effects like Haste worked, but not Speed. So i googled my problem and found some solutions.. that didn't work for me. When I give myself the item (and go into survival mode etc... what I've specified there) the game crashes OR just nothing happens. No crash, but also no effects. I currently use this: (events) https://hastebin.com/okogemecor.java With this, i can give me the item and the game freezes for a few seconds... then, nothing happens anymore. I also tried it in the TickEvent.WorldTickEvent event, and that gave me the speed effect for just one or two ticks, then the game crashed. (Ticking world) pls halp!111
October 14, 20178 yr Or you can just do EntityPlayer::capabilities#setPlayerWalkSpeed(Float... amount);
October 14, 20178 yr 2 minutes ago, diesieben07 said: No, please don't do this. It's terrible for any kind of compatibility. Sorry Thanks for telling me.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.