SerializableItem

@ConfigSerializable()
public class SerializableItem

Inheritors

Constructors

Link copied to clipboard
public void SerializableItem(String id, String name, @Nullable() @Nullable() Boolean glow, @Nullable() @Nullable() List<String> lore, @Nullable() @Nullable() List<String> flags, @Nullable() @Nullable() Integer modelId, @Nullable() @Nullable() Map<String, Integer> enchantments, @Nullable() @Nullable() Integer amount, @Nullable() @Nullable() String color, @Nullable() @Nullable() String nbt, @Nullable() @Nullable() Integer durability, @Nullable() @Nullable() String skullOwner, @Nullable() @Nullable() String skullTexture, @Nullable() @Nullable() String trim, @Nullable() @Nullable() String trimMaterial, @Nullable() @Nullable() String equippableSlot, @Nullable() @Nullable() String equippableModel)
public void SerializableItem(String id, String name, @Nullable() @Nullable() Boolean glow, @Nullable() @Nullable() List<String> lore, @Nullable() @Nullable() List<String> flags, @Nullable() @Nullable() Integer modelId, @Nullable() @Nullable() Map<String, Integer> enchantments, @Nullable() @Nullable() Integer amount, @Nullable() @Nullable() String color)
public void SerializableItem()

Properties

Link copied to clipboard
@Nullable()
public @Nullable() Integer amount
Link copied to clipboard
@Nullable()
public @Nullable() Integer durability
Link copied to clipboard
@Nullable()
public @Nullable() Map<String, Integer> enchantments
Link copied to clipboard
@Nullable()
public @Nullable() List<String> flags
Link copied to clipboard
public String id
Link copied to clipboard
@Nullable()
public @Nullable() List<String> lore
Link copied to clipboard
public String name
Link copied to clipboard
@Nullable()
public @Nullable() String nbt
Link copied to clipboard
@Nullable()
public @Nullable() String skullOwner
Link copied to clipboard
@Nullable()
public @Nullable() String skullTexture
Link copied to clipboard
@Nullable()
public @Nullable() String trim
Link copied to clipboard
@Nullable()
public @Nullable() String trimMaterial

Functions

Link copied to clipboard
@Nullable()
public @Nullable() Integer getAmount()
Link copied to clipboard
@Nullable()
public @Nullable() Color getColor()
Link copied to clipboard
@Nullable()
public @Nullable() Integer getDurability()
Link copied to clipboard
@Nullable()
public @Nullable() Map<String, Integer> getEnchantments()
Link copied to clipboard
@Nullable()
public @Nullable() NamespacedKey getEquippableModel()
Link copied to clipboard
@Nullable()
public EquipmentSlot getEquippableSlot()
Link copied to clipboard
@Nullable()
public @Nullable() List<String> getFlags()
Link copied to clipboard
public String getId()
Link copied to clipboard
@Nullable()
public @Nullable() List<String> getLore()
Link copied to clipboard
public int getModelId()
Link copied to clipboard
public String getName()
Link copied to clipboard
@Nullable()
public @Nullable() String getNbt()
Link copied to clipboard
@Nullable()
public @Nullable() String getSkullOwner()
Link copied to clipboard
@Nullable()
public @Nullable() String getSkullTexture()
Link copied to clipboard
@Nullable()
public @Nullable() String getTrim()
Link copied to clipboard
@Nullable()
public @Nullable() String getTrimMaterial()
Link copied to clipboard
@Nullable()
public @Nullable() Boolean isGlow()
Link copied to clipboard
public ItemStack toItem(HMCWraps plugin, Player player)
@NotNull()
public @NotNull() ItemStack toItem(HMCWraps plugin, Player player, Material newType)