lazyMods / horse-modifiers

Minecraft MOD [Forge] - 1.14.4 / 1.15.1
0 stars 0 forks source link

Realistic Horse Genetics Support #10

Open lazynessmind opened 3 years ago

lazynessmind commented 3 years ago

Problem:

The mod Realist Horse Genetics removes "normal" horses and adds a new Horse Entity with alll the genetics. This prevents the Horse Modifiers from changing the attributes because iisnt a "horse".

Solution:

sekelsta commented 3 years ago

What about using an AttributeModifier instead of changing the base value? It's what Minecraft uses to apply the effects from armor and potions, and I also use them for any difference that's not present at birth. I can tell you about how to do that, if you like.

lazynessmind commented 3 years ago

This mod is old and needs a major rewrite. This is one of my first mods so it's quite difficult to understand the spaghetti code.