Properties with UTF-8 BOM encoding not loading
DanArtox opened this issue · 4 comments
The issue
I add new model to my RP mkb.json
and others (look in the logs)...
- type=item
- matchItems=minecraft:netherite_sword minecraft:diamond_sword
- model=./mkb.json
- nbt.display.Name=iregex:(\u041c\u041a\u0411|MKB)
mkb.properties
But the model is not displayed in the game. Errors appear in the logs - Unknown condition type "citresewn:type"
At the same time, my model "uzi" with properties:
- type=item
- matchItems=minecraft:bow
- model=./uzi.json
- nbt.display.Name=Micro-PP
works great
I understand from the error text that the problem is in the "type" field. But why?..
How to reproduce
Logs
Checklist
- I checked the issues(both open and closed) and could not find a duplicate of my issue
- I am using the latest version of CIT Resewn for my Minecraft version
- I have disabled Broken Paths and the issue persists
- I am running the mod using Fabric Loader
If u would use sinytra connecter than that is the problem, connector is not officially supported. But checklist says u are using Fabric Loader dn logs also saying Using legacy nbt.display.Name
which would not appear in case with connector.
And Im sure that this bit of logs is not helpful, u probably would like to send the whole log file if u want the problem to be resolved.
https://mclo.gs/woWlSKR full logs