public class MCPotion
extends java.lang.Object
implements crafttweaker.api.potions.IPotion
Constructor and Description |
---|
MCPotion(net.minecraft.potion.Potion potion) |
Modifier and Type | Method and Description |
---|---|
java.util.List<crafttweaker.api.item.IItemStack> |
getCurativeItems() |
java.lang.Object |
getInternal() |
int |
getLiquidColor() |
int |
getLiquidColour() |
boolean |
hasStatusIcon() |
boolean |
isBadEffect() |
boolean |
isBeneficial() |
boolean |
isInstant() |
crafttweaker.api.potions.IPotionEffect |
makePotionEffect(int duration,
int amplifier) |
crafttweaker.api.potions.IPotionEffect |
makePotionEffect(int duration,
int amplifier,
boolean ambient,
boolean showParticles) |
java.lang.String |
name() |
public java.lang.String name()
name
in interface crafttweaker.api.potions.IPotion
public boolean isBadEffect()
isBadEffect
in interface crafttweaker.api.potions.IPotion
public int getLiquidColor()
getLiquidColor
in interface crafttweaker.api.potions.IPotion
public int getLiquidColour()
getLiquidColour
in interface crafttweaker.api.potions.IPotion
public crafttweaker.api.potions.IPotionEffect makePotionEffect(int duration, int amplifier)
makePotionEffect
in interface crafttweaker.api.potions.IPotion
public crafttweaker.api.potions.IPotionEffect makePotionEffect(int duration, int amplifier, boolean ambient, boolean showParticles)
makePotionEffect
in interface crafttweaker.api.potions.IPotion
public java.util.List<crafttweaker.api.item.IItemStack> getCurativeItems()
getCurativeItems
in interface crafttweaker.api.potions.IPotion
public boolean hasStatusIcon()
hasStatusIcon
in interface crafttweaker.api.potions.IPotion
public boolean isBeneficial()
isBeneficial
in interface crafttweaker.api.potions.IPotion
public boolean isInstant()
isInstant
in interface crafttweaker.api.potions.IPotion
public java.lang.Object getInternal()
getInternal
in interface crafttweaker.api.potions.IPotion