Uses of Class
com.mclds.plugins.gui.items.ItemWrapper
Packages that use ItemWrapper
Package
Description
-
Uses of ItemWrapper in com.mclds.plugins.gui
Fields in com.mclds.plugins.gui with type parameters of type ItemWrapperMethods in com.mclds.plugins.gui that return ItemWrapperModifier and TypeMethodDescriptionBaseGui.get(char slot, int index) BaseGui.get(int index) BedrockGui.get(char slot, int index) BedrockGui.get(int index) Gui.get(int index) Methods in com.mclds.plugins.gui that return types with arguments of type ItemWrapperModifier and TypeMethodDescriptionabstract @NotNull Map<String, ItemWrapper> IndexMappingGui.getItemWrapperMapping(org.bukkit.entity.Player viewer) 获取物品映射,格式为:物品ID -> 物品包装器ListGui.DataProvider.onRender(org.bukkit.entity.Player viewer, int page, int size) Methods in com.mclds.plugins.gui with parameters of type ItemWrapperModifier and TypeMethodDescriptionBaseGui.append(char slot, ItemWrapper... item) BedrockGui.append(char slot, ItemWrapper... item) Gui.append(char slot, ItemWrapper... item) BaseGui.set(char slot, int slot_index, ItemWrapper item) BaseGui.set(char slot, ItemWrapper item) BaseGui.set(int slot, ItemWrapper item) BedrockGui.set(char slot, int slot_index, ItemWrapper item) BedrockGui.set(char slot, ItemWrapper item) BedrockGui.set(int slot, ItemWrapper item) Gui.set(char slot, int index, ItemWrapper item) Gui.set(char slot, ItemWrapper item) Gui.set(int slot, ItemWrapper item) ListGui.setExtraSlot(Integer key, ItemWrapper item) Method parameters in com.mclds.plugins.gui with type arguments of type ItemWrapperModifier and TypeMethodDescriptionstatic ListGuiListGui.of(String title, boolean large, int totalSize, List<ItemWrapper> items) static ListGuiListGui.of(String title, boolean large, List<ItemWrapper> items) BedrockGui.setItemsWrapper(List<ItemWrapper> items) -
Uses of ItemWrapper in com.mclds.plugins.gui.dialog
Methods in com.mclds.plugins.gui.dialog with parameters of type ItemWrapper -
Uses of ItemWrapper in com.mclds.plugins.gui.guis
Method parameters in com.mclds.plugins.gui.guis with type arguments of type ItemWrapperModifier and TypeMethodDescriptionNumberSelectorGui.setExtraItemWrappers(List<ItemWrapper> extraItemWrappers) -
Uses of ItemWrapper in com.mclds.plugins.gui.items
Methods in com.mclds.plugins.gui.items that return ItemWrapperModifier and TypeMethodDescriptionstatic ItemWrapperItemWrapper.air()ItemWrapper.amount(int amount) ItemWrapper.appendDoubleClickDescription(String doubleClickDescription) ItemWrapper.appendLeftClickDescription(String leftClickDescription) ItemWrapper.appendLore(String desc) ItemWrapper.appendLore(String desc, net.kyori.adventure.text.format.NamedTextColor color) ItemWrapper.appendMiddleClickDescription(String middleClickDescription) ItemWrapper.appendNewLine()ItemWrapper.appendRightClickDescription(String rightClickDescription) ItemWrapper.appendSeparatorLine()ItemWrapper.appendSeparatorLine(int length) ItemWrapper.appendShiftLeftClickDescription(String shiftLeftClickDescription) ItemWrapper.appendShiftRightClickDescription(String shiftRightClickDescription) ItemWrapper.appendSwapOffhandDescription(String swapOffhandDescription) ItemWrapper.bedrockButtonDesc(boolean useItemLoreAsBedrockButtonDesc) ItemWrapper.bedrockButtonDesc(String bedrockButtonDesc) ItemWrapper.bedrockButtonDesc(Function<ItemWrapper, String> supplier) ItemWrapper.bedrockButtonText(boolean useItemNameAsBedrockButtonText) ItemWrapper.bedrockButtonText(String bedrockButtonText) ItemWrapper.bedrockButtonText(Function<ItemWrapper, String> supplier) ItemWrapperSelectorBuilder.build()ItemWrapper.displayName(String name) ItemWrapper.displayName(net.kyori.adventure.text.Component name) ItemWrapper.lore(net.kyori.adventure.text.TextComponent... lore) static ItemWrapperItemWrapper.of(@NotNull org.bukkit.inventory.ItemStack itemStack) static ItemWrapperItemWrapper.of(org.bukkit.Material material) ItemWrapper.onDoubleClick(ItemWrapperClickCallback callback) ItemWrapper.onLeftClick(ItemWrapperClickCallback callback) ItemWrapper.onMiddleClick(ItemWrapperClickCallback callback) ItemWrapper.onRightClick(ItemWrapperClickCallback callback) ItemWrapper.onShiftLeftClick(ItemWrapperClickCallback callback) 使用 onShiftLeftClick 需要在 GUI.onMoveToPlayer 和 onMoveToGUI 返回 trueItemWrapper.onShiftRightClick(ItemWrapperClickCallback callback) 使用 onShiftRightClick 需要在 GUI.onMoveToPlayer 和 onMoveToGUI 返回 trueItemWrapper.onSwapOffhand(ItemWrapperClickCallback callback) ItemWrapper.setBedrockButtons(Map<String, ItemWrapperClickCallback> bedrockButtons) Methods in com.mclds.plugins.gui.items with parameters of type ItemWrapperModifier and TypeMethodDescriptionbooleanItemWrapperClickCallback.callback(org.bukkit.entity.Player player, ItemWrapper itemWrapper, int slot) Method parameters in com.mclds.plugins.gui.items with type arguments of type ItemWrapperModifier and TypeMethodDescriptionItemWrapper.bedrockButtonDesc(Function<ItemWrapper, String> supplier) ItemWrapper.bedrockButtonText(Function<ItemWrapper, String> supplier) -
Uses of ItemWrapper in com.mclds.plugins.server.plugins.guis
Methods in com.mclds.plugins.server.plugins.guis that return ItemWrapperModifier and TypeMethodDescriptionstatic ItemWrapperPlayerInfoGui.createFavoriteRealmsInfoButton(org.bukkit.inventory.ItemStack icon, boolean can_favorite_realm_see, org.bukkit.entity.Player viewer, org.bukkit.OfflinePlayer target, Set<Realm> favorite_realms, Gui previousPage) static ItemWrapperPlayerInfoGui.createJoinedRealmsInfoButton(org.bukkit.inventory.ItemStack icon, boolean can_joined_realm_see, org.bukkit.entity.Player viewer, org.bukkit.OfflinePlayer target, Set<Realm> joined_realms, Gui previousPage) static ItemWrapperPlayerInfoGui.createOwnedRealmsInfoButton(org.bukkit.inventory.ItemStack icon, boolean can_owned_realm_see, org.bukkit.entity.Player viewer, org.bukkit.OfflinePlayer target, List<Realm> realms, Gui previousPage) static ItemWrapperPlayerInfoGui.createPlayerCollectionInfoButton(org.bukkit.inventory.ItemStack icon, boolean can_collection_see, org.bukkit.entity.Player viewer, org.bukkit.OfflinePlayer target, Gui previousPage) static ItemWrapperPlayerInfoGui.createPlayerStatisticInfoButton(org.bukkit.inventory.ItemStack icon, org.bukkit.OfflinePlayer target) 创建玩家统计信息static ItemWrapperPlayerInfoGui.createTitlesChooseButton(org.bukkit.inventory.ItemStack icon, org.bukkit.entity.Player viewer, org.bukkit.OfflinePlayer target, Gui bindGui) Methods in com.mclds.plugins.server.plugins.guis that return types with arguments of type ItemWrapperModifier and TypeMethodDescription@NotNull Map<String, ItemWrapper> DashboardGui.getItemWrapperMapping(org.bukkit.entity.Player viewer) @NotNull Map<String, ItemWrapper> PlayerInfoGui.getItemWrapperMapping(org.bukkit.entity.Player viewer)