Interface Consumable
- All Superinterfaces:
BuildableDataComponent<Consumable,
Consumable.Builder>
@NullMarked
@Experimental
@NonExtendable
public interface Consumable
extends BuildableDataComponent<Consumable,Consumable.Builder>
Holds the properties for this item for when it is consumed.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Consumable.Builder
@org.checkerframework.checker.index.qual.NonNegative float
boolean
sound()
Methods inherited from interface io.papermc.paper.datacomponent.BuildableDataComponent
toBuilder
-
Method Details
-
consumable
-
consumeSeconds
-
animation
-
sound
-
hasConsumeParticles
-
consumeEffects
-