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.potion
Modifier and TypeMethodDescriptionstatic @NotNull SuspiciousEffectEntry
SuspiciousEffectEntry.create
(@NotNull 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.