![[ETF] Entity Texture Features - [Fabric & Forge]](https://media.forgecdn.net/avatars/thumbnails/983/279/256/256/638491557830728907.png)
[BUG] ETF cant match indexes in a list properly
feycional opened this issue ยท 2 comments
Describe the issue
Down belowe I wrote the NBT data of the mob we are working on.(simplified)
attributes: [
{
id: "minecraft:spawn_reinforcements",
},
{
id: "minecraft:armor",
},
{
id: "minecraft:armor_toughness",
},
{
id: "minecraft:burning_time",
},
{
id: "minecraft:max_health",
},
{
id: "minecraft:follow_range",
},
{
id: "minecraft:movement_speed",
},
{
id: "minecraft:knockback_resistance",
}
],
If you were to print the first index(0) with these propeties:
textures.1=2
nbt.1.attributes.0.id=print:raw:
You should get minecraft:spawn_reinforcements from the list right?WRONG it prints minecraft:armor
If you were to print the second index(1) you would get minecraft:armor_tougheness
third index(2) would be minecraft:burning_time fourth(3) would be max:health
You might think that ow its just off by 1 right?NO fifth(4) index is movement:speed proving our point wrong
and it cannot find the fifth(4) index and beyond that (tested to index 9(8)
And ye optifine wont do these.
- List - Can match a specific index (starting at 0) or any index (*).
- Minecraft version: [1.21.7]
- ModLoader: [fabric]
- ETF Version [6.2.14]
is it the same every time? is the big list you made done via the data command or using print_all:
in the property?