Class CartographyWindow
java.lang.Object
de.studiocode.invui.window.impl.BaseWindow
de.studiocode.invui.window.impl.single.SingleWindow
de.studiocode.invui.window.impl.single.CartographyWindow
-
Field Summary
Fields inherited from class de.studiocode.invui.window.impl.single.SingleWindow
inventory -
Constructor Summary
ConstructorsConstructorDescriptionCartographyWindow(org.bukkit.entity.Player player, String title, GUI gui) CartographyWindow(org.bukkit.entity.Player player, String title, GUI gui, boolean closeable) CartographyWindow(org.bukkit.entity.Player player, net.md_5.bungee.api.chat.BaseComponent[] title, GUI gui) CartographyWindow(org.bukkit.entity.Player player, net.md_5.bungee.api.chat.BaseComponent[] title, GUI gui, boolean closeable) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleClick(org.bukkit.event.inventory.InventoryClickEvent event) voidresetMap()protected voidsetInvItem(int slot, org.bukkit.inventory.ItemStack itemStack) voidshow()Shows the window to the player.voidupdateMap(@Nullable de.studiocode.inventoryaccess.map.MapPatch patch, @Nullable List<de.studiocode.inventoryaccess.map.MapIcon> icons) voidupdateMap(de.studiocode.inventoryaccess.map.MapPatch patch) voidMethods inherited from class de.studiocode.invui.window.impl.single.SingleWindow
getGui, getGuiAt, getGuis, getInventories, getSlotElement, handleClosed, handleCursorCollect, handleItemShift, handleOpened, handleSlotElementUpdate, handleViewerDeath, initItemsMethods inherited from class de.studiocode.invui.window.impl.BaseWindow
addCloseHandler, changeTitle, changeTitle, close, closeForViewer, getCurrentViewer, getItemSlotElements, getViewer, getViewerUUID, getVISlotElements, handleClose, handleDrag, handleItemProviderUpdate, handleOpen, handleVirtualInventoryUpdate, isCloseable, isClosed, redrawItem, redrawItem, register, removeCloseHandler, setCloseable
-
Constructor Details
-
CartographyWindow
-
CartographyWindow
-
CartographyWindow
public CartographyWindow(org.bukkit.entity.Player player, net.md_5.bungee.api.chat.BaseComponent[] title, GUI gui) -
CartographyWindow
public CartographyWindow(org.bukkit.entity.Player player, net.md_5.bungee.api.chat.BaseComponent[] title, GUI gui, boolean closeable)
-
-
Method Details
-
updateMap
public void updateMap(@Nullable @Nullable de.studiocode.inventoryaccess.map.MapPatch patch, @Nullable @Nullable List<de.studiocode.inventoryaccess.map.MapIcon> icons) -
updateMap
public void updateMap(de.studiocode.inventoryaccess.map.MapPatch patch) -
updateMap
-
resetMap
public void resetMap() -
setInvItem
protected void setInvItem(int slot, org.bukkit.inventory.ItemStack itemStack) - Overrides:
setInvItemin classSingleWindow
-
handleClick
public void handleClick(org.bukkit.event.inventory.InventoryClickEvent event) Description copied from interface:Window- Specified by:
handleClickin interfaceWindow- Overrides:
handleClickin classSingleWindow- Parameters:
event- TheInventoryClickEventassociated with this action.
-
show
public void show()Description copied from interface:WindowShows the window to the player.- Specified by:
showin interfaceWindow- Overrides:
showin classBaseWindow
-