tristankechlo / LivingThings

Minecraft Mod: Living Things | adds various new mobs to the game
https://www.curseforge.com/minecraft/mc-mods/living-things
Other
9 stars 4 forks source link

Shark Damage is not representative of Config Values #14

Closed Darkosto closed 3 years ago

Darkosto commented 3 years ago

Describe the bug Shark Damage is very high and unable to be altered in Config. The health is also unable to be changed. It looks like the values may not be properly hooked into the config.

To Reproduce Steps to reproduce the behavior:

  1. Set shark to 1 damage
  2. Go to shark
  3. Die to shark in 1-2 hits
  4. Yell a lot!

Expected behavior Shark health and damage to be changed by config

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

Shark Health

.createMutableAttribute(Attributes.MAX_HEALTH, LivingThingsConfig.SHARK.health.get())

Thanks!

tristankechlo commented 3 years ago

thanks for mentioning, fixed the damage attribute, health should work after restarting client/server

tristankechlo commented 3 years ago

not yet stated in the config, but the health-attribute only affects newly spawned mobs