Package | Description |
---|---|
net.minecraft.entity | |
net.minecraft.entity.boss | |
net.minecraft.entity.monster | |
net.minecraft.network.packet | |
net.minecraft.potion |
Modifier and Type | Method and Description |
---|---|
PotionEffect |
EntityLivingBase.getActivePotionEffect(Potion par1Potion)
returns the PotionEffect for the supplied Potion if it is active, null otherwise.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityLivingBase.addPotionEffect(PotionEffect par1PotionEffect)
adds a PotionEffect to the entity
|
boolean |
EntityLivingBase.isPotionApplicable(PotionEffect par1PotionEffect) |
Modifier and Type | Method and Description |
---|---|
void |
EntityWither.addPotionEffect(PotionEffect par1PotionEffect)
adds a PotionEffect to the entity
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntitySpider.isPotionApplicable(PotionEffect par1PotionEffect) |
Constructor and Description |
---|
Packet41EntityEffect(int par1,
PotionEffect par2PotionEffect) |
Packet42RemoveEntityEffect(int par1,
PotionEffect par2PotionEffect) |
Modifier and Type | Method and Description |
---|---|
static PotionEffect |
PotionEffect.readCustomPotionEffectFromNBT(NBTTagCompound par0NBTTagCompound)
Read a custom potion effect from a potion item's NBT data.
|
Modifier and Type | Method and Description |
---|---|
void |
PotionEffect.combine(PotionEffect par1PotionEffect)
merges the input PotionEffect into this one if this.amplifier <= tomerge.amplifier.
|
static String |
Potion.getDurationString(PotionEffect par0PotionEffect) |
Constructor and Description |
---|
PotionEffect(PotionEffect par1PotionEffect) |