类 PotionEffectTypeWrapper
java.lang.Object
org.bukkit.potion.PotionEffectType
org.bukkit.potion.PotionEffectTypeWrapper
-
字段概要
从类继承的字段 org.bukkit.potion.PotionEffectType
ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, GLOWING, HARM, HEAL, HEALTH_BOOST, HUNGER, INCREASE_DAMAGE, INVISIBILITY, JUMP, LEVITATION, LUCK, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW, SLOW_DIGGING, SPEED, UNLUCK, WATER_BREATHING, WEAKNESS, WITHER
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getColor()
Returns the color of this effect type.double
Returns the duration modifier applied to effects of this type.getName()
Returns the name of this effect type.getType()
Get the potion type bound to this wrapper.boolean
Returns whether the effect of this type happens once, immediately.从类继承的方法 org.bukkit.potion.PotionEffectType
createEffect, equals, getById, getByName, getId, hashCode, registerPotionEffectType, stopAcceptingRegistrations, toString, values
-
构造器详细资料
-
PotionEffectTypeWrapper
protected PotionEffectTypeWrapper(int id)
-
-
方法详细资料
-
getDurationModifier
public double getDurationModifier()从类复制的说明:PotionEffectType
Returns the duration modifier applied to effects of this type.- 指定者:
getDurationModifier
在类中PotionEffectType
- 返回:
- duration modifier
-
getName
从类复制的说明:PotionEffectType
Returns the name of this effect type.- 指定者:
getName
在类中PotionEffectType
- 返回:
- The name of this effect type
-
getType
Get the potion type bound to this wrapper.- 返回:
- The potion effect type
-
isInstant
public boolean isInstant()从类复制的说明:PotionEffectType
Returns whether the effect of this type happens once, immediately.- 指定者:
isInstant
在类中PotionEffectType
- 返回:
- whether this type is normally instant
-
getColor
从类复制的说明:PotionEffectType
Returns the color of this effect type.- 指定者:
getColor
在类中PotionEffectType
- 返回:
- the color
-