MCPcopy Create free account
hub / github.com/boxbeam/RedLib / InventoryGUI

Method InventoryGUI

src/redempt/redlib/inventorygui/InventoryGUI.java:64–67  ·  view source on GitHub ↗

Creates a new GUI from an inventory @param inventory The inventory to create a GUI from

(Inventory inventory)

Source from the content-addressed store, hash-verified

62 * @param inventory The inventory to create a GUI from
63 */
64 public InventoryGUI(Inventory inventory) {
65 this.inventory = inventory;
66 Bukkit.getPluginManager().registerEvents(this, RedLib.getInstance());
67 }
68
69 /**
70 * Creates a new GUI, instantiating a new inventory with the given size and name

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.95

Tested by

no test coverage detected