Class GUIView
java.lang.Object
de.placeblock.betterinventories.gui.GUIView
A GUIView is created for each player who opens an inventory.
-
Constructor Summary
ConstructorsConstructorDescriptionGUIView(org.bukkit.entity.Player player, org.bukkit.inventory.Inventory inventory) Creates a new GUIView -
Method Summary
-
Constructor Details
-
GUIView
public GUIView(org.bukkit.entity.Player player, org.bukkit.inventory.Inventory inventory) Creates a new GUIView- Parameters:
player- The Player of this Viewinventory- The Bukkit Inventory of this View
-
-
Method Details
-
update
Gets called when the new rendered content should be showed to the player. Updates only changing items in the player's inventory.- Parameters:
content- The new rendered content. The size of the list should be equals the slots in the inventory.
-