public class PotionEffectTypeWrapper extends 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| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
PotionEffectTypeWrapper(int id) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
double |
getDurationModifier()
Returns the duration modifier applied to effects of this type.
|
String |
getName()
Returns the name of this effect type.
|
PotionEffectType |
getType()
Get the potion type bound to this wrapper.
|
boolean |
isInstant()
Returns whether the effect of this type happens once, immediately.
|
createEffect, equals, getById, getByName, getId, hashCode, registerPotionEffectType, stopAcceptingRegistrations, toString, valuespublic double getDurationModifier()
PotionEffectTypegetDurationModifier クラス内 PotionEffectTypepublic String getName()
PotionEffectTypegetName クラス内 PotionEffectTypepublic PotionEffectType getType()
public boolean isInstant()
PotionEffectTypeisInstant クラス内 PotionEffectTypeCopyright © 2016. All rights reserved.