Posted May 27, 20187 yr I didn't find anything specifically on this topic, so I decided to ask for assistance. I'm trying to test if a player is at the edge of a block, and I'm having issues doing so. Any help? I'm decently new to this, so an example/explanation would be amazing. Thanks! ~Darkwiiyou Edited May 27, 20187 yr by Darkwiiyou
May 28, 20187 yr I don't know off the top of my head, but best thing is to think if there is already a vanilla feature that does something similar. For example, since there is the feature that you can hold down shift and keep you from going over an edge there must be code there that would be useful. Or, conversely you can look at the code that checks to see when the player should fall. That should also give you a clue. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.