Equippable
constructor(equipment: Provider<Equipment?>, slot: Provider<EquipmentSlot>, armor: Provider<Double>, armorToughness: Provider<Double>, knockbackResistance: Provider<Double>, equipSound: Provider<Holder<SoundEvent>>, allowedEntities: Provider<Set<EntityType>?>, dispensable: Provider<Boolean>, swappable: Provider<Boolean>, damageOnHurt: Provider<Boolean>)
Parameters
equipment
The equipment texture to use, or null for no texture.
slot
The slot in which the item can be worn.
armor
The amount of armor this item provides.
armorToughness
The amount of armor toughness this item provides.
knockbackResistance
The amount of knockback resistance this item provides.
equipSound
The sound that is played when the item is equipped.
allowedEntities
The entity types that are allowed to wear this item, or null for all entities.
dispensable
Whether this item can be dispensed from a dispenser.
swappable
Whether this item can be swapped with other items in the same slot.
damageOnHurt
Whether this item will be damaged when the wearing entity is damaged.