public class InstantEffect extends Effect
delegate| コンストラクタと説明 |
|---|
InstantEffect(EffectType p_i50392_1_,
int p_i50392_2_) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
isInstant()
Returns true if the potion has an instant effect instead of a continuous one (eg Harming)
|
boolean |
isReady(int duration,
int amplifier)
checks if Potion effect is ready to be applied this tick.
|
addAttributesModifier, affectEntity, applyAttributesModifiersToEntity, get, getAttributeModifierAmount, getAttributeModifierMap, getDisplayName, getEffectType, getId, getLiquidColor, getName, getOrCreateDescriptionId, isBeneficial, performEffect, removeAttributesModifiersFromEntitygetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurativeItems, getEffect, getGuiSortColor, renderHUDEffect, renderInventoryEffect, shouldRender, shouldRenderHUD, shouldRenderInvTextpublic InstantEffect(EffectType p_i50392_1_, int p_i50392_2_)