Modifier and Type | Method and Description |
---|---|
boolean |
MobEffectsPredicate.InstancePredicate.test(PotionEffect effect) |
Modifier and Type | Method and Description |
---|---|
boolean |
MobEffectsPredicate.test(java.util.Map<Potion,PotionEffect> potions) |
Modifier and Type | Method and Description |
---|---|
PotionEffect |
EntityPlayerSP.removeActivePotionEffect(Potion potioneffectin) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Potion,PotionEffect> |
EntityLivingBase.activePotionsMap |
private java.util.List<PotionEffect> |
EntityAreaEffectCloud.effects |
Modifier and Type | Method and Description |
---|---|
PotionEffect |
EntityLivingBase.getActivePotionEffect(Potion potionIn) |
PotionEffect |
EntityLivingBase.removeActivePotionEffect(Potion potioneffectin) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PotionEffect> |
EntityLivingBase.getActivePotionEffects() |
java.util.Map<Potion,PotionEffect> |
EntityLivingBase.getActivePotionMap() |
Modifier and Type | Method and Description |
---|---|
void |
EntityAreaEffectCloud.addEffect(PotionEffect effect) |
void |
EntityLivingBase.addPotionEffect(PotionEffect potioneffectIn) |
boolean |
EntityLivingBase.isPotionApplicable(PotionEffect potioneffectIn) |
protected void |
EntityLivingBase.onChangedPotionEffect(PotionEffect id,
boolean p_70695_2_) |
protected void |
EntityLivingBase.onFinishedPotionEffect(PotionEffect effect) |
protected void |
EntityLivingBase.onNewPotionEffect(PotionEffect id) |
Modifier and Type | Method and Description |
---|---|
static boolean |
EntityLivingBase.areAllPotionsAmbient(java.util.Collection<PotionEffect> potionEffects) |
Modifier and Type | Method and Description |
---|---|
void |
EntityDragon.addPotionEffect(PotionEffect potioneffectIn) |
void |
EntityWither.addPotionEffect(PotionEffect potioneffectIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
EntitySpider.isPotionApplicable(PotionEffect potioneffectIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
EntityPlayerMP.onChangedPotionEffect(PotionEffect id,
boolean p_70695_2_) |
protected void |
EntityPlayerMP.onFinishedPotionEffect(PotionEffect effect) |
protected void |
EntityPlayerMP.onNewPotionEffect(PotionEffect id) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<PotionEffect> |
EntityTippedArrow.customPotionEffects |
Modifier and Type | Method and Description |
---|---|
void |
EntityTippedArrow.addEffect(PotionEffect effect) |
Modifier and Type | Method and Description |
---|---|
private void |
EntityPotion.applySplash(RayTraceResult p_190543_1_,
java.util.List<PotionEffect> p_190543_2_) |
Modifier and Type | Field and Description |
---|---|
private PotionEffect |
ItemFood.potionId |
Modifier and Type | Method and Description |
---|---|
ItemFood |
ItemFood.setPotionEffect(PotionEffect effect,
float probability) |
Constructor and Description |
---|
SPacketEntityEffect(int entityIdIn,
PotionEffect effect) |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableList<PotionEffect> |
PotionType.effects |
Modifier and Type | Method and Description |
---|---|
private static PotionEffect |
PotionEffect.readCurativeItems(PotionEffect effect,
NBTTagCompound nbt) |
static PotionEffect |
PotionEffect.readCustomPotionEffectFromNBT(NBTTagCompound nbt) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PotionEffect> |
PotionType.getEffects() |
static java.util.List<PotionEffect> |
PotionUtils.getEffectsFromStack(ItemStack stack) |
static java.util.List<PotionEffect> |
PotionUtils.getEffectsFromTag(NBTTagCompound tag) |
static java.util.List<PotionEffect> |
PotionUtils.getFullEffectsFromItem(ItemStack itemIn) |
static java.util.List<PotionEffect> |
PotionUtils.getFullEffectsFromTag(NBTTagCompound tag) |
static java.util.List<PotionEffect> |
PotionUtils.mergeEffects(PotionType potionIn,
java.util.Collection<PotionEffect> effects) |
Modifier and Type | Method and Description |
---|---|
void |
PotionEffect.combine(PotionEffect other) |
int |
PotionEffect.compareTo(PotionEffect p_compareTo_1_) |
int |
Potion.getGuiSortColor(PotionEffect potionEffect)
Used for determining
PotionEffect sort order in GUIs. |
static java.lang.String |
Potion.getPotionDurationString(PotionEffect effect,
float durationFactor) |
private static PotionEffect |
PotionEffect.readCurativeItems(PotionEffect effect,
NBTTagCompound nbt) |
void |
Potion.renderHUDEffect(int x,
int y,
PotionEffect effect,
Minecraft mc,
float alpha)
|
void |
Potion.renderHUDEffect(PotionEffect effect,
Gui gui,
int x,
int y,
float z,
float alpha)
Called to draw the this Potion onto the player's ingame HUD when it's active.
|
void |
Potion.renderInventoryEffect(int x,
int y,
PotionEffect effect,
Minecraft mc)
|
void |
Potion.renderInventoryEffect(PotionEffect effect,
Gui gui,
int x,
int y,
float z)
Called to draw the this Potion onto the player's inventory when it's active.
|
boolean |
Potion.shouldRender(PotionEffect effect)
If the Potion effect should be displayed in the players inventory
|
boolean |
Potion.shouldRenderHUD(PotionEffect effect)
If the Potion effect should be displayed in the player's ingame HUD
|
boolean |
Potion.shouldRenderInvText(PotionEffect effect)
If the standard PotionEffect text (name and duration) should be drawn when this potion is active.
|
Modifier and Type | Method and Description |
---|---|
static void |
PotionUtils.addCustomPotionEffectToList(NBTTagCompound tag,
java.util.List<PotionEffect> effectList) |
static ItemStack |
PotionUtils.appendEffects(ItemStack itemIn,
java.util.Collection<PotionEffect> effects) |
static int |
PotionUtils.getPotionColorFromEffectList(java.util.Collection<PotionEffect> effects) |
static java.util.List<PotionEffect> |
PotionUtils.mergeEffects(PotionType potionIn,
java.util.Collection<PotionEffect> effects) |
Constructor and Description |
---|
PotionEffect(PotionEffect other) |
PotionType(PotionEffect... p_i46739_1_) |
PotionType(java.lang.String p_i46740_1_,
PotionEffect... p_i46740_2_) |
Modifier and Type | Field and Description |
---|---|
protected PotionEffect |
PotionEvent.effect |
private PotionEffect |
PotionEvent.PotionAddedEvent.oldEffect |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<PotionEffect> |
PotionColorCalculationEvent.effectList |
Modifier and Type | Method and Description |
---|---|
PotionEffect |
PotionEvent.PotionAddedEvent.getOldPotionEffect() |
PotionEffect |
PotionEvent.getPotionEffect()
Retuns the PotionEffect.
|
PotionEffect |
PotionEvent.PotionRemoveEvent.getPotionEffect() |
PotionEffect |
PotionEvent.PotionApplicableEvent.getPotionEffect() |
PotionEffect |
PotionEvent.PotionAddedEvent.getPotionEffect() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PotionEffect> |
PotionColorCalculationEvent.getEffects()
Note that returned list is unmodifiable.
|
Constructor and Description |
---|
PotionAddedEvent(EntityLivingBase living,
PotionEffect oldEffect,
PotionEffect newEffect) |
PotionApplicableEvent(EntityLivingBase living,
PotionEffect effect) |
PotionEvent(EntityLivingBase living,
PotionEffect effect) |
PotionExpiryEvent(EntityLivingBase living,
PotionEffect effect) |
PotionRemoveEvent(EntityLivingBase living,
PotionEffect effect) |
Constructor and Description |
---|
PotionColorCalculationEvent(EntityLivingBase entity,
int color,
boolean hideParticle,
java.util.Collection<PotionEffect> effectList) |