@Override public boolean isOnGround() { return base.isOnGround(); }
@Override public boolean isOnGround() { return e.isOnGround(); }
@Override public boolean isJumping() { Entity entity = getEntity(); return (entity != null && !entity.isOnGround()); }
@EventHandler public void onPlayerToggleGlide(EntityToggleGlideEvent event) { Entity entity = event.getEntity(); Mage mage = controller.getRegisteredMage(entity); if (mage != null && mage.isGlidingAllowed() && !event.isGliding() && !entity.isOnGround()) { event.setCancelled(true); Player player = mage.getPlayer(); if (player != null) { controller.addFlightExemption(player, 5000); } } }
if (this.entity.isOnGround()) { this.remove(); return;
if (isVelocitySent() && vectorY != null && (alwaysSendVelocity || !getEntity().isOnGround())) { Vector vector = getEntity().getVelocity(); !(vector.getY() < 0 && alwaysSendVelocity && getEntity().isOnGround())) { return; if (getType() != DisguiseType.EXPERIENCE_ORB || !getEntity().isOnGround()) { PacketContainer lookPacket = null;