Package com.bergerkiller.bukkit.common.controller

Examples of com.bergerkiller.bukkit.common.controller.EntityInventoryController.bind()


  public EntityInventoryController<CommonEntity<T>> getInventoryController() {
    if (isHooked()) {
      return (EntityInventoryController<CommonEntity<T>>) getHandle(NMSEntityInventoryHook.class).getInventoryController();
    }
    final EntityInventoryController controller = new DefaultEntityInventoryController();
    controller.bind(this);
    return controller;
  }
}
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.