Interface InventoryBased
- All Superinterfaces:
org.bukkit.inventory.InventoryHolder
- All Known Implementing Classes:
AnvilGui,BarrelGui,BeaconGui,BlastFurnaceGui,BrewingStandGui,CartographyTableGui,ChestGui,CraftingTableGui,DispenserGui,DropperGui,EnchantingTableGui,EnderChestGui,FurnaceGui,GrindstoneGui,HopperGui,ShulkerBoxGui,SmithingTableGui,SmokerGui,StonecutterGui
public interface InventoryBased
extends org.bukkit.inventory.InventoryHolder
-
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.inventory.InventoryCreates a new inventory of the type of the implementing class.Methods inherited from interface org.bukkit.inventory.InventoryHolder
getInventory
-
Method Details
-
createInventory
@NotNull @Contract(pure=true) @NotNull org.bukkit.inventory.Inventory createInventory()Creates a new inventory of the type of the implementing class.- Returns:
- the new inventory
- Since:
- 0.10.0
-