ArmorModifiers

public enum ArmorModifiers

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
public final class ArmorValues extends Record

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final int knockback
Link copied to clipboard
public final int toughness

Functions

Link copied to clipboard
public static void applyAttributes(ItemStack item, EquipmentSlot slot, int toughness, int knockback, int defense)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public static ArmorModifiers getFromMaterial(String material)
Link copied to clipboard
public int getKnockback()
Link copied to clipboard
public int getToughness()
Link copied to clipboard
public static ItemStack removeAttributes(ItemStack item)
Link copied to clipboard
public static ArmorModifiers valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<ArmorModifiers> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.