类 PotionEffectTypeWrapper
java.lang.Object
org.bukkit.potion.PotionEffectType
org.bukkit.potion.PotionEffectTypeWrapper
- 所有已实现的接口:
Keyed
-
字段概要
从类继承的字段 org.bukkit.potion.PotionEffectType
ABSORPTION, BAD_OMEN, BLINDNESS, CONDUIT_POWER, CONFUSION, DAMAGE_RESISTANCE, DARKNESS, DOLPHINS_GRACE, FAST_DIGGING, FIRE_RESISTANCE, GLOWING, HARM, HEAL, HEALTH_BOOST, HERO_OF_THE_VILLAGE, HUNGER, INCREASE_DAMAGE, INVISIBILITY, JUMP, LEVITATION, LUCK, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW, SLOW_DIGGING, SLOW_FALLING, SPEED, UNLUCK, WATER_BREATHING, WEAKNESS, WITHER
-
构造器概要
-
方法概要
从类继承的方法 org.bukkit.potion.PotionEffectType
createEffect, equals, getById, getByKey, getByName, getId, getKey, hashCode, registerPotionEffectType, stopAcceptingRegistrations, toString, values
-
构造器详细资料
-
PotionEffectTypeWrapper
-
-
方法详细资料
-
getDurationModifier
public double getDurationModifier()从类复制的说明:PotionEffectType
返回应用于此效果类型的持续时间.原文:Returns the duration modifier applied to effects of this type.
- 指定者:
getDurationModifier
在类中PotionEffectType
- 返回:
- 持续时间
-
getName
从类复制的说明:PotionEffectType
返回本状态效果类型的名称.原文:Returns the name of this effect type.
- 指定者:
getName
在类中PotionEffectType
- 返回:
- 状态效果名
-
getType
获取绑定到此包装类的药水效果类型.原文:Get the potion type bound to this wrapper.
- 返回:
- 药水效果类型
-
isInstant
public boolean isInstant()从类复制的说明:PotionEffectType
返回本效果是否为瞬时型效果.原文:Returns whether the effect of this type happens once, immediately.
- 指定者:
isInstant
在类中PotionEffectType
- 返回:
- 是否为瞬时型效果
-
getColor
从类复制的说明:PotionEffectType
返回本效果的颜色.原文:Returns the color of this effect type.
- 指定者:
getColor
在类中PotionEffectType
- 返回:
- 颜色
-