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.All classes related to effects from the Consumable Component.
Package for
InventoryView child interfaces that
house further usability for InventoryView.Classes to represent various
potion
properties and manipulation.-
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. -
Uses of PotionEffectType in org.bukkit.block
Methods in org.bukkit.block with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionvoidBeacon.setPrimaryEffect(PotionEffectType effect) Set the primary effect on this beacon, or null to clear.voidBeacon.setSecondaryEffect(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 with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionLivingEntity.getPotionEffect(PotionEffectType type) Returns the activePotionEffectof the specified type.booleanAreaEffectCloud.hasCustomEffect(PotionEffectType type) Checks for a specific custom potion effect type on this cloud.booleanArrow.hasCustomEffect(PotionEffectType type) Checks for a specific custom potion effect type on this arrow.booleanMushroomCow.hasEffectForNextStew(PotionEffectType type) Checks for a specific custom potion effect type to be applied to the next suspicious stew received from milking thisMushroomCow.booleanLivingEntity.hasPotionEffect(PotionEffectType type) Returns whether the living entity already has an existing effect of the givenPotionEffectTypeapplied to it.booleanAreaEffectCloud.removeCustomEffect(PotionEffectType type) Removes a custom potion effect from this cloud.booleanArrow.removeCustomEffect(PotionEffectType type) Removes a custom potion effect from this arrow.booleanMushroomCow.removeEffectFromNextStew(PotionEffectType type) Removes a custom potion effect from being applied to the next suspicious stew received from milking thisMushroomCow.voidLivingEntity.removePotionEffect(PotionEffectType type) Removes any effects present of the givenPotionEffectType.voidPlayer.sendPotionEffectChangeRemove(LivingEntity entity, PotionEffectType type) Remove a potion effect for the target entity. -
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(PotionEffectType type) Checks for a specific custom potion effect type on this potion.booleanSuspiciousStewMeta.hasCustomEffect(PotionEffectType type) Checks for a specific custom potion effect type on this suspicious stew.booleanPotionMeta.removeCustomEffect(PotionEffectType type) Removes a custom potion effect from this potion.booleanSuspiciousStewMeta.removeCustomEffect(PotionEffectType type) Removes a custom potion effect from this suspicious stew.booleanPotionMeta.setMainEffect(PotionEffectType type) Deprecated. -
Uses of PotionEffectType in org.bukkit.inventory.meta.components.consumable.effects
Methods in org.bukkit.inventory.meta.components.consumable.effects that return PotionEffectTypeModifier and TypeMethodDescriptionConsumableRemoveEffect.addEffectType(PotionEffectType effect) Adds an effect which may be applied by this item when consumed.Methods in org.bukkit.inventory.meta.components.consumable.effects that return types with arguments of type PotionEffectTypeModifier and TypeMethodDescriptionConsumableRemoveEffect.getEffectTypes()Gets the effects which may be removed by this item when consumed.Methods in org.bukkit.inventory.meta.components.consumable.effects with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionConsumableRemoveEffect.addEffectType(PotionEffectType effect) Adds an effect which may be applied by this item when consumed.Method parameters in org.bukkit.inventory.meta.components.consumable.effects with type arguments of type PotionEffectTypeModifier and TypeMethodDescriptionvoidConsumableRemoveEffect.setEffectTypes(List<PotionEffectType> effects) Sets the effects which may be removed by this item when consumed. -
Uses of PotionEffectType in org.bukkit.inventory.view
Methods in org.bukkit.inventory.view that return PotionEffectTypeModifier and TypeMethodDescriptionBeaconView.getPrimaryEffect()Gets the primary effect of the beacon.BeaconView.getSecondaryEffect()Gets the secondary effect of the beacon.Methods in org.bukkit.inventory.view with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionvoidBeaconView.setPrimaryEffect(PotionEffectType effect) Sets the primary effect of the beacon, or null to clearvoidBeaconView.setSecondaryEffect(PotionEffectType effect) Sets the secondary effect on this beacon, or null to clear. -
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 PotionEffectTypePotionEffectType.getById(int id) Deprecated.Magic valuestatic PotionEffectTypePotionEffectType.getByKey(NamespacedKey key) Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.static 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 PotionEffectType[]PotionEffectType.values()Deprecated.useIterable.iterator().Methods in org.bukkit.potion with parameters of type PotionEffectTypeModifier and TypeMethodDescriptionPotionBrewer.createEffect(PotionEffectType potion, int duration, int amplifier) Creates aPotionEffectfrom the givenPotionEffectType, applying duration modifiers and checks.static PotionTypePotionType.getByEffect(PotionEffectType effectType) Deprecated.MisleadingConstructors in org.bukkit.potion with parameters of type PotionEffectTypeModifierConstructorDescriptionPotionEffect(PotionEffectType type, int duration, int amplifier) Creates a potion effect.PotionEffect(PotionEffectType type, int duration, int amplifier, boolean ambient) Creates a potion effect.PotionEffect(PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles) Creates a potion effect with no defined color.PotionEffect(PotionEffectType type, int duration, int amplifier, boolean ambient, boolean particles, boolean icon) Creates a potion effect.
PotionMeta.setBasePotionType(org.bukkit.potion.PotionType)