Esempio n. 1
0
 @Override
 public void collide(net.minecraft.server.v1_10_R1.Entity entity) {
   // this method is called by both the entities involved - cancelling
   // it will not stop the NPC from moving.
   super.collide(entity);
   if (npc != null) Util.callCollisionEvent(npc, entity.getBukkitEntity());
 }
Esempio n. 2
0
 /*
  * 1_9_R2 : by()
  */
 public boolean canPassengerSteer() {
   return handle.bA();
 }
Esempio n. 3
0
 public void setStepHeight(float stepHeight) {
   handle.P = stepHeight;
 }