Posted October 31, 20159 yr Hi, i'm using the PlayerTickEvent and want to get the block on which the player stands. Does anyone know how to get the block?
October 31, 20159 yr Author I get the position but how do i get the block below? Code: @SubscribeEvent public void onPlayerTick(TickEvent.PlayerTickEvent e) { if(e.player.getPosition().) { } }
November 1, 20159 yr If you want to be special specific, look at the method moveEntity in entity.class , that's where it handles things like stepsounds for blocks you're walking on "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
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.