public class GUIItemConfiguration
extends java.lang.Object
构造器和说明 |
---|
GUIItemConfiguration(@Nullable org.bukkit.inventory.ItemStack original,
@NotNull org.bukkit.Material type,
int amount,
int data,
@Nullable java.lang.String name,
@NotNull java.util.List<java.lang.String> lore,
@NotNull java.util.List<GUIActionConfiguration> actions,
@NotNull java.util.List<java.lang.Integer> slots) |
GUIItemConfiguration(@NotNull org.bukkit.Material type,
int amount,
int data,
@Nullable java.lang.String name,
@NotNull java.util.List<java.lang.String> lore,
@NotNull java.util.List<GUIActionConfiguration> actions,
@NotNull java.util.List<java.lang.Integer> slots) |
限定符和类型 | 方法和说明 |
---|---|
static @Nullable GUIItemConfiguration |
readFrom(@Nullable org.bukkit.configuration.ConfigurationSection itemSection) |
@NotNull java.util.Map<java.lang.String,java.lang.Object> |
serialize() |
void |
setupItems(org.bukkit.entity.Player player,
GUI gui) |
public GUIItemConfiguration(@NotNull @NotNull org.bukkit.Material type, int amount, int data, @Nullable @Nullable java.lang.String name, @NotNull @NotNull java.util.List<java.lang.String> lore, @NotNull @NotNull java.util.List<GUIActionConfiguration> actions, @NotNull @NotNull java.util.List<java.lang.Integer> slots)
public GUIItemConfiguration(@Nullable @Nullable org.bukkit.inventory.ItemStack original, @NotNull @NotNull org.bukkit.Material type, int amount, int data, @Nullable @Nullable java.lang.String name, @NotNull @NotNull java.util.List<java.lang.String> lore, @NotNull @NotNull java.util.List<GUIActionConfiguration> actions, @NotNull @NotNull java.util.List<java.lang.Integer> slots)
public void setupItems(org.bukkit.entity.Player player, GUI gui)
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.Object> serialize()
@Nullable public static @Nullable GUIItemConfiguration readFrom(@Nullable @Nullable org.bukkit.configuration.ConfigurationSection itemSection)
Copyright © 2024. All rights reserved.