Package net.minecraft.potion
Class PotionAttackDamage
- java.lang.Object
-
- net.minecraft.potion.Potion
-
- net.minecraft.potion.PotionAttackDamage
-
public class PotionAttackDamage 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
PotionAttackDamage(int potionID, ResourceLocation location, boolean badEffect, int potionColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAttributeModifierAmount(int modifier, AttributeModifier parAttributeModifier)
-
Methods inherited from class net.minecraft.potion.Potion
affectEntity, applyAttributesModifiersToEntity, func_181168_c, getAttributeModifierMap, getDurationString, getEffectiveness, getId, getLiquidColor, getName, getPotionFromResourceLocation, getStatusIconIndex, hasStatusIcon, isBadEffect, isInstant, isReady, isUsable, performEffect, registerPotionAttributeModifier, removeAttributesModifiersFromEntity, setEffectiveness, setIconIndex, setPotionName
-
-
-
-
Constructor Detail
-
PotionAttackDamage
protected PotionAttackDamage(int potionID, ResourceLocation location, boolean badEffect, int potionColor)
-
-
Method Detail
-
getAttributeModifierAmount
public double getAttributeModifierAmount(int modifier, AttributeModifier parAttributeModifier)
- Overrides:
getAttributeModifierAmount
in classPotion
-
-