public static class EntityAttributes.Attribute extends Object
Constructor and Description |
---|
Attribute() |
Attribute(String key,
double value,
List<EntityAttributes.AttributeModifier> modifierList) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getKey() |
List<EntityAttributes.AttributeModifier> |
getModifierList() |
double |
getValue() |
int |
hashCode() |
void |
setKey(String key) |
void |
setModifierList(List<EntityAttributes.AttributeModifier> modifierList) |
void |
setValue(double value) |
String |
toString() |
public Attribute()
public Attribute(String key, double value, List<EntityAttributes.AttributeModifier> modifierList)
public String getKey()
public double getValue()
public List<EntityAttributes.AttributeModifier> getModifierList()
public void setKey(String key)
public void setValue(double value)
public void setModifierList(List<EntityAttributes.AttributeModifier> modifierList)
protected boolean canEqual(Object other)
Copyright © 2019–2022. All rights reserved.