public class SharedMonsterAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static IAttribute |
ARMOR |
static IAttribute |
ARMOR_TOUGHNESS |
static IAttribute |
ATTACK_DAMAGE |
static IAttribute |
ATTACK_SPEED |
static IAttribute |
FOLLOW_RANGE |
static IAttribute |
KNOCKBACK_RESISTANCE |
static IAttribute |
LUCK |
static IAttribute |
MAX_HEALTH |
static IAttribute |
MOVEMENT_SPEED |
Constructor and Description |
---|
SharedMonsterAttributes() |
Modifier and Type | Method and Description |
---|---|
static AttributeModifier |
readAttributeModifierFromNBT(NBTTagCompound compound) |
static void |
setAttributeModifiers(AbstractAttributeMap map,
NBTTagList list) |
static NBTTagCompound |
writeAttributeModifierToNBT(AttributeModifier modifier) |
static NBTTagList |
writeBaseAttributeMapToNBT(AbstractAttributeMap map) |
public static final IAttribute MAX_HEALTH
public static final IAttribute FOLLOW_RANGE
public static final IAttribute KNOCKBACK_RESISTANCE
public static final IAttribute MOVEMENT_SPEED
public static final IAttribute ATTACK_DAMAGE
public static final IAttribute ATTACK_SPEED
public static final IAttribute ARMOR
public static final IAttribute ARMOR_TOUGHNESS
public static final IAttribute LUCK
public static NBTTagList writeBaseAttributeMapToNBT(AbstractAttributeMap map)
public static NBTTagCompound writeAttributeModifierToNBT(AttributeModifier modifier)
public static void setAttributeModifiers(AbstractAttributeMap map, NBTTagList list)
@Nullable public static AttributeModifier readAttributeModifierFromNBT(NBTTagCompound compound)