MCPcopy Create free account
hub / github.com/Teneted/Tenet / createInventory

Method createInventory

src/main/java/org/bukkit/Server.java:862–862  ·  view source on GitHub ↗

Creates an empty inventory with the specified type. If the type is InventoryType#CHEST, the new inventory has a size of 27; otherwise the new inventory has the normal size for its type. InventoryType#WORKBENCH will not process crafting recipes if created with this method. Use {@

(@Nullable InventoryHolder owner, @NotNull InventoryType type)

Source from the content-addressed store, hash-verified

860 * @see InventoryType#isCreatable()
861 */
862 @NotNull
863 Inventory createInventory(@Nullable InventoryHolder owner, @NotNull InventoryType type);
864
865 /**

Callers 1

createInventoryMethod · 0.65

Implementers 2

CraftServersrc/main/java/org/bukkit/craftbukkit/v
Bukkitsrc/main/java/org/bukkit/Bukkit.java

Calls

no outgoing calls

Tested by

no test coverage detected