Skip to content

Configurable Snow Golem Max Health#107

Closed
Titaniumtown wants to merge 1 commit into
PurpurMC:ver/1.16.4from
Titaniumtown:pr/snowgolem_health
Closed

Configurable Snow Golem Max Health#107
Titaniumtown wants to merge 1 commit into
PurpurMC:ver/1.16.4from
Titaniumtown:pr/snowgolem_health

Conversation

@Titaniumtown

Copy link
Copy Markdown

Does as the title says. Pretty simple patch.


public static AttributeProvider.Builder m() {
- return EntityInsentient.p().a(GenericAttributes.MAX_HEALTH, 4.0D).a(GenericAttributes.MOVEMENT_SPEED, 0.20000000298023224D);
+ return EntityInsentient.p().a(GenericAttributes.MAX_HEALTH, world.purpurConfig.snowGolemMaxHealth).a(GenericAttributes.MOVEMENT_SPEED, 0.20000000298023224D); // Purpur - add config for snow golem health

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

world is always null here

@BillyGalbreath

Copy link
Copy Markdown
Contributor

I'm gonna say no to this one only because I have bigger plans to make all attributes of all entities configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants