SpawnKillerBee operator sets attributes which aren't defined on bee entity
athrane opened this issue ยท 0 comments
This is a sister investigation to #1207 in order to resolve any potential bugs.
The SpawnKillerBee operator sets these vanilla attributes:
setAttribute(entity, FLYING_SPEED, movementSpeed);
setAttribute(entity, MOVEMENT_SPEED, movementSpeed);
setAttribute(entity, ATTACK_DAMAGE, damage);
And all attributtes are defined in the BeeEntity:
public static AttributeModifierMap.MutableAttribute func_234182_eX_() {
return MobEntity.func_233666_p_().createMutableAttribute(Attributes.MAX_HEALTH, 10.0D).createMutableAttribute(Attributes.FLYING_SPEED, (double)0.6F).createMutableAttribute(Attributes.MOVEMENT_SPEED, (double)0.3F).createMutableAttribute(Attributes.ATTACK_DAMAGE, 2.0D).createMutableAttribute(Attributes.FOLLOW_RANGE, 48.0D);
}
So no code changes are required. Issue is closed.