@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGHEST) public void onInventoryOpen(InventoryOpenEvent event) { if (event.getInventory() instanceof EnderChest) { event.setCancelled(true); } }
@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGH) public void onInventoryOpen(InventoryOpenEvent event) { if (event.getInventory() instanceof EnderChest) { event.setCancelled(true); } }
public EnderChest() { }
public EnderChest(BlockFace direction) { }
@Deprecated public EnderChest(int type) { }
public EnderChest(Material type) { }
@Deprecated public EnderChest(int type, byte data) { }
@Deprecated public EnderChest(Material type, byte data) { }
public EnderChest clone() { return null; }