public class Potion extends ForgeRegistryEntry<Potion>
delegate| コンストラクタと説明 |
|---|
Potion(EffectInstance... effectsIn) |
Potion(java.lang.String baseNameIn,
EffectInstance... effectsIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.util.List<EffectInstance> |
getEffects() |
java.lang.String |
getNamePrefixed(java.lang.String prefix)
Gets the name of this PotionType with a prefix (such as "Splash" or "Lingering") prepended
|
static Potion |
getPotionTypeForName(java.lang.String name) |
boolean |
hasInstantEffect() |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic Potion(EffectInstance... effectsIn)
public Potion(@Nullable
java.lang.String baseNameIn,
EffectInstance... effectsIn)
public static Potion getPotionTypeForName(java.lang.String name)
public java.lang.String getNamePrefixed(java.lang.String prefix)
public java.util.List<EffectInstance> getEffects()
public boolean hasInstantEffect()