Uses of Interface
io.papermc.paper.datacomponent.item.Equippable.Builder
Packages that use Equippable.Builder
-
Uses of Equippable.Builder in io.papermc.paper.datacomponent.item
Methods in io.papermc.paper.datacomponent.item that return Equippable.BuilderModifier 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.Equippable.Builder.equipOnInteract(boolean equipOnInteract) Sets whether the item should be equipped when interacting with an entity.static Equippable.BuilderEquippable.equippable(EquipmentSlot slot) Creates a newEquippable.Builderinstance.Equippable.Builder.equipSound(Key sound) Sets the equip sound key for this item.Equippable.Builder.swappable(boolean swappable) Sets whether the item is swappable.