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 org.bukkit
Fields in org.bukkit with type parameters of type PotionEffectTypeModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionMushroomCow.getStewEffectType()Gets the type of effect applied to stew from this mushroom cow is.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.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.voidLivingEntity.removePotionEffect(@NotNull PotionEffectType type) Removes any effects present of the givenPotionEffectType.voidMushroomCow.setStewEffect(PotionEffectType type) Sets the type of effect applied to stew from this mushroom cow is. -
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.potionFields 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 a raid when the player enters a village.
oof.static final PotionEffectTypePotionEffectType.BLINDNESSBlinds an entity.static final PotionEffectTypePotionEffectType.CONDUIT_POWEREffects granted by a nearby conduit.static final PotionEffectTypePotionEffectType.CONFUSIONWarps vision on the client.static final PotionEffectTypePotionEffectType.DAMAGE_RESISTANCEDecreases damage dealt to an entity.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.FAST_DIGGINGIncreases dig speed.static final PotionEffectTypePotionEffectType.FIRE_RESISTANCEStops fire damage.static final PotionEffectTypePotionEffectType.GLOWINGOutlines the entity so that it can be seen from afar.static final PotionEffectTypePotionEffectType.HARMHurts an entity.static final PotionEffectTypePotionEffectType.HEALHeals an entity.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.INCREASE_DAMAGEIncreases damage dealt.static final PotionEffectTypePotionEffectType.INVISIBILITYGrants invisibility.static final PotionEffectTypePotionEffectType.JUMPIncreases jump height.static final PotionEffectTypePotionEffectType.LEVITATIONCauses the entity to float into the air.static final PotionEffectTypePotionEffectType.LUCKLoot table luck.static final PotionEffectTypePotionEffectType.NIGHT_VISIONAllows an entity to see in the dark.static final PotionEffectTypePotionEffectType.POISONDeals damage to an entity over time.static final PotionEffectTypePotionEffectType.REGENERATIONRegenerates health.static final PotionEffectTypePotionEffectType.SATURATIONIncreases the food level of an entity each tick.static final PotionEffectTypePotionEffectType.SLOWDecreases movement speed.static final PotionEffectTypePotionEffectType.SLOW_DIGGINGDecreases dig speed.static final PotionEffectTypePotionEffectType.SLOW_FALLINGSlows entity fall rate.static final PotionEffectTypePotionEffectType.SPEEDIncreases movement speed.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.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) Deprecated.Magic valuestatic @Nullable PotionEffectTypePotionEffectType.getByKey(@Nullable NamespacedKey key) Gets the PotionEffectType at the specified keystatic @Nullable PotionEffectTypeGets the effect type specified by the given name.PotionType.getEffectType()PotionEffect.getType()Returns thePotionEffectTypeof this effect.PotionEffectTypeWrapper.getType()Get the potion type bound to this wrapper.static @NotNull PotionEffectType[]PotionEffectType.values()Returns an array of all the registeredPotionEffectTypes.Methods in org.bukkit.potion with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionPotionBrewer.createEffect(@NotNull PotionEffectType potion, int duration, int amplifier) Creates aPotionEffectfrom the givenPotionEffectType, applying duration modifiers and checks.static @Nullable PotionTypePotionType.getByEffect(@Nullable PotionEffectType effectType) Deprecated.Misleadingstatic voidPotionEffectType.registerPotionEffectType(@NotNull PotionEffectType type) Registers an effect type with the given object.PotionEffect.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.
PotionMeta.setBasePotionData(org.bukkit.potion.PotionData)