Class TeleportGUIButton
java.lang.Object
de.placeblock.betterinventories.content.GUISection
de.placeblock.betterinventories.content.item.GUIItem
de.placeblock.betterinventories.content.item.GUIButton
de.placeblock.betterinventories.content.item.impl.TeleportGUIButton
- All Implemented Interfaces:
Sizeable
A
GUIButton which automatically teleports the player to a specific Location-
Nested Class Summary
Nested classes/interfaces inherited from class de.placeblock.betterinventories.content.GUISection
GUISection.SearchData -
Field Summary
Fields inherited from class de.placeblock.betterinventories.content.item.GUIItem
BUTTON_SIZE, itemStackFields inherited from class de.placeblock.betterinventories.content.GUISection
maxSize, minSize -
Constructor Summary
ConstructorsConstructorDescriptionTeleportGUIButton(GUI gui, org.bukkit.inventory.ItemStack item, org.bukkit.Location location) Creates a new TeleportGUIButton -
Method Summary
Methods inherited from class de.placeblock.betterinventories.content.item.GUIButton
applyCooldown, click, hasPermission, onItemClick, onLeftClick, onRightClick, onShiftClick, onShiftLeftClick, onShiftRightClick, setCooldownMethods inherited from class de.placeblock.betterinventories.content.item.GUIItem
onItemAdd, onItemAmount, onItemRemove, render, search, searchMethods inherited from class de.placeblock.betterinventories.content.GUISection
getEmptyContentList, getHeight, getSlots, getWidth, setSize, slotToVector, vectorToSlotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.placeblock.betterinventories.Sizeable
clampSize, getMaxSize, getMinSize, getSize
-
Constructor Details
-
TeleportGUIButton
public TeleportGUIButton(GUI gui, org.bukkit.inventory.ItemStack item, org.bukkit.Location location) Creates a new TeleportGUIButton- Parameters:
gui- The GUIitem- The ItemStack of the GUIButtonlocation- The location to which the player is teleported
-
-
Method Details