public class GUIConfiguration
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Map<java.lang.String,GUIItemConfiguration> |
guiItems |
protected int |
lines |
protected java.lang.String |
title |
构造器和说明 |
---|
GUIConfiguration(java.lang.String title,
int lines) |
GUIConfiguration(java.lang.String title,
int lines,
java.util.Map<java.lang.String,GUIItemConfiguration> guiItems) |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,GUIItemConfiguration> |
getGUIItems() |
GUIType |
getGUIType() |
int |
getLines() |
java.lang.String |
getTitle() |
static org.bukkit.event.inventory.ClickType |
readClickType(java.lang.String type) |
static GUIConfiguration |
readConfiguration(@Nullable org.bukkit.configuration.ConfigurationSection section) |
static java.util.Map<java.lang.String,GUIItemConfiguration> |
readItems(org.bukkit.configuration.ConfigurationSection itemsSection) |
@NotNull java.util.Map<java.lang.String,java.lang.Object> |
serialize() |
void |
setupItems(org.bukkit.entity.Player player,
GUI gui) |
protected java.lang.String title
protected int lines
protected java.util.Map<java.lang.String,GUIItemConfiguration> guiItems
public GUIConfiguration(java.lang.String title, int lines)
public GUIConfiguration(java.lang.String title, int lines, java.util.Map<java.lang.String,GUIItemConfiguration> guiItems)
public java.lang.String getTitle()
public int getLines()
public GUIType getGUIType()
public java.util.Map<java.lang.String,GUIItemConfiguration> getGUIItems()
public void setupItems(org.bukkit.entity.Player player, GUI gui)
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.Object> serialize()
public static GUIConfiguration readConfiguration(@Nullable @Nullable org.bukkit.configuration.ConfigurationSection section)
public static java.util.Map<java.lang.String,GUIItemConfiguration> readItems(org.bukkit.configuration.ConfigurationSection itemsSection)
public static org.bukkit.event.inventory.ClickType readClickType(java.lang.String type)
Copyright © 2024. All rights reserved.