Uses of Interface
io.papermc.paper.potion.SuspiciousEffectEntry
Packages that use SuspiciousEffectEntry
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.The interfaces used when manipulating extra data can can be stored inside
item stacks
.-
Uses of SuspiciousEffectEntry in io.papermc.paper.datacomponent.item
Methods in io.papermc.paper.datacomponent.item that return types with arguments of type SuspiciousEffectEntryModifier and TypeMethodDescription@Unmodifiable List
<SuspiciousEffectEntry> SuspiciousStewEffects.effects()
Effects that will be applied when consuming Suspicious Stew.Methods in io.papermc.paper.datacomponent.item with parameters of type SuspiciousEffectEntryModifier and TypeMethodDescriptionSuspiciousStewEffects.Builder.add
(SuspiciousEffectEntry entry) Adds an effect applied to this builder.Method parameters in io.papermc.paper.datacomponent.item with type arguments of type SuspiciousEffectEntryModifier and TypeMethodDescriptionSuspiciousStewEffects.Builder.addAll
(Collection<SuspiciousEffectEntry> entries) Adds effects applied to this builder.static SuspiciousStewEffects
SuspiciousStewEffects.suspiciousStewEffects
(Collection<SuspiciousEffectEntry> effects) -
Uses of SuspiciousEffectEntry in io.papermc.paper.potion
Methods in io.papermc.paper.potion that return SuspiciousEffectEntryModifier and TypeMethodDescriptionstatic SuspiciousEffectEntry
SuspiciousEffectEntry.create
(PotionEffectType effectType, int duration) Creates a new instance of SuspiciousEffectEntry. -
Uses of SuspiciousEffectEntry in org.bukkit.entity
Methods in org.bukkit.entity that return types with arguments of type SuspiciousEffectEntryModifier and TypeMethodDescription@NotNull @Unmodifiable List
<SuspiciousEffectEntry> MushroomCow.getStewEffects()
Returns an immutable collection of the effects applied to stew items for this mushroom cow.Methods in org.bukkit.entity with parameters of type SuspiciousEffectEntryModifier and TypeMethodDescriptionboolean
MushroomCow.addEffectToNextStew
(SuspiciousEffectEntry suspiciousEffectEntry, boolean overwrite) Adds a suspicious effect entry to be applied to the next suspicious stew received from milking thisMushroomCow
.Method parameters in org.bukkit.entity with type arguments of type SuspiciousEffectEntryModifier and TypeMethodDescriptionvoid
MushroomCow.setStewEffects
(@NotNull List<SuspiciousEffectEntry> effects) Sets effects applied to stew items for this mushroom cow. -
Uses of SuspiciousEffectEntry in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta with parameters of type SuspiciousEffectEntryModifier and TypeMethodDescriptionboolean
SuspiciousStewMeta.addCustomEffect
(SuspiciousEffectEntry suspiciousEffectEntry, boolean overwrite) Adds a custom potion effect to this suspicious stew.