ArmorImitationModifier

public class ArmorImitationModifier implements WrapModifier

Constructors

Link copied to clipboard
public void ArmorImitationModifier(HMCWraps plugin)

Properties

Link copied to clipboard
public final static String SEPARATOR

Functions

Link copied to clipboard
public int getFakeDurability(ItemStack item)
Get the fake durability of the item stored in the PDC.
Link copied to clipboard
public int getFakeMaxDurability(ItemStack item)
Get the fake max durability of the item stored in the PDC.
Link copied to clipboard
public String getOriginalMaterial(ItemStack item)
Get the original material.
Link copied to clipboard
public void setFakeDurability(ItemStack item, int durability)
Set the fake durability of the item in the PDC.
Link copied to clipboard
public void wrap(@Nullable() @Nullable() Wrap wrap, @Nullable() @Nullable() Wrap currentWrap, ItemStack item, Player player)