[ETF] Entity Texture Features - [Fabric & Forge]

[ETF] Entity Texture Features - [Fabric & Forge]

57M Downloads

[BUG] maxHealth function/format bugs

feycional opened this issue ยท 3 comments

commented

Bug #1
Function does not support values like this 20-100 the range character has to be removed
documentation gives that as an example and it works with health function
Bug #2
Function is reversed.
In health function it checks if the mob is in that range and if it is, it changes the texture.
Meanwhile in maxHealth function it checks if it is in that range and if it is, it doesnt change the texture and changes the texture of mobs that is not in the range.

Properties Used for Testing
textures.1=2
maxHealth.1=20 100

textures.1=2 INVALID
maxHealth.1=20-100

textures.1=2
health.1=5 10

I used the zombie mob for these tests it might be because of that but probably not.

  • Minecraft Version: [1.21.7]
  • ETF version 6.2.14
commented

does #385 's fix resolve this?

commented

nope.

commented

I missclicked at closed the issue can you reopen it?