public int hashCode() {
HashCodeBuilder hashBuilder = new HashCodeBuilder().append(this.getEntityId());
for (Map.Entry<EntityPropertiesMessage.EntityProperties, Double> value : properties.entrySet()) {
hashBuilder.append(value.getKey()).append(value.getValue());
}
return hashBuilder.toHashCode();
}
public enum EntityProperties {
GENERIC_MAXHEALTH("generic.maxHealth", 20),