Wrap

@ConfigSerializable()
public class Wrap extends SerializableItem

Constructors

Link copied to clipboard
public void Wrap(String id, String name, @Nullable() @Nullable() Boolean glow, @Nullable() @Nullable() List<String> lore, @Nullable() @Nullable() Integer modelId, String uuid, @Nullable() @Nullable() PhysicalWrap physical, @Nullable() @Nullable() String permission, @Nullable() @Nullable() InventoryItem lockedItem)
public void Wrap(String id, String name, @Nullable() @Nullable() List<String> lore, @Nullable() @Nullable() Integer modelId, String uuid, @Nullable() @Nullable() String color, Integer amount, @Nullable() @Nullable() List<String> flags, @Nullable() @Nullable() Map<String, Integer> enchantments)
public void Wrap()

Types

Link copied to clipboard
public final class WrapValues extends Record

Properties

Link copied to clipboard
@Nullable()
public @Nullable() HashMap<String, HashMap<String, List<String>>> actions
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() InventoryItem equippedItem
Link copied to clipboard
@Nullable()
public @Nullable() List<String> flags
Link copied to clipboard
public String id
Link copied to clipboard
@Nullable()
public @Nullable() HashMap<String, HashMap<String, List<String>>> inventoryActions
Link copied to clipboard
@Nullable()
public @Nullable() InventoryItem lockedItem
Link copied to clipboard
@Nullable()
public @Nullable() List<String> lockedLore
Link copied to clipboard
@Nullable()
public @Nullable() String lockedName
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 permission
Link copied to clipboard
@Nullable()
public @Nullable() PhysicalWrap physical
Link copied to clipboard
@Nullable()
public @Nullable() RangeSettings range
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() Integer sort
Link copied to clipboard
@Nullable()
public @Nullable() String trim
Link copied to clipboard
@Nullable()
public @Nullable() String trimMaterial
Link copied to clipboard
public String uuid
Link copied to clipboard
@Nullable()
public @Nullable() Integer wrapDurability
Link copied to clipboard
@Nullable()
public @Nullable() List<String> wrapFlags
Link copied to clipboard
@Nullable()
public @Nullable() List<String> wrapLore
Link copied to clipboard
@Nullable()
public @Nullable() String wrapName
Link copied to clipboard
@Nullable()
public @Nullable() String wrapNbt

Functions

Link copied to clipboard
@Nullable()
public @Nullable() HashMap<String, HashMap<String, List<String>>> getActions()
Link copied to clipboard
@Nullable()
public @Nullable() Integer getAmount()
Link copied to clipboard
@Nullable()
public @Nullable() String getArmorImitationType()
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() InventoryItem getEquippedItem()
Link copied to clipboard
@Nullable()
public @Nullable() List<String> getFlags()
Link copied to clipboard
public String getId()
Link copied to clipboard
@Nullable()
public @Nullable() HashMap<String, HashMap<String, List<String>>> getInventoryActions()
Link copied to clipboard
@Nullable()
public @Nullable() InventoryItem getLockedItem()
Link copied to clipboard
@Nullable()
public @Nullable() List<String> getLockedLore()
Link copied to clipboard
@Nullable()
public @Nullable() String getLockedName()
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 getPermission()
Link copied to clipboard
@Nullable()
public @Nullable() PhysicalWrap getPhysical()
Link copied to clipboard
@Nullable()
public @Nullable() RangeSettings getRange()
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() Integer getSort()
Link copied to clipboard
@Nullable()
public @Nullable() String getTrim()
Link copied to clipboard
@Nullable()
public @Nullable() String getTrimMaterial()
Link copied to clipboard
public String getUuid()
Link copied to clipboard
@Nullable()
public @Nullable() Integer getWrapDurability()
Link copied to clipboard
@Nullable()
public @Nullable() List<String> getWrapFlags()
Link copied to clipboard
@Nullable()
public @Nullable() List<String> getWrapLore()
Link copied to clipboard
@Nullable()
public @Nullable() String getWrapName()
Link copied to clipboard
@Nullable()
public @Nullable() String getWrapNbt()
Link copied to clipboard
public boolean hasPermission(CommandSender sender)
Link copied to clipboard
@Nullable()
public @Nullable() Boolean isApplyNameOnlyEmpty()
Link copied to clipboard
@Nullable()
public @Nullable() Boolean isGlow()
Link copied to clipboard
public Boolean isPreview()
Link copied to clipboard
@Nullable()
public @Nullable() Boolean isUpsideDownPreview()
Link copied to clipboard
public ItemStack toItem(HMCWraps plugin, Player player)
@NotNull()
public @NotNull() ItemStack toItem(HMCWraps plugin, Player player, Material newType)
Link copied to clipboard
public ItemStack toPermissionItem(HMCWraps plugin, Material type, Player player)