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 SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic Consumable.Builder@org.checkerframework.checker.index.qual.NonNegative floatbooleansound()Methods inherited from interface io.papermc.paper.datacomponent.BuildableDataComponenttoBuilder
- 
Method Details- 
consumable
- 
consumeSeconds
- 
animation
- 
sound
- 
hasConsumeParticles
- 
consumeEffects
 
-