@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());
 }
Example #2
0
 /*
  * 1_9_R2 : by()
  */
 public boolean canPassengerSteer() {
   return handle.bA();
 }
Example #3
0
 public void setStepHeight(float stepHeight) {
   handle.P = stepHeight;
 }