Uses of Interface
io.papermc.paper.datacomponent.item.consumable.ConsumeEffect
Package
Description
-
Uses of ConsumeEffect in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionConsumable.Builder.addEffect
(ConsumeEffect effect) DeathProtection.Builder.addEffect
(ConsumeEffect effect) Modifier and TypeMethodDescriptionConsumable.Builder.addEffects
(List<ConsumeEffect> effects) DeathProtection.Builder.addEffects
(List<ConsumeEffect> effects) static DeathProtection
DeathProtection.deathProtection
(List<ConsumeEffect> deathEffects) -
Uses of ConsumeEffect in io.papermc.paper.datacomponent.item.consumable
Modifier and TypeInterfaceDescriptionstatic interface
Represents a consumable effect that applies effects based on a probability on consumption.static interface
Represents a consumable effect that clears all effects on consumption.static interface
Represents a consumable effect that plays a sound on consumption.static interface
Represents a consumable effect that removes status effects on consumptionstatic interface