596061626364656667
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; } }