Package net.minecraft.potion
Class PotionAbsorption
- java.lang.Object
-
- net.minecraft.potion.Potion
-
- net.minecraft.potion.PotionAbsorption
-
public class PotionAbsorption extends Potion
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
-
Fields inherited from class net.minecraft.potion.Potion
absorption, blindness, confusion, damageBoost, digSlowdown, digSpeed, field_180143_D, field_180144_E, field_180145_F, field_180146_G, field_180147_A, field_180148_B, field_180149_C, field_180151_b, field_180153_z, fireResistance, harm, heal, healthBoost, hunger, id, invisibility, jump, moveSlowdown, moveSpeed, nightVision, poison, potionTypes, regeneration, resistance, saturation, waterBreathing, weakness, wither
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PotionAbsorption(int potionID, ResourceLocation location, boolean badEffect, int potionColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyAttributesModifiersToEntity(EntityLivingBase entityLivingBaseIn, BaseAttributeMap amplifier, int parInt1)
void
removeAttributesModifiersFromEntity(EntityLivingBase entityLivingBaseIn, BaseAttributeMap amplifier, int parInt1)
-
Methods inherited from class net.minecraft.potion.Potion
affectEntity, func_181168_c, getAttributeModifierAmount, getAttributeModifierMap, getDurationString, getEffectiveness, getId, getLiquidColor, getName, getPotionFromResourceLocation, getStatusIconIndex, hasStatusIcon, isBadEffect, isInstant, isReady, isUsable, performEffect, registerPotionAttributeModifier, setEffectiveness, setIconIndex, setPotionName
-
-
-
-
Constructor Detail
-
PotionAbsorption
protected PotionAbsorption(int potionID, ResourceLocation location, boolean badEffect, int potionColor)
-
-
Method Detail
-
removeAttributesModifiersFromEntity
public void removeAttributesModifiersFromEntity(EntityLivingBase entityLivingBaseIn, BaseAttributeMap amplifier, int parInt1)
- Overrides:
removeAttributesModifiersFromEntity
in classPotion
-
applyAttributesModifiersToEntity
public void applyAttributesModifiersToEntity(EntityLivingBase entityLivingBaseIn, BaseAttributeMap amplifier, int parInt1)
- Overrides:
applyAttributesModifiersToEntity
in classPotion
-
-