Posted January 16, 201510 yr I would like to see an event for when an Entity (primarily a Player) is moving. The main reason for this is I want to change the players' movement speed based on the block the are walking on/through. I think it would be useful in many other applications as well.
January 16, 201510 yr Author I tried that, it doesn't work because you can move onto multiple blocks in less than a tick. It doesn't update fast enough so the effect is jerky and inaccurate.
January 16, 201510 yr Author Ideally, I would like to do this in the OnEntityWalking method on the blocks, but I can't change the vanilla ones. If there is a better way to accomplish what I want to do I am all ears. I find it difficult to believe there is no way to do this, and This event may not be the best way.
January 19, 201510 yr Author So is there a better event for me to check the surface that a player is walking on? There must be something, I can't imagine the game only knows if I have walked into a wall once every 1/20 of a sec.
January 19, 201510 yr Author You know what, I think it likely that this discussion is better placed in the Modder Support Thread. I will start a thread there to try and solve my problem.
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.