![[ETF] Entity Texture Features - [Fabric & Forge]](https://media.forgecdn.net/avatars/thumbnails/983/279/256/256/638491557830728907.png)
[BUG] Asterisk can't be used as list index
PixalThePixeled opened this issue ยท 0 comments
After some time, I decided to check whether the old definition of an item in the inventory works through nbt and noticed strange behavior.
ETF ignores asterisk character when it used as a "any" list index in a property name, like it doesn't exists
[05:49:42] [Render thread/INFO]: [ETF]: nbt property [single] print data: Inventory.*=[{Count:1b,Slot:0b,id:"minecraft:wooden_sword",tag:{Damage:0,display:{Name:'"Cutlass"'}}},{Count:1b,Slot:1b,id:"minecraft:wooden_sword",tag:{Damage:0,display:{Name:'"Inferno"'}}},{Count:1b,Slot:2b,id:"minecraft:wooden_axe",tag:{Damage:0,display:{Name:'"Stone Hammer"'}}},{Count:1b,Slot:5b,id:"minecraft:lead"},{Count:1b,Slot:6b,id:"minecraft:armor_stand"},{Count:1b,Slot:7b,id:"minecraft:firework_rocket",tag:{Fireworks:{Flight:1b}}},{Count:1b,Slot:8b,id:"minecraft:item_frame"},{Count:1b,Slot:9b,id:"minecraft:elytra",tag:{Damage:0,display:{Name:'"Vampire Cloak"'}}},{Count:1b,Slot:102b,id:"minecraft:elytra",tag:{Damage:0}}].
The issue here that Optifine provides that usage of asterisk (screenshot from cit_single, random_entities refers to it)
I used this method to limit what tags the property interacts with so that it does not use other tags (from other items in other slots, in my example in logs), but it doesn't work.
- Minecraft version: 1.20.4
- ModLoader: Fabric
- ETF Version: 6.2.9