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.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 equipSound) Sets the equip sound key for this item.Sets the model key for this item.Equippable.Builder.swappable
(boolean swappable) Sets whether the item is swappable.