| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PotionEffectType | |
|---|---|
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a world, including all players, monsters, projectiles, etc. | 
| org.bukkit.inventory.meta | The interfaces used when manipulating extra data can can be stored inside item stacks. | 
| org.bukkit.potion | Classes to represent various potionproperties and manipulation. | 
| Uses of PotionEffectType in org.bukkit.entity | 
|---|
| Methods in org.bukkit.entity with parameters of type PotionEffectType | |
|---|---|
|  boolean | LivingEntity.hasPotionEffect(PotionEffectType type)Returns whether the entity already has an existing effect of the given PotionEffectTypeapplied to it. | 
|  void | LivingEntity.removePotionEffect(PotionEffectType type)Removes any effects present of the given PotionEffectType. | 
| Uses of PotionEffectType in org.bukkit.inventory.meta | 
|---|
| Methods in org.bukkit.inventory.meta with parameters of type PotionEffectType | |
|---|---|
|  boolean | PotionMeta.hasCustomEffect(PotionEffectType type)Checks for a specific custom potion effect type on this potion. | 
|  boolean | PotionMeta.removeCustomEffect(PotionEffectType type)Removes a custom potion effect from this potion. | 
|  boolean | PotionMeta.setMainEffect(PotionEffectType type)Moves a potion effect to the top of the potion effect list. | 
| Uses of PotionEffectType in org.bukkit.potion | 
|---|
| Subclasses of PotionEffectType in org.bukkit.potion | |
|---|---|
|  class | PotionEffectTypeWrapper | 
| Fields in org.bukkit.potion declared as PotionEffectType | |
|---|---|
| static PotionEffectType | PotionEffectType.BLINDNESSBlinds an entity. | 
| static PotionEffectType | PotionEffectType.CONFUSIONWarps vision on the client. | 
| static PotionEffectType | PotionEffectType.DAMAGE_RESISTANCEDecreases damage dealt to an entity. | 
| static PotionEffectType | PotionEffectType.FAST_DIGGINGIncreases dig speed. | 
| static PotionEffectType | PotionEffectType.FIRE_RESISTANCEStops fire damage. | 
| static PotionEffectType | PotionEffectType.HARMHurts an entity. | 
| static PotionEffectType | PotionEffectType.HEALHeals an entity. | 
| static PotionEffectType | PotionEffectType.HUNGERIncreases hunger. | 
| static PotionEffectType | PotionEffectType.INCREASE_DAMAGEIncreases damage dealt. | 
| static PotionEffectType | PotionEffectType.INVISIBILITYGrants invisibility. | 
| static PotionEffectType | PotionEffectType.JUMPIncreases jump height. | 
| static PotionEffectType | PotionEffectType.NIGHT_VISIONAllows an entity to see in the dark. | 
| static PotionEffectType | PotionEffectType.POISONDeals damage to an entity over time. | 
| static PotionEffectType | PotionEffectType.REGENERATIONRegenerates health. | 
| static PotionEffectType | PotionEffectType.SLOWDecreases movement speed. | 
| static PotionEffectType | PotionEffectType.SLOW_DIGGINGDecreases dig speed. | 
| static PotionEffectType | PotionEffectType.SPEEDIncreases movement speed. | 
| static PotionEffectType | PotionEffectType.WATER_BREATHINGAllows breathing underwater. | 
| static PotionEffectType | PotionEffectType.WEAKNESSDecreases damage dealt by an entity. | 
| static PotionEffectType | PotionEffectType.WITHERDeals damage to an entity over time and gives the health to the shooter. | 
| Methods in org.bukkit.potion that return PotionEffectType | |
|---|---|
| static PotionEffectType | PotionEffectType.getById(int id)Gets the effect type specified by the unique id. | 
| static PotionEffectType | PotionEffectType.getByName(String name)Gets the effect type specified by the given name. | 
|  PotionEffectType | PotionType.getEffectType() | 
|  PotionEffectType | PotionEffectTypeWrapper.getType()Get the potion type bound to this wrapper. | 
|  PotionEffectType | PotionEffect.getType()Returns the PotionEffectTypeof this effect. | 
| static PotionEffectType[] | PotionEffectType.values()Returns an array of all the registered PotionEffectTypes. | 
| Methods in org.bukkit.potion with parameters of type PotionEffectType | |
|---|---|
|  PotionEffect | PotionBrewer.createEffect(PotionEffectType potion,
             int duration,
             int amplifier)Creates a PotionEffectfrom the givenPotionEffectType,
 applying duration modifiers and checks. | 
| static PotionType | PotionType.getByEffect(PotionEffectType effectType) | 
| static void | PotionEffectType.registerPotionEffectType(PotionEffectType type)Registers an effect type with the given object. | 
| Constructors in org.bukkit.potion with parameters of type PotionEffectType | |
|---|---|
| PotionEffect(PotionEffectType type,
             int duration,
             int amplifier)Creates a potion affect. | |
| PotionEffect(PotionEffectType type,
             int duration,
             int amplifier,
             boolean ambient)Creates a potion effect. | |
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||