Ejemplo n.º 1
0
 @Override
 public synchronized boolean isActive() {
   MainPlayerEntity player = bot.getPlayer();
   if (player == null) return false;
   return !player.isOnGround();
 }
 public PlayerMoveRotateEvent(
     MainPlayerEntity entity, double x, double y, double z, double yaw, double pitch) {
   super(entity, x, y, z, yaw, pitch, entity.isOnGround());
 }