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, removeAttributesModifiersFromEntity
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurativeItems, getEffect, getGuiSortColor, renderHUDEffect, renderInventoryEffect, shouldRender, shouldRenderHUD, shouldRenderInvText
public InstantEffect(EffectType p_i50392_1_, int p_i50392_2_)