public class MCPotionEffect
extends java.lang.Object
implements crafttweaker.api.potions.IPotionEffect
| Constructor and Description |
|---|
MCPotionEffect(net.minecraft.potion.PotionEffect potionEffect) |
| Modifier and Type | Method and Description |
|---|---|
void |
combine(crafttweaker.api.potions.IPotionEffect other) |
int |
compareTo(crafttweaker.api.potions.IPotion other) |
boolean |
doesShowParticles() |
boolean |
equals(java.lang.Object o) |
int |
getAmplifier() |
java.util.List<crafttweaker.api.item.IItemStack> |
getCurativeItems() |
int |
getDuration() |
java.lang.String |
getEffectName() |
java.lang.Object |
getInternal() |
crafttweaker.api.potions.IPotion |
getPotion() |
int |
hashCode() |
boolean |
isAmbient() |
boolean |
isCurativeItem(crafttweaker.api.item.IItemStack item) |
boolean |
isPotionDurationMax() |
void |
performEffect(crafttweaker.api.entity.IEntity entity) |
void |
setIsPotionDurationMax(boolean potionDurationMax) |
public MCPotionEffect(net.minecraft.potion.PotionEffect potionEffect)
public int compareTo(crafttweaker.api.potions.IPotion other)
compareTo in interface crafttweaker.api.potions.IPotionEffectpublic int getDuration()
getDuration in interface crafttweaker.api.potions.IPotionEffectpublic crafttweaker.api.potions.IPotion getPotion()
getPotion in interface crafttweaker.api.potions.IPotionEffectpublic boolean doesShowParticles()
doesShowParticles in interface crafttweaker.api.potions.IPotionEffectpublic int getAmplifier()
getAmplifier in interface crafttweaker.api.potions.IPotionEffectpublic java.util.List<crafttweaker.api.item.IItemStack> getCurativeItems()
getCurativeItems in interface crafttweaker.api.potions.IPotionEffectpublic java.lang.String getEffectName()
getEffectName in interface crafttweaker.api.potions.IPotionEffectpublic boolean isAmbient()
isAmbient in interface crafttweaker.api.potions.IPotionEffectpublic boolean isPotionDurationMax()
isPotionDurationMax in interface crafttweaker.api.potions.IPotionEffectpublic boolean isCurativeItem(crafttweaker.api.item.IItemStack item)
isCurativeItem in interface crafttweaker.api.potions.IPotionEffectpublic void setIsPotionDurationMax(boolean potionDurationMax)
setIsPotionDurationMax in interface crafttweaker.api.potions.IPotionEffectpublic void performEffect(crafttweaker.api.entity.IEntity entity)
performEffect in interface crafttweaker.api.potions.IPotionEffectpublic void combine(crafttweaker.api.potions.IPotionEffect other)
combine in interface crafttweaker.api.potions.IPotionEffectpublic java.lang.Object getInternal()
getInternal in interface crafttweaker.api.potions.IPotionEffectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object