Equippable
Allows items to be worn in armor slots.
Parameters
The equipment texture to use, or null for no texture.
The slot in which the item can be worn.
The amount of armor this item provides.
The amount of armor toughness this item provides.
The amount of knockback resistance this item provides.
The sound that is played when the item is equipped.
The entity types that are allowed to wear this item, or null for all entities.
Whether this item can be dispensed from a dispenser.
Whether this item can be swapped with other items in the same slot.
Whether this item will be damaged when the wearing entity is damaged.
Constructors
Properties
The entity types that are allowed to wear this item.
The amount of armor toughness this item provides.
The base data components that every item with this ItemBehavior has.
Whether this item will be damaged when the wearing entity is damaged.
The NamespacedCompound that every new ItemStack of an item with this ItemBehavior has by default.
The data component patch that every new ItemStack of an item with this ItemBehavior has by default.
Whether this item can be dispensed from a dispenser.
The sound that is played when the item is equipped.
The amount of knockback resistance this item provides.
The vanilla material properties that an item with this ItemBehavior requires.
Functions
Creates a string representation of this ItemBehavior and its data in itemStack.