Package com.bergerkiller.bukkit.tc

Examples of com.bergerkiller.bukkit.tc.CollisionMode.execute()


  public boolean onEntityCollision(Entity e) {
    if (!this.isInteractable()) {
      return false;
    }
    CollisionMode mode = this.getGroup().getProperties().getCollisionMode(e);
    if (!mode.execute(this, e)) {
      return false;
    }
    // Collision occurred, collided head-on? Stop the entire train
    if (this.isHeadingTo(e)) {
      this.getGroup().stop();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.