Uses of Class
org.bukkit.potion.PotionEffectType
Packages that use PotionEffectType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world,
including special states.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.Classes to represent various
potion
properties and manipulation.-
Uses of PotionEffectType in io.papermc.paper.event.player
Methods in io.papermc.paper.event.player that return PotionEffectTypeModifier and TypeMethodDescriptionPlayerChangeBeaconEffectEvent.getPrimary()PlayerChangeBeaconEffectEvent.getSecondary()Methods in io.papermc.paper.event.player with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionvoidPlayerChangeBeaconEffectEvent.setPrimary(@Nullable PotionEffectType primary) Sets the primary effectvoidPlayerChangeBeaconEffectEvent.setSecondary(@Nullable PotionEffectType secondary) Sets the secondary effectConstructors in io.papermc.paper.event.player with parameters of type PotionEffectTypeModifierConstructorDescriptionPlayerChangeBeaconEffectEvent(@NotNull Player player, @Nullable PotionEffectType primary, @Nullable PotionEffectType secondary, @NotNull Block beacon) -
Uses of PotionEffectType in io.papermc.paper.potion
Methods in io.papermc.paper.potion that return PotionEffectTypeMethods in io.papermc.paper.potion with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionstatic @NotNull SuspiciousEffectEntrySuspiciousEffectEntry.create(@NotNull PotionEffectType effectType, int duration) Creates a new instance of SuspiciousEffectEntry. -
Uses of PotionEffectType in io.papermc.paper.registry
Fields in io.papermc.paper.registry with type parameters of type PotionEffectTypeModifier and TypeFieldDescriptionstatic final RegistryKey<PotionEffectType> RegistryKey.MOB_EFFECTBuilt-in registry for potion effect types (mob effects). -
Uses of PotionEffectType in io.papermc.paper.registry.keys
Fields in io.papermc.paper.registry.keys with type parameters of type PotionEffectTypeModifier and TypeFieldDescriptionstatic final TypedKey<PotionEffectType> MobEffectKeys.ABSORPTIONminecraft:absorptionstatic final TypedKey<PotionEffectType> MobEffectKeys.BAD_OMENminecraft:bad_omenstatic final TypedKey<PotionEffectType> MobEffectKeys.BLINDNESSminecraft:blindnessstatic final TypedKey<PotionEffectType> MobEffectKeys.CONDUIT_POWERminecraft:conduit_powerstatic final TypedKey<PotionEffectType> MobEffectKeys.DARKNESSminecraft:darknessstatic final TypedKey<PotionEffectType> MobEffectKeys.DOLPHINS_GRACEminecraft:dolphins_gracestatic final TypedKey<PotionEffectType> MobEffectKeys.FIRE_RESISTANCEminecraft:fire_resistancestatic final TypedKey<PotionEffectType> MobEffectKeys.GLOWINGminecraft:glowingstatic final TypedKey<PotionEffectType> MobEffectKeys.HASTEminecraft:hastestatic final TypedKey<PotionEffectType> MobEffectKeys.HEALTH_BOOSTminecraft:health_booststatic final TypedKey<PotionEffectType> MobEffectKeys.HERO_OF_THE_VILLAGEminecraft:hero_of_the_villagestatic final TypedKey<PotionEffectType> MobEffectKeys.HUNGERminecraft:hungerstatic final TypedKey<PotionEffectType> MobEffectKeys.INFESTEDminecraft:infestedstatic final TypedKey<PotionEffectType> MobEffectKeys.INSTANT_DAMAGEminecraft:instant_damagestatic final TypedKey<PotionEffectType> MobEffectKeys.INSTANT_HEALTHminecraft:instant_healthstatic final TypedKey<PotionEffectType> MobEffectKeys.INVISIBILITYminecraft:invisibilitystatic final TypedKey<PotionEffectType> MobEffectKeys.JUMP_BOOSTminecraft:jump_booststatic final TypedKey<PotionEffectType> MobEffectKeys.LEVITATIONminecraft:levitationstatic final TypedKey<PotionEffectType> MobEffectKeys.LUCKminecraft:luckstatic final TypedKey<PotionEffectType> MobEffectKeys.MINING_FATIGUEminecraft:mining_fatiguestatic final TypedKey<PotionEffectType> MobEffectKeys.NAUSEAminecraft:nauseastatic final TypedKey<PotionEffectType> MobEffectKeys.NIGHT_VISIONminecraft:night_visionstatic final TypedKey<PotionEffectType> MobEffectKeys.OOZINGminecraft:oozingstatic final TypedKey<PotionEffectType> MobEffectKeys.POISONminecraft:poisonstatic final TypedKey<PotionEffectType> MobEffectKeys.RAID_OMENminecraft:raid_omenstatic final TypedKey<PotionEffectType> MobEffectKeys.REGENERATIONminecraft:regenerationstatic final TypedKey<PotionEffectType> MobEffectKeys.RESISTANCEminecraft:resistancestatic final TypedKey<PotionEffectType> MobEffectKeys.SATURATIONminecraft:saturationstatic final TypedKey<PotionEffectType> MobEffectKeys.SLOW_FALLINGminecraft:slow_fallingstatic final TypedKey<PotionEffectType> MobEffectKeys.SLOWNESSminecraft:slownessstatic final TypedKey<PotionEffectType> MobEffectKeys.SPEEDminecraft:speedstatic final TypedKey<PotionEffectType> MobEffectKeys.STRENGTHminecraft:strengthstatic final TypedKey<PotionEffectType> MobEffectKeys.TRIAL_OMENminecraft:trial_omenstatic final TypedKey<PotionEffectType> MobEffectKeys.UNLUCKminecraft:unluckstatic final TypedKey<PotionEffectType> MobEffectKeys.WATER_BREATHINGminecraft:water_breathingstatic final TypedKey<PotionEffectType> MobEffectKeys.WEAKNESSminecraft:weaknessstatic final TypedKey<PotionEffectType> MobEffectKeys.WEAVINGminecraft:weavingstatic final TypedKey<PotionEffectType> MobEffectKeys.WIND_CHARGEDminecraft:wind_chargedstatic final TypedKey<PotionEffectType> MobEffectKeys.WITHERminecraft:wither -
Uses of PotionEffectType in org.bukkit
Fields in org.bukkit with type parameters of type PotionEffectTypeModifier and TypeFieldDescriptionstatic final Registry<PotionEffectType> Registry.EFFECTServer mob effects.static final Registry<PotionEffectType> Registry.POTION_EFFECT_TYPEPotion effect types. -
Uses of PotionEffectType in org.bukkit.block
Methods in org.bukkit.block with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionvoidBeacon.setPrimaryEffect(@Nullable PotionEffectType effect) Set the primary effect on this beacon, or null to clear.voidBeacon.setSecondaryEffect(@Nullable PotionEffectType effect) Set the secondary effect on this beacon, or null to clear. -
Uses of PotionEffectType in org.bukkit.entity
Methods in org.bukkit.entity that return PotionEffectTypeModifier and TypeMethodDescriptiondefault PotionEffectTypeMushroomCow.getStewEffectType()Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.bukkit.entity with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionLivingEntity.getPotionEffect(@NotNull PotionEffectType type) Returns the activePotionEffectof the specified type.booleanAreaEffectCloud.hasCustomEffect(@Nullable PotionEffectType type) Checks for a specific custom potion effect type on this cloud.booleanArrow.hasCustomEffect(@Nullable PotionEffectType type) Checks for a specific custom potion effect type on this arrow.booleanMushroomCow.hasEffectForNextStew(@NotNull PotionEffectType type) Checks for a specific custom potion effect type to be applied to the next suspicious stew received from milking thisMushroomCow.booleanLivingEntity.hasPotionEffect(@NotNull PotionEffectType type) Returns whether the living entity already has an existing effect of the givenPotionEffectTypeapplied to it.booleanAreaEffectCloud.removeCustomEffect(@NotNull PotionEffectType type) Removes a custom potion effect from this cloud.booleanArrow.removeCustomEffect(@NotNull PotionEffectType type) Removes a custom potion effect from this arrow.booleanMushroomCow.removeEffectFromNextStew(@NotNull PotionEffectType type) Removes a custom potion effect from being applied to the next suspicious stew received from milking thisMushroomCow.voidLivingEntity.removePotionEffect(@NotNull PotionEffectType type) Removes any effects present of the givenPotionEffectType.voidPlayer.sendPotionEffectChangeRemove(@NotNull LivingEntity entity, @NotNull PotionEffectType type) Remove a potion effect for the target entity.default voidMushroomCow.setStewEffect(PotionEffectType type) Deprecated, for removal: This API element is subject to removal in a future version.Mushroom cows can now hold multiple effects, useMushroomCow.setStewEffects(java.util.List) -
Uses of PotionEffectType in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return PotionEffectTypeModifier and TypeMethodDescriptionEntityPotionEffectEvent.getModifiedType()Gets the modified potion effect type. -
Uses of PotionEffectType in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionbooleanPotionMeta.hasCustomEffect(@NotNull PotionEffectType type) Checks for a specific custom potion effect type on this potion.booleanSuspiciousStewMeta.hasCustomEffect(@NotNull PotionEffectType type) Checks for a specific custom potion effect type on this suspicious stew.booleanPotionMeta.removeCustomEffect(@NotNull PotionEffectType type) Removes a custom potion effect from this potion.booleanSuspiciousStewMeta.removeCustomEffect(@NotNull PotionEffectType type) Removes a custom potion effect from this suspicious stew.booleanPotionMeta.setMainEffect(@NotNull PotionEffectType type) Deprecated. -
Uses of PotionEffectType in org.bukkit.potion
Subclasses of PotionEffectType in org.bukkit.potionModifier and TypeClassDescriptionclassDeprecated.only for backwards compatibility, PotionEffectTypeWrapper is no longer used.Fields in org.bukkit.potion declared as PotionEffectTypeModifier and TypeFieldDescriptionstatic final PotionEffectTypePotionEffectType.ABSORPTIONIncreases the maximum health of an entity with health that cannot be regenerated, but is refilled every 30 seconds.static final PotionEffectTypePotionEffectType.BAD_OMENTriggers an ominous event when the player enters a village or trial chambers.
oof.static final PotionEffectTypePotionEffectType.BLINDNESSBlinds an entity.static final PotionEffectTypePotionEffectType.CONDUIT_POWEREffects granted by a nearby conduit.static final PotionEffectTypePotionEffectType.DARKNESSCauses the player's vision to dim occasionally.static final PotionEffectTypePotionEffectType.DOLPHINS_GRACEIncreses underwater movement speed.
Squee'ek uh'k kk'kkkk squeek eee'eek.static final PotionEffectTypePotionEffectType.FIRE_RESISTANCEStops fire damage.static final PotionEffectTypePotionEffectType.GLOWINGOutlines the entity so that it can be seen from afar.static final PotionEffectTypePotionEffectType.HASTEIncreases dig speed.static final PotionEffectTypePotionEffectType.HEALTH_BOOSTIncreases the maximum health of an entity.static final PotionEffectTypePotionEffectType.HERO_OF_THE_VILLAGEReduces the cost of villager trades.
\o/.static final PotionEffectTypePotionEffectType.HUNGERIncreases hunger.static final PotionEffectTypePotionEffectType.INFESTEDChance of spawning silverfish when hurt.static final PotionEffectTypePotionEffectType.INSTANT_DAMAGEHurts an entity.static final PotionEffectTypePotionEffectType.INSTANT_HEALTHHeals an entity.static final PotionEffectTypePotionEffectType.INVISIBILITYGrants invisibility.static final PotionEffectTypePotionEffectType.JUMP_BOOSTIncreases jump height.static final PotionEffectTypePotionEffectType.LEVITATIONCauses the entity to float into the air.static final PotionEffectTypePotionEffectType.LUCKLoot table luck.static final PotionEffectTypePotionEffectType.MINING_FATIGUEDecreases dig speed.static final PotionEffectTypePotionEffectType.NAUSEAWarps vision on the client.static final PotionEffectTypePotionEffectType.NIGHT_VISIONAllows an entity to see in the dark.static final PotionEffectTypePotionEffectType.OOZINGCauses slimes to spawn upon death.static final PotionEffectTypePotionEffectType.POISONDeals damage to an entity over time.static final PotionEffectTypePotionEffectType.RAID_OMENTriggers a raid when a player enters a village.static final PotionEffectTypePotionEffectType.REGENERATIONRegenerates health.static final PotionEffectTypePotionEffectType.RESISTANCEDecreases damage dealt to an entity.static final PotionEffectTypePotionEffectType.SATURATIONIncreases the food level of an entity each tick.static final PotionEffectTypePotionEffectType.SLOW_FALLINGSlows entity fall rate.static final PotionEffectTypePotionEffectType.SLOWNESSDecreases movement speed.static final PotionEffectTypePotionEffectType.SPEEDIncreases movement speed.static final PotionEffectTypePotionEffectType.STRENGTHIncreases damage dealt.static final PotionEffectTypePotionEffectType.TRIAL_OMENCauses trial spawners to become ominous.static final PotionEffectTypePotionEffectType.UNLUCKLoot table unluck.static final PotionEffectTypePotionEffectType.WATER_BREATHINGAllows breathing underwater.static final PotionEffectTypePotionEffectType.WEAKNESSDecreases damage dealt by an entity.static final PotionEffectTypePotionEffectType.WEAVINGCreates cobwebs upon death.static final PotionEffectTypePotionEffectType.WIND_CHARGEDEmits a wind burst upon death.static final PotionEffectTypePotionEffectType.WITHERDeals damage to an entity over time and gives the health to the shooter.Methods in org.bukkit.potion that return PotionEffectTypeModifier and TypeMethodDescriptionstatic @Nullable PotionEffectTypePotionEffectType.getById(int id) Gets the effect type specified by the unique id.static @Nullable PotionEffectTypePotionEffectType.getByKey(@Nullable NamespacedKey key) Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.static @Nullable PotionEffectTypeDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.PotionType.getEffectType()Deprecated.Potions can have multiple effects usePotionType.getPotionEffects()PotionType.InternalPotionData.getEffectType()Deprecated.PotionEffect.getType()Returns thePotionEffectTypeof this effect.PotionEffectTypeWrapper.getType()Deprecated.Get the potion type bound to this wrapper.static @NotNull PotionEffectType[]PotionEffectType.values()Deprecated.useIterable.iterator().Methods in org.bukkit.potion with parameters of type PotionEffectTypeModifier and TypeMethodDescriptiondefault @NotNull PotionEffectPotionBrewer.createEffect(@NotNull PotionEffectType potion, int duration, int amplifier) Deprecated, for removal: This API element is subject to removal in a future version.usecreateEffect(int, int)instead.static @Nullable PotionTypePotionType.getByEffect(@Nullable PotionEffectType effectType) Deprecated.MisleadingPotionEffect.withType(@NotNull PotionEffectType type) Constructors in org.bukkit.potion with parameters of type PotionEffectTypeModifierConstructorDescriptionPotionEffect(@NotNull PotionEffectType type, int duration, int amplifier) Creates a potion effect.PotionEffect(@NotNull PotionEffectType type, int duration, int amplifier, boolean ambient) Creates a potion effect.PotionEffect(@NotNull PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles) Creates a potion effect with no defined color.PotionEffect(@NotNull PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles, boolean icon) Creates a potion effect.
MushroomCow.getStewEffects()