Posted May 12, 20169 yr Quick question(I think.) How can I create something to allow the player to climb up walls, like a spider would? This was from a book I had read earlier but this book was written for 1.8: public class WallClimb { @SubscribeEvent public void climbWall(LivingUpdateEvent event) { if (!(event.getEntity() instanceof EntityPlayer)) { return; } if (!event.getEntity().isCollidedHorizontally) { return; } event.getEntity().motionY = 0.5; } }
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.