misode.github.io
misode.github.io copied to clipboard
Entity data only takes id not other nbt
Crash report
- Page url:
https://misode.github.io/loot-table/ - Generator ID:
loot_table - Current version:
1.20.5 - Latest version:
24w12a
Stack trace
SyntaxError: Error importing: Unexpected end of JSON input
at yi (../../node_modules/comment-json/src/parse.js:94:16)
at unexpected_end (../../node_modules/comment-json/src/parse.js:120:4)
at type (../../node_modules/comment-json/src/parse.js:128:16)
at is (../../node_modules/comment-json/src/parse.js:246:10)
at parse_object (../../node_modules/comment-json/src/parse.js:365:11)
at walk (../../node_modules/comment-json/src/parse.js:417:15)
at parse (src/app/services/Source.ts:24:23)
at async (src/app/services/Source.ts:43:8)
at async (src/app/components/generator/SourcePanel.tsx:71:17)
Generator JSON
{
"type": "minecraft:empty",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:armor_stand",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_name": "'{\"text\":\"MineBot\",\"italic\":false}'",
"minecraft:custom_model_data": 1,
"minecraft:entity_data": {
"id": "minecraft:armor_stand",
"ShowId": 1
}
}
}
]
}
]
}
]
}