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 |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<crafttweaker.api.item.IItemStack> |
getCurativeItems() |
net.minecraft.potion.Potion |
getInternal() |
int |
getLiquidColor() |
int |
getLiquidColour() |
int |
hashCode() |
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() |
void |
setBeneficial() |
public java.lang.String name()
name in interface crafttweaker.api.potions.IPotionpublic boolean isBadEffect()
isBadEffect in interface crafttweaker.api.potions.IPotionpublic int getLiquidColor()
getLiquidColor in interface crafttweaker.api.potions.IPotionpublic int getLiquidColour()
getLiquidColour in interface crafttweaker.api.potions.IPotionpublic crafttweaker.api.potions.IPotionEffect makePotionEffect(int duration,
int amplifier)
makePotionEffect in interface crafttweaker.api.potions.IPotionpublic crafttweaker.api.potions.IPotionEffect makePotionEffect(int duration,
int amplifier,
boolean ambient,
boolean showParticles)
makePotionEffect in interface crafttweaker.api.potions.IPotionpublic java.util.List<crafttweaker.api.item.IItemStack> getCurativeItems()
getCurativeItems in interface crafttweaker.api.potions.IPotionpublic boolean hasStatusIcon()
hasStatusIcon in interface crafttweaker.api.potions.IPotionpublic boolean isBeneficial()
isBeneficial in interface crafttweaker.api.potions.IPotionpublic void setBeneficial()
setBeneficial in interface crafttweaker.api.potions.IPotionpublic boolean isInstant()
isInstant in interface crafttweaker.api.potions.IPotionpublic net.minecraft.potion.Potion getInternal()
getInternal in interface crafttweaker.api.potions.IPotionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object