|
|
|
@ -32,8 +32,8 @@ public class HogEntity extends AnimalEntity {
|
|
|
|
|
public static AttributeModifierMap.MutableAttribute setCustomAttributes() {
|
|
|
|
|
//func_233666_p_ ---> registerAttributes()
|
|
|
|
|
//func_233815_a_ ---> createMutableAttribute()
|
|
|
|
|
return MobEntity.func_233666_p_().func_233815_a_(Attributes.MAX_HEALTH, 10.0D)
|
|
|
|
|
.func_233815_a_(Attributes.MOVEMENT_SPEED, 0.25D);
|
|
|
|
|
return MobEntity.func_233666_p_().createMutableAttribute(Attributes.MAX_HEALTH, 10.0D)
|
|
|
|
|
.createMutableAttribute(Attributes.MOVEMENT_SPEED, 0.25D);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|