HMCWraps API
Toggle table of contents
1.6.3
jvm
Platform filter
jvm
Switch theme
Search in API
HMCWraps API
HMCWraps API
/
de.skyslycer.hmcwraps.wrap.modifiers.minecraft
/
ArmorImitationModifier
Armor
Imitation
Modifier
public
class
ArmorImitationModifier
implements
WrapModifier
Members
Constructors
Armor
Imitation
Modifier
Link copied to clipboard
public
void
ArmorImitationModifier
(
HMCWraps
plugin
)
Properties
SEPARATOR
Link copied to clipboard
public
final
static
String
SEPARATOR
Functions
get
Fake
Durability
Link copied to clipboard
public
int
getFakeDurability
(
ItemStack
item
)
Get the fake durability of the item stored in the PDC.
get
Fake
Max
Durability
Link copied to clipboard
public
int
getFakeMaxDurability
(
ItemStack
item
)
Get the fake max durability of the item stored in the PDC.
get
Original
Material
Link copied to clipboard
public
String
getOriginalMaterial
(
ItemStack
item
)
Get the original material.
set
Fake
Durability
Link copied to clipboard
public
void
setFakeDurability
(
ItemStack
item
,
int durability
)
Set the fake durability of the item in the PDC.
wrap
Link copied to clipboard
public
void
wrap
(
@
Nullable
(
)
@
Nullable
(
)
Wrap
wrap
,
@
Nullable
(
)
@
Nullable
(
)
Wrap
currentWrap
,
ItemStack
item
,
Player
player
)