Uses of Class
top.magstar.framework.gui.utils.PagedGUIBuilder
Packages that use PagedGUIBuilder
-
Uses of PagedGUIBuilder in top.magstar.framework.gui.interfaces
Methods in top.magstar.framework.gui.interfaces with parameters of type PagedGUIBuilderModifier and TypeMethodDescription<T> PagedGUI<T> GUIFactory.buildChestPagedGUI(org.bukkit.plugin.Plugin instance, MagstarPlugin plugin, PagedGUIBuilder<T> builder) 构建基于箱子的分页GUI<T> PagedGUI<T> GUIFactory.buildPacketPagedGUI(org.bukkit.plugin.Plugin instance, MagstarPlugin plugin, PagedGUIBuilder<T> builder) 构建基于数据包的分页GUI -
Uses of PagedGUIBuilder in top.magstar.framework.gui.utils
Methods in top.magstar.framework.gui.utils that return PagedGUIBuilderModifier and TypeMethodDescriptionPagedGUIBuilder.allowPlayerInventory()允许玩家背包交互PagedGUIBuilder.allowPlayerInventory(boolean allow) 设置是否允许玩家背包交互PagedGUIBuilder.autoContentArea()自动计算内容区域(排除导航按钮和边框)PagedGUIBuilder.border(org.bukkit.inventory.ItemStack item) 设置边框物品PagedGUIBuilder.border(org.bukkit.Material material) 设置边框物品PagedGUIBuilder.border(org.bukkit.Material material, SmartString name) 设置边框物品 - 使用SmartString名称PagedGUIBuilder.compactLayout()使用紧凑布局(5行)PagedGUIBuilder.contentSlots(Integer... slots) 设置内容区域槽位PagedGUIBuilder.contentSlots(List<Integer> slots) 设置内容区域槽位PagedGUIBuilder.customFirstPageButton(Function<Boolean, org.bukkit.inventory.ItemStack> renderer) 自定义首页按钮渲染器PagedGUIBuilder.customLastPageButton(Function<Boolean, org.bukkit.inventory.ItemStack> renderer) 自定义末页按钮渲染器PagedGUIBuilder.customNextButton(Function<Boolean, org.bukkit.inventory.ItemStack> renderer) 自定义下一页按钮渲染器PagedGUIBuilder.customPageInfo(Function<PagedGUIBuilder.PageInfo, org.bukkit.inventory.ItemStack> renderer) 自定义页面信息渲染器PagedGUIBuilder.customPreviousButton(Function<Boolean, org.bukkit.inventory.ItemStack> renderer) 自定义上一页按钮渲染器PagedGUIBuilder.defaultLayout()使用默认6行布局PagedGUIBuilder.fill(org.bukkit.inventory.ItemStack item) 设置填充物品PagedGUIBuilder.fill(org.bukkit.Material material) 设置填充物品PagedGUIBuilder.fill(org.bukkit.Material material, SmartString name) 设置填充物品 - 使用SmartString名称PagedGUIBuilder.firstPageButton(int slot) 设置首页按钮槽位PagedGUIBuilder.itemRenderer(Function<T, org.bukkit.inventory.ItemStack> renderer) 设置物品渲染器设置要显示的物品列表final PagedGUIBuilder<T> 设置要显示的物品列表PagedGUIBuilder.itemsPerPage(int count) 设置每页显示的物品数量PagedGUIBuilder.lastPageButton(int slot) 设置末页按钮槽位PagedGUIBuilder.navigationButtons(int previous, int next, int info, int first, int last) 一次性设置所有导航按钮PagedGUIBuilder.nextButton(int slot) 设置下一页按钮槽位PagedGUIBuilder.onItemClick(BiConsumer<T, GUIClickEvent> handler) 设置物品点击处理器PagedGUIBuilder.pageInfo(int slot) 设置页面信息槽位PagedGUIBuilder.previousButton(int slot) 设置上一页按钮槽位PagedGUIBuilder.renderWith(Function<T, ItemBuilder> builderFunction) 快速设置物品渲染器 - 使用ItemBuilderPagedGUIBuilder.rows(int rows) 设置行数PagedGUIBuilder.simpleLayout()简单布局(只有上一页和下一页)设置标题PagedGUIBuilder.title(SmartString title) 设置标题 - 支持SmartString