toggle menu
HMCWraps API
1.5.1
jvm
switch theme
search in API
HMCWraps API
/
de.skyslycer.hmcwraps.serialization.wrap
/
PhysicalWrap
Physical
Wrap
@
ConfigSerializable
(
)
public
class
PhysicalWrap
extends
SerializableItem
Members
Constructors
Physical
Wrap
Link copied to clipboard
public
void
PhysicalWrap
(
String
id
,
String
name
,
@
Nullable
(
)
@
Nullable
(
)
Boolean
glow
,
@
Nullable
(
)
@
Nullable
(
)
List
<
String
>
lore
,
@
Nullable
(
)
@
Nullable
(
)
Integer
modelId
)
public
void
PhysicalWrap
(
)
Properties
amount
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Integer
amount
durability
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Integer
durability
enchantments
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Map
<
String
,
Integer
>
enchantments
flags
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
List
<
String
>
flags
id
Link copied to clipboard
public
String
id
lore
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
List
<
String
>
lore
name
Link copied to clipboard
public
String
name
nbt
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
nbt
skull
Owner
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
skullOwner
skull
Texture
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
skullTexture
trim
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
trim
trim
Material
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
trimMaterial
Functions
get
Amount
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Integer
getAmount
(
)
get
Color
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Color
getColor
(
)
get
Durability
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Integer
getDurability
(
)
get
Enchantments
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Map
<
String
,
Integer
>
getEnchantments
(
)
get
Equippable
Model
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
NamespacedKey
getEquippableModel
(
)
get
Equippable
Slot
Link copied to clipboard
@
Nullable
(
)
public
EquipmentSlot
getEquippableSlot
(
)
get
Flags
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
List
<
String
>
getFlags
(
)
get
Id
Link copied to clipboard
public
String
getId
(
)
get
Lore
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
List
<
String
>
getLore
(
)
get
Model
Id
Link copied to clipboard
public
int
getModelId
(
)
get
Name
Link copied to clipboard
public
String
getName
(
)
get
Nbt
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
getNbt
(
)
get
Skull
Owner
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
getSkullOwner
(
)
get
Skull
Texture
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
getSkullTexture
(
)
get
Trim
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
getTrim
(
)
get
Trim
Material
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
getTrimMaterial
(
)
is
Glow
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Boolean
isGlow
(
)
is
Keep
After
Unwrap
Link copied to clipboard
public
boolean
isKeepAfterUnwrap
(
)
to
Item
Link copied to clipboard
public
ItemStack
toItem
(
HMCWraps
plugin
,
Player
player
)
@
NotNull
(
)
public
@
NotNull
(
)
ItemStack
toItem
(
HMCWraps
plugin
,
Player
player
,
Material newType
)