Package com.bergerkiller.bukkit.tc.events

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

Related Classes of com.bergerkiller.bukkit.tc.events.MemberCoalUsedEvent

Copyright © 2018 www.massapicom. 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.