Uses of Interface
io.papermc.paper.potion.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
Modifier and TypeMethodDescriptionSuspiciousStewEffects.effects()
Effects that will be applied when consuming Suspicious Stew.Modifier and TypeMethodDescriptionSuspiciousStewEffects.Builder.add
(SuspiciousEffectEntry entry) Adds an effect applied to this builder.Modifier 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
Modifier and TypeMethodDescriptionstatic SuspiciousEffectEntry
SuspiciousEffectEntry.create
(PotionEffectType effectType, int duration) Creates a new instance of SuspiciousEffectEntry. -
Uses of SuspiciousEffectEntry in org.bukkit.entity
Modifier and TypeMethodDescriptionMushroomCow.getStewEffects()
Returns an immutable collection of the effects applied to stew items for this mushroom cow.Modifier 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
.Modifier 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
Modifier and TypeMethodDescriptionboolean
SuspiciousStewMeta.addCustomEffect
(SuspiciousEffectEntry suspiciousEffectEntry, boolean overwrite) Adds a custom potion effect to this suspicious stew.