public class ConfiguredItem
extends cc.carm.lib.configuration.core.value.type.ConfiguredSection<org.bukkit.inventory.ItemStack>
限定符和类型 | 字段和说明 |
---|---|
protected @NotNull java.lang.String[] |
params |
构造器和说明 |
---|
ConfiguredItem(@NotNull cc.carm.lib.configuration.core.value.ValueManifest<org.bukkit.inventory.ItemStack> manifest,
@NotNull java.lang.String[] params) |
限定符和类型 | 方法和说明 |
---|---|
static ItemConfigBuilder |
create() |
@Nullable org.bukkit.inventory.ItemStack |
get() |
@Nullable org.bukkit.inventory.ItemStack |
get(java.util.function.Consumer<org.bukkit.inventory.ItemStack> modifier) |
@Nullable org.bukkit.inventory.ItemStack |
get(@Nullable org.bukkit.entity.Player player) |
@Nullable org.bukkit.inventory.ItemStack |
get(@Nullable org.bukkit.entity.Player player,
@NotNull java.util.Map<java.lang.String,java.lang.Object> placeholders) |
@Nullable org.bukkit.inventory.ItemStack |
get(@Nullable org.bukkit.entity.Player player,
java.lang.Object... values) |
@Nullable org.bukkit.inventory.ItemStack |
get(@Nullable org.bukkit.entity.Player player,
@NotNull java.lang.String[] params,
@NotNull java.lang.Object[] values) |
@NotNull java.util.Optional<org.bukkit.inventory.ItemStack> |
getOptional() |
@NotNull java.lang.String[] |
getParams() |
void |
modifyItem(java.util.function.Consumer<org.bukkit.inventory.ItemStack> modifier) |
void |
modifyMeta(java.util.function.Consumer<org.bukkit.inventory.meta.ItemMeta> modifier) |
@NotNull PreparedItem |
prepare(java.lang.Object... values) |
void |
setLore(@Nullable java.util.List<java.lang.String> lore) |
void |
setLore(java.lang.String... lore) |
void |
setName(@Nullable java.lang.String name) |
builderOf, getParser, getSerializer, getValueClass, set
getCachedOrDefault, getCachedOrDefault, getCachedValue, getDefaultFirst, isExpired, updateCache
builder, getNotNull, getOrDefault, initialize, isDefault, setDefault, setDefault
public ConfiguredItem(@NotNull @NotNull cc.carm.lib.configuration.core.value.ValueManifest<org.bukkit.inventory.ItemStack> manifest, @NotNull @NotNull java.lang.String[] params)
public static ItemConfigBuilder create()
@NotNull public @NotNull java.lang.String[] getParams()
@NotNull public @NotNull java.util.Optional<org.bukkit.inventory.ItemStack> getOptional()
getOptional
在类中 cc.carm.lib.configuration.core.value.ConfigValue<org.bukkit.inventory.ItemStack>
@Nullable public @Nullable org.bukkit.inventory.ItemStack get()
get
在类中 cc.carm.lib.configuration.core.value.type.ConfiguredSection<org.bukkit.inventory.ItemStack>
@Nullable public @Nullable org.bukkit.inventory.ItemStack get(java.util.function.Consumer<org.bukkit.inventory.ItemStack> modifier)
@NotNull public @NotNull PreparedItem prepare(@NotNull java.lang.Object... values)
@Nullable public @Nullable org.bukkit.inventory.ItemStack get(@Nullable @Nullable org.bukkit.entity.Player player)
@Nullable public @Nullable org.bukkit.inventory.ItemStack get(@Nullable @Nullable org.bukkit.entity.Player player, @NotNull java.lang.Object... values)
@Nullable public @Nullable org.bukkit.inventory.ItemStack get(@Nullable @Nullable org.bukkit.entity.Player player, @NotNull @NotNull java.lang.String[] params, @NotNull @NotNull java.lang.Object[] values)
@Nullable public @Nullable org.bukkit.inventory.ItemStack get(@Nullable @Nullable org.bukkit.entity.Player player, @NotNull @NotNull java.util.Map<java.lang.String,java.lang.Object> placeholders)
public void modifyItem(java.util.function.Consumer<org.bukkit.inventory.ItemStack> modifier)
public void modifyMeta(java.util.function.Consumer<org.bukkit.inventory.meta.ItemMeta> modifier)
public void setName(@Nullable @Nullable java.lang.String name)
public void setLore(@Nullable @Nullable java.util.List<java.lang.String> lore)
public void setLore(java.lang.String... lore)
Copyright © 2024. All rights reserved.