-
[1.18.1] Couldn't parse loot table minecraft:blocks/yellow_shulker_box Missing type, expected to find a string
Ah I've solved it through help on Reddit. It turns out I needed the new updated yellow shulker box json file fixed for 1.18.1 https://lanternmc.com/yellow_shulker_box.json I'll leave it here for anybody else experiencing difficulty.
-
[1.18.1] Couldn't parse loot table minecraft:blocks/yellow_shulker_box Missing type, expected to find a string
Crap. I know I'm making a datapack for the Origins mod. If this post isn't allowed here, feel free to delete it or tell me too and I shall. I'm technically.. coding in a mod I think? Do you know of any better servers for... custom minecraft datapack coding? (I'm new to this scene and really have no idea where to get the proper info/help I need)
-
[1.18.1] Couldn't parse loot table minecraft:blocks/yellow_shulker_box Missing type, expected to find a string
I'm currently updating a custom origins datapack from 1.16 to 1.18 and I keep getting this error message back. I don't think it has to do with the yellow_shulker_box .json itself, because that is supposedly up to date (here's the code below and I'll continue beneath it) { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:dynamic", "name": "minecraft:contents", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "item": "minecraft:air", "nbt": "{drop_contents: 1b}" } } ] }, { "functions": [ { "function": "minecraft:copy_name", "source": "block_entity" }, { "function": "minecraft:copy_nbt", "source": "block_entity", "ops": [ { "source": "Lock", "target": "BlockEntityTag.Lock", "op": "replace" }, { "source": "LootTable", "target": "BlockEntityTag.LootTable", "op": "replace" }, { "source": "LootTableSeed", "target": "BlockEntityTag.LootTableSeed", "op": "replace" } ] }, { "function": "minecraft:set_contents", "entries": [ { "type": "minecraft:dynamic", "name": "minecraft:contents" } ] } ], "type": "minecraft:item", "name": "minecraft:yellow_shulker_box" } ] } ] } ] } the files go minecraft -> loot tables -> blocks -> yellow_shulker_box.json I may need to add a "tags" folder within the minecraft folder? If so, I'm not sure what to put in it, if that even is the problem. I don't think anything else in the mod references a yellow shulker box, save for the notes file in the pack's functions folder: # repair.mcfunction (by me :), RaidTheWeb) # create temporary shulker box setblock ~ 255 ~ minecraft:yellow_shulker_box # add the current item to shulker data modify block ~ 255 ~ Items[] set from entity @s SelectedItem # fully repair item execute store result block ~ 255 ~ Items[0].tag.Damage short 1 run scoreboard players get @s itemDamage # give the contents of the shulker loot replace entity @s weapon.mainhand 1 mine ~ 255 ~ minecraft:air{drop_contents:1b} # clean up afterwards setblock ~ 255 ~ air replace Any help would be appreciated, please, I just straight up cannot locate where the problem even is at this point in order to fix it.
IPS spam blocked by CleanTalk.