Examples of MemberCoalUsedEvent


Examples of com.bergerkiller.bukkit.tc.events.MemberCoalUsedEvent

   * Checks if new coal can be used
   *
   * @return True if new coal can be put into the powered minecart, False if not
   */
  public boolean onCoalUsed() {
    MemberCoalUsedEvent event = MemberCoalUsedEvent.call(this);
    if (event.useCoal()) {
      return this.getCoalFromNeighbours();
    }
    return event.refill();
  }
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.