Uses of Class
org.bukkit.potion.PotionEffectType
-
Packages that use PotionEffectType Package Description org.bukkit.block Classes used to manipulate the voxels in aworld, including special states.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.org.bukkit.event.entity org.bukkit.inventory.meta The interfaces used when manipulating extra data can can be stored insideitem stacks.org.bukkit.potion Classes to represent variouspotionproperties and manipulation. -
-
Uses of PotionEffectType in org.bukkit.block
Methods in org.bukkit.block with parameters of type PotionEffectType Modifier and Type Method Description voidBeacon. 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 with parameters of type PotionEffectType Modifier and Type Method Description @Nullable PotionEffectLivingEntity. 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. -
Uses of PotionEffectType in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return PotionEffectType Modifier and Type Method Description @NotNull PotionEffectTypeEntityPotionEffectEvent. 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 PotionEffectType Modifier and Type Method Description booleanPotionMeta. 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.usePotionType(org.bukkit.potion.PotionEffectType, boolean, boolean) -
Uses of PotionEffectType in org.bukkit.potion
Subclasses of PotionEffectType in org.bukkit.potion Modifier and Type Class Description classPotionEffectTypeWrapperFields in org.bukkit.potion declared as PotionEffectType Modifier and Type Field Description static PotionEffectTypePotionEffectType. ABSORPTIONIncreases the maximum health of an entity with health that cannot be regenerated, but is refilled every 30 seconds.static PotionEffectTypePotionEffectType. BAD_OMENoof.static PotionEffectTypePotionEffectType. BLINDNESSBlinds an entity.static PotionEffectTypePotionEffectType. CONDUIT_POWEREffects granted by a nearby conduit.static PotionEffectTypePotionEffectType. CONFUSIONWarps vision on the client.static PotionEffectTypePotionEffectType. DAMAGE_RESISTANCEDecreases damage dealt to an entity.static PotionEffectTypePotionEffectType. DOLPHINS_GRACESquee'ek uh'k kk'kkkk squeek eee'eek.static PotionEffectTypePotionEffectType. FAST_DIGGINGIncreases dig speed.static PotionEffectTypePotionEffectType. FIRE_RESISTANCEStops fire damage.static PotionEffectTypePotionEffectType. GLOWINGOutlines the entity so that it can be seen from afar.static PotionEffectTypePotionEffectType. HARMHurts an entity.static PotionEffectTypePotionEffectType. HEALHeals an entity.static PotionEffectTypePotionEffectType. HEALTH_BOOSTIncreases the maximum health of an entity.static PotionEffectTypePotionEffectType. HERO_OF_THE_VILLAGE\o/.static PotionEffectTypePotionEffectType. HUNGERIncreases hunger.static PotionEffectTypePotionEffectType. INCREASE_DAMAGEIncreases damage dealt.static PotionEffectTypePotionEffectType. INVISIBILITYGrants invisibility.static PotionEffectTypePotionEffectType. JUMPIncreases jump height.static PotionEffectTypePotionEffectType. LEVITATIONCauses the entity to float into the air.static PotionEffectTypePotionEffectType. LUCKLoot table luck.static PotionEffectTypePotionEffectType. NIGHT_VISIONAllows an entity to see in the dark.static PotionEffectTypePotionEffectType. POISONDeals damage to an entity over time.static PotionEffectTypePotionEffectType. REGENERATIONRegenerates health.static PotionEffectTypePotionEffectType. SATURATIONIncreases the food level of an entity each tick.static PotionEffectTypePotionEffectType. SLOWDecreases movement speed.static PotionEffectTypePotionEffectType. SLOW_DIGGINGDecreases dig speed.static PotionEffectTypePotionEffectType. SLOW_FALLINGSlows entity fall rate.static PotionEffectTypePotionEffectType. SPEEDIncreases movement speed.static PotionEffectTypePotionEffectType. UNLUCKLoot table unluck.static PotionEffectTypePotionEffectType. WATER_BREATHINGAllows breathing underwater.static PotionEffectTypePotionEffectType. WEAKNESSDecreases damage dealt by an entity.static PotionEffectTypePotionEffectType. WITHERDeals damage to an entity over time and gives the health to the shooter.Methods in org.bukkit.potion that return PotionEffectType Modifier and Type Method Description static @Nullable PotionEffectTypePotionEffectType. getById(int id)Deprecated.Magic valuestatic @Nullable PotionEffectTypePotionEffectType. getByName(@NotNull String name)Gets the effect type specified by the given name.@Nullable PotionEffectTypePotionType. getEffectType()@NotNull PotionEffectTypePotionEffect. getType()Returns thePotionEffectTypeof this effect.@NotNull PotionEffectTypePotionEffectTypeWrapper. 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 PotionEffectType Modifier and Type Method Description @NotNull PotionEffectPotionBrewer. 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.Constructors in org.bukkit.potion with parameters of type PotionEffectType Constructor Description PotionEffect(@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.
-