BlackJar72 / DoomlikeDungeons

A procedural multi-room dungeon generator for Minecraft
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/1293843-doomlike-dungeons
MIT License
23 stars 12 forks source link

Unicode parsing breaks NBT configuration #31

Closed questionabl closed 3 years ago

questionabl commented 3 years ago

Hello, I am currently creating a modpack which is extensively using custom loot, and I have found that attempting to use unicode escapes to create items with custom name colours causes the mod to crash.

Below is my NBT file (with (some) extraneous information removed):

Bows

BOW0 Json {display:{Name:"\u00A77Generic Bow"}}

Stone weapons

STONESWORD0 Json {display:{Name:"\u00A77Generic Stone Sword"}}

STONESWORD1 Json {display:{Name:"\u00A7fHealthy Stone Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"}]} STONESWORD1U Json {display:{Name:"\u00A7aInvigorating Stone Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:4,Operation:0,UUIDLeast:527008,UUIDMost:621865,Slot:"mainhand"}]}

STONESWORD2 Json {display:{Name:"\u00A7fWeighted Stone Sword"},AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"}]}

STONESWORD3 Json {display:{Name:"\u00A7fSpeedy Stone Sword"},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"}]}

STONESWORD4 Json {display:{Name:"\u00A7fSharpened Stone Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:164944,UUIDMost:737695,Slot:"mainhand"}]} STONESWORD4U Json {display:{Name:"\u00A79Serrated Stone Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"}]}

STONESWORD5 Json {display:{Name:"\u00A7fBroad Stone Sword"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"}]} STONESWORD5U Json {display:{Name:"\u00A7aWide-Guarded Stone Sword"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,UUIDLeast:935468,UUIDMost:314702,Slot:"mainhand"}]}

STONESWORD6 Json {display:{Name:"\u00A7fLightweight Stone Sword"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]} STONESWORD6 Json {display:{Name:"\u00A7aRapid Stone Sword"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.3,Operation:1,UUIDLeast:125064,UUIDMost:50460,Slot:"mainhand"}]}

STONESWORD7 Json {display:{Name:"\u00A7fLucky Stone Sword"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]} STONESWORD7U Json {display:{Name:"\u00A7aProsperous Stone Sword"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:2,Operation:0,UUIDLeast:721526,UUIDMost:922487,Slot:"mainhand"}]}

STONESWORDS1 Json {display:{Name:"\u00A7aHeavy Stone Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.05,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.1,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

STONESWORDS2 Json {display:{Name:"\u00A79Crushing Stone Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:161943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.5,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.4,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

STONESWORDS3 Json {display:{Name:"\u00A79Blessed Stone Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]}

STONESWORDTEMPLATE Json {display:{Name:"\u00A7fStone Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:2,Operation:0,UUIDLeast:164944,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:2,Operation:0,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"},{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]}

STONEAXE0 Json {display:{Name:"\u00A77Generic Stone Axe"}}

STONEAXE1 Json {display:{Name:"\u00A7fHealthy Stone Axe"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"}]} STONESWORD1U Json {display:{Name:"\u00A7aInvigorating Stone Axe"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:4,Operation:0,UUIDLeast:527008,UUIDMost:621865,Slot:"mainhand"}]}

STONEAXE2 Json {display:{Name:"\u00A7fWeighted Stone Axe"},AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"}]}

STONEAXE3 Json {display:{Name:"\u00A7fSpeedy Stone Axe"},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"}]}

STONEAXE4 Json {display:{Name:"\u00A7fSharpened Stone Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:124924,UUIDMost:737695,Slot:"mainhand"}]} STONEAxe4U Json {display:{Name:"\u00A79Serrated Stone Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:11,Operation:0,UUIDLeast:164643,UUIDMost:727695,Slot:"mainhand"}]}

STONEAXE5 Json {display:{Name:"\u00A7fBroad Stone Axe"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"}]} STONEAXE5U Json {display:{Name:"\u00A7aWide-Guarded Stone Axe"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,UUIDLeast:935468,UUIDMost:314702,Slot:"mainhand"}]}

STONEAXE6 Json {display:{Name:"\u00A7fLightweight Stone Axe"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]} STONEAXE6 Json {display:{Name:"\u00A7aRapid Stone Axe"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.3,Operation:1,UUIDLeast:125064,UUIDMost:50460,Slot:"mainhand"}]}

STONEAXE7 Json {display:{Name:"\u00A7fLucky Stone Axe"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]} STONEAXE7U Json {display:{Name:"\u00A7aProsperous Stone Axe"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:2,Operation:0,UUIDLeast:721526,UUIDMost:922487,Slot:"mainhand"}]}

STONEAXES1 Json {display:{Name:"\u00A7aHeavy Stone Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:11,Operation:0,UUIDLeast:164923,UUIDMost:737645,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.05,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.1,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

STONEAXES2 Json {display:{Name:"\u00A79Crushing Stone Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:13,Operation:0,UUIDLeast:140141,UUIDMost:732695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.5,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.4,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

STONEAXES3 Json {display:{Name:"\u00A79Blessed Stone Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:162923,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]}

Iron weapons

IRONSWORD0 Json {display:{Name:"\u00A77Generic Iron Sword"}}

IRONSWORD1 Json {display:{Name:"\u00A7fHealthy Iron Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"}]} IRONSWORD1U Json {display:{Name:"\u00A7aInvigorating Iron Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:4,Operation:0,UUIDLeast:527008,UUIDMost:621865,Slot:"mainhand"}]}

IRONSWORD2 Json {display:{Name:"\u00A7fWeighted Iron Sword"},AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"}]}

IRONSWORD3 Json {display:{Name:"\u00A7fSpeedy Iron Sword"},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"}]}

IRONSWORD4 Json {display:{Name:"\u00A7fSharpened Iron Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:164944,UUIDMost:737695,Slot:"mainhand"}]} IRONSWORD4U Json {display:{Name:"\u00A79Serrated Iron Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"}]}

IRONSWORD5 Json {display:{Name:"\u00A7fBroad Iron Sword"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"}]} IRONSWORD5U Json {display:{Name:"\u00A7aWide-Guarded Iron Sword"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,UUIDLeast:935468,UUIDMost:314702,Slot:"mainhand"}]}

IRONSWORD6 Json {display:{Name:"\u00A7fLightweight Iron Sword"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]} IRONSWORD6 Json {display:{Name:"\u00A7aRapid Iron Sword"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.3,Operation:1,UUIDLeast:125064,UUIDMost:50460,Slot:"mainhand"}]}

IRONSWORD7 Json {display:{Name:"\u00A7fLucky Iron Sword"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]} IRONSWORD7U Json {display:{Name:"\u00A7aProsperous Iron Sword"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:2,Operation:0,UUIDLeast:721526,UUIDMost:922487,Slot:"mainhand"}]}

IRONSWORDS1 Json {display:{Name:"\u00A7aHeavy Iron Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.05,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.1,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

IRONSWORDS2 Json {display:{Name:"\u00A79Crushing Iron Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:11,Operation:0,UUIDLeast:149943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.5,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.4,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

IRONSWORDS3 Json {display:{Name:"\u00A79Blessed Iron Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:6,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]}

IRONSWORDTEMPLATE Json {display:{Name:"\u00A7fIron Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:2,Operation:0,UUIDLeast:164944,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:2,Operation:0,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"},{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]}

IRONAXE0 Json {display:{Name:"\u00A77Generic Iron Axe"}}

IRONAXE1 Json {display:{Name:"\u00A7fHealthy Iron Axe"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"}]} IRONSWORD1U Json {display:{Name:"\u00A7aInvigorating Iron Axe"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:4,Operation:0,UUIDLeast:527008,UUIDMost:621865,Slot:"mainhand"}]}

IRONAXE2 Json {display:{Name:"\u00A7fWeighted Iron Axe"},AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"}]}

IRONAXE3 Json {display:{Name:"\u00A7fSpeedy Iron Axe"},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"}]}

IRONAXE4 Json {display:{Name:"\u00A7fSharpened Iron Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:164944,UUIDMost:737695,Slot:"mainhand"}]} IRONAxe4U Json {display:{Name:"\u00A79Serrated Iron Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:11,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"}]}

IRONAXE5 Json {display:{Name:"\u00A7fBroad Iron Axe"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"}]} IRONAXE5U Json {display:{Name:"\u00A7aWide-Guarded Iron Axe"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,UUIDLeast:935468,UUIDMost:314702,Slot:"mainhand"}]}

IRONAXE6 Json {display:{Name:"\u00A7fLightweight Iron Axe"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]} IRONAXE6 Json {display:{Name:"\u00A7aRapid Iron Axe"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.3,Operation:1,UUIDLeast:125064,UUIDMost:50460,Slot:"mainhand"}]}

IRONAXE7 Json {display:{Name:"\u00A7fLucky Iron Axe"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]} IRONAXE7U Json {display:{Name:"\u00A7aProsperous Iron Axe"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:2,Operation:0,UUIDLeast:721526,UUIDMost:922487,Slot:"mainhand"}]}

IRONAXES1 Json {display:{Name:"\u00A7aHeavy Iron Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.05,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.1,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

IRONAXES2 Json {display:{Name:"\u00A79Crushing Iron Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:13,Operation:0,UUIDLeast:140143,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.5,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.4,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

IRONAXES3 Json {display:{Name:"\u00A79Blessed Iron Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]}

Diamond weapons

DIAMONDSWORD0 Json {display:{Name:"\u00A77Generic Diamond Sword"}}

DIAMONDSWORD1 Json {display:{Name:"\u00A7fHealthy Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"}]} DIAMONDSWORD1U Json {display:{Name:"\u00A7aInvigorating Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:4,Operation:0,UUIDLeast:527008,UUIDMost:621865,Slot:"mainhand"}]}

DIAMONDSWORD2 Json {display:{Name:"\u00A7fWeighted Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"}]}

DIAMONDSWORD3 Json {display:{Name:"\u00A7fSpeedy Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"}]}

DIAMONDSWORD4 Json {display:{Name:"\u00A7fSharpened Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:8,Operation:0,UUIDLeast:162942,UUIDMost:737695,Slot:"mainhand"}]} DIAMONDSWORD4U Json {display:{Name:"\u00A79Serrated Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:9,Operation:0,UUIDLeast:164711,UUIDMost:737695,Slot:"mainhand"}]}

DIAMONDSWORD5 Json {display:{Name:"\u00A7fBroad Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"}]} DIAMONDSWORD5U Json {display:{Name:"\u00A7aWide-Guarded Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,UUIDLeast:935468,UUIDMost:314702,Slot:"mainhand"}]}

DIAMONDSWORD6 Json {display:{Name:"\u00A7fLightweight Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]} DIAMONDSWORD6 Json {display:{Name:"\u00A7aRapid Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.3,Operation:1,UUIDLeast:125064,UUIDMost:50460,Slot:"mainhand"}]}

DIAMONDSWORD7 Json {display:{Name:"\u00A7fLucky Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]} DIAMONDSWORD7U Json {display:{Name:"\u00A7aProsperous Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:2,Operation:0,UUIDLeast:721526,UUIDMost:922487,Slot:"mainhand"}]}

DIAMONDSWORDS1 Json {display:{Name:"\u00A7aHeavy Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:8,Operation:0,UUIDLeast:164911,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.05,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.1,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

DIAMONDSWORDS2 Json {display:{Name:"\u00A79Crushing Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:12,Operation:0,UUIDLeast:111943,UUIDMost:337695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.5,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:502164,UUIDMost:894911,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.4,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

DIAMONDSWORDS3 Json {display:{Name:"\u00A79Blessed Diamond Sword"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:8,Operation:0,UUIDLeast:162243,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]}

DIAMONDSWORDTEMPLATE Json {display:{Name:"\u00A7fDiamond Sword"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:2,Operation:0,UUIDLeast:164944,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:2,Operation:0,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"},{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]}

DIAMONDAXE0 Json {display:{Name:"\u00A77Generic Diamond Axe"}}

DIAMONDAXE1 Json {display:{Name:"\u00A7fHealthy Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"}]} DIAMONDSWORD1U Json {display:{Name:"\u00A7aInvigorating Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:4,Operation:0,UUIDLeast:527008,UUIDMost:621865,Slot:"mainhand"}]}

DIAMONDAXE2 Json {display:{Name:"\u00A7fWeighted Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"}]}

DIAMONDAXE3 Json {display:{Name:"\u00A7fSpeedy Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:1,UUIDLeast:509164,UUIDMost:894955,Slot:"mainhand"}]}

DIAMONDAXE4 Json {display:{Name:"\u00A7fSharpened Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:164944,UUIDMost:737695,Slot:"mainhand"}]} DIAMONDAxe4U Json {display:{Name:"\u00A79Serrated Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:11,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"}]}

DIAMONDAXE5 Json {display:{Name:"\u00A7fBroad Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUIDLeast:935668,UUIDMost:314702,Slot:"mainhand"}]} DIAMONDAXE5U Json {display:{Name:"\u00A7aWide-Guarded Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:3,Operation:0,UUIDLeast:935468,UUIDMost:314702,Slot:"mainhand"}]}

DIAMONDAXE6 Json {display:{Name:"\u00A7fLightweight Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]} DIAMONDAXE6 Json {display:{Name:"\u00A7aRapid Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.3,Operation:1,UUIDLeast:125064,UUIDMost:50460,Slot:"mainhand"}]}

DIAMONDAXE7 Json {display:{Name:"\u00A7fLucky Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:1,Operation:0,UUIDLeast:721126,UUIDMost:922487,Slot:"mainhand"}]} DIAMONDAXE7U Json {display:{Name:"\u00A7aProsperous Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:2,Operation:0,UUIDLeast:721526,UUIDMost:922487,Slot:"mainhand"}]}

DIAMONDAXES1 Json {display:{Name:"\u00A7aHeavy Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:7,Operation:0,UUIDLeast:164943,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.2,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.05,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.1,Operation:1,UUIDLeast:165084,UUIDMost:10460,Slot:"mainhand"}]}

DIAMONDAXES2 Json {display:{Name:"\u00A79Crushing Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:14,Operation:0,UUIDLeast:140113,UUIDMost:237695,Slot:"mainhand"},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.5,Operation:1,UUIDLeast:956349,UUIDMost:645897,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:-0.2,Operation:1,UUIDLeast:502164,UUIDMost:894955,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-0.4,Operation:1,UUIDLeast:165084,UUIDMost:50460,Slot:"mainhand"}]}

DIAMONDAXES3 Json {display:{Name:"\u00A79Blessed Diamond Axe"},AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDLeast:161143,UUIDMost:737695,Slot:"mainhand"},{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:2,Operation:0,UUIDLeast:528008,UUIDMost:621865,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:0.2,Operation:1,UUIDLeast:165064,UUIDMost:50460,Slot:"mainhand"}]}

And here's my crash report (again, with (some) extraneous information removed): ---- Minecraft Crash Report ----

WARNING: coremods are present: IELoadingPlugin (ImmersiveEngineering-core-0.12-98.jar) FMLPlugin (albedo-1.12.2-1.1.0.jar) ForgelinPlugin (Forgelin-1.8.4.jar) MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar) MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar) IvToolkit (IvToolkit-1.3.3-1.12.jar) CTMCorePlugin (CTM-MC1.12.2-1.0.2.31.jar) Contact their authors BEFORE contacting forge

// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 6/19/21 2:46 AM Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Doomlike Dungeons (dldungeonsjbg) Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseUnsignedInt(Integer.java:690) at jaredbgreat.dldungeons.parser.Tokenizer.parseUnicode(Tokenizer.java:203) at jaredbgreat.dldungeons.parser.Tokenizer.readEscape(Tokenizer.java:175) at jaredbgreat.dldungeons.parser.Tokenizer.nextChar(Tokenizer.java:54) at jaredbgreat.dldungeons.parser.Tokenizer.readQuote(Tokenizer.java:125) at jaredbgreat.dldungeons.parser.Tokenizer.readTokens(Tokenizer.java:78) at jaredbgreat.dldungeons.parser.Tokenizer.(Tokenizer.java:44) at jaredbgreat.dldungeons.nbt.NBTHelper.parseNBTLine(NBTHelper.java:83) at jaredbgreat.dldungeons.themes.ThemeReader.readNBT(ThemeReader.java:308) at jaredbgreat.dldungeons.themes.ThemeReader.openNBTConfig(ThemeReader.java:284) at jaredbgreat.dldungeons.themes.ThemeReader.readThemes(ThemeReader.java:217) at jaredbgreat.dldungeons.DoomlikeDungeons.postInit(DoomlikeDungeons.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:754) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

If you need any more information, I'm happy to provide it. It's worth noting that while putting a section sign in the config file works, it ends up being displayed as something like "ÂGeneric Bow". Now, I may be misinterpreting your code (Java is not my forte), but I suspect that the issue is that the unicode parser in the Tokeniser will read numbers after the 4 numbers used to specify unicode characters, resulting in the code attempting to parse the symbol "\u00A75", which is out of the bounds of unicode (hence 'For input string: "" '). But that's just my best guess. Thank you for reading!

BlackJar72 commented 3 years ago

You are probably correct, as I wasn't exactly sure what the expected input for parsing unicode was. I'll look into to it sometime soon, though no promises as to when.

BlackJar72 commented 3 years ago

Try this experimental build and tell me if it helps.

BlackJar72 commented 3 years ago

That version was bad, try downloading it again, the new one should work.

questionabl commented 3 years ago

Okay, I'm back. Now I'm having a new issue - the Json wrapper seems to be half-creating the NBT tags. Hopefully these screenshots will show what I mean: 2021-06-20_04 16 42 2021-06-20_04 16 43 2021-06-20_04 16 45 2021-06-20_04 16 40 Along with a relevant excerpt from my chests.cfg: gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORD0 gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORD1 gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORD2 gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORD3 gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORD4 gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORD5 gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORD6 gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORD7 gear, 5, minecraft:diamond_sword, 1, 1, DIAMONDSWORDS1 gear, 5, minecraft:diamond_pickaxe, 1, 1 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXE0 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXE1 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXE2 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXE3 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXE4 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXE5 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXE6 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXE7 gear, 5, minecraft:diamond_axe, 1, 1, DIAMONDAXES1 gear, 5, minecraft:diamond_helmet, 1, 1 gear, 5, minecraft:diamond_leggings, 1, 1 gear, 5, minecraft:diamond_boots, 1, 1 gear, 5, minecraft:diamond_chestplate, 1, 1 gear, 5, minecraft:shield, 1, 1 gear, 5, minecraft:arrow, 8, 16 gear, 5, minecraft:torch, 4, 12 gear, 5, minecraft:arrow, 8, 16 gear, 5, minecraft:torch, 16, 24 gear, 5, minecraft:torch, 16, 48

Other items in the dungeon I have found to be similarly affected.

By the way, thank you for your prompt reply!

questionabl commented 3 years ago

Whoops, missed a very important screenshot: 2021-06-20_04 17 02

BlackJar72 commented 3 years ago

In the nbt.cfg file, do you have each complete tag all on one line? I don't know anything more to say. That's my best guess, since Hubry (who added that system) seems to just take everything on the line after the Json tag is used to signify JSON -- but it only works on a line oriented basis. If that doesn't help I don't really know what else to say or do; I don't really understand the Json tag system.

questionabl commented 3 years ago

I'm aware of that aspect of the nbt.cfg parsing (I used notepad++ to check for newlines - had I not, it'd crash during loading), but in that case, I'll try to see if I can debug it. I suspect the issue is something to do with the JSON wrapper getting malformed data.

BlackJar72 commented 3 years ago

OK. One thing to try, if my parser is affecting it, is to escape all the quotes to \"" in place of ", since my parser will preserve text in quotes, not tokenize it, but drop the quotes in the process. Then, the potion examples from Hubry work and I don't know why my parser would have any effect, really, since Hubry coded that type to simply take everything after the first two tokens as a whole. But then, I don't why my parsers treatment of unicode would matter either then.

I'm going to go ahead and upload the 1.14.7 unicode fix, for now, and hope you find a way to make your project work. I'm basically "retiring" from modding (supposedly did a while ago) so I probably won't be doing much more in the way of updates.