Uses of Interface
io.papermc.paper.datacomponent.item.Equippable.Builder
-
Uses of Equippable.Builder in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionEquippable.Builder.allowedEntities
(@Nullable RegistryKeySet<EntityType> allowedEntities) Sets the allowed entities that can equip this item.Sets the asset id for this item.Equippable.Builder.cameraOverlay
(@Nullable Key cameraOverlay) Sets the camera overlay key for this item.Equippable.Builder.damageOnHurt
(boolean damageOnHurt) Sets whether the item takes damage when the wearer is hurt.Equippable.Builder.dispensable
(boolean dispensable) Sets whether the item is dispensable.static Equippable.Builder
Equippable.equippable
(EquipmentSlot slot) Creates a newEquippable.Builder
instance.Equippable.Builder.equipSound
(Key sound) Sets the equip sound key for this item.Equippable.Builder.swappable
(boolean swappable) Sets whether the item is swappable.