Fix datapack format being wrong

This commit is contained in:
oitsjustjose 2022-01-12 10:18:40 -06:00
commit 33b87528aa
133 changed files with 2982 additions and 876 deletions

View file

@ -0,0 +1,140 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"min": 2.0,
"max": 8.0,
"type": "minecraft:uniform"
},
"entries": [
{
"name": "minecraft:potato",
"type": "minecraft:item",
"weight": 15,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:coal",
"type": "minecraft:item",
"weight": 15,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 4.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:gold_nugget",
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:stone_axe",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:rotten_flesh",
"type": "minecraft:item",
"weight": 10
},
{
"name": "minecraft:emerald",
"type": "minecraft:item"
},
{
"name": "minecraft:sugar_cane",
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"name": "minecraft:golden_apple",
"type": "minecraft:item"
}
]
},
{
"rolls": 0,
"bonus_rolls": 1,
"entries": [
{
"name": "minecraft:pink_banner",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "set_nbt",
"tag": "{BlockEntityTag:{Patterns:[{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:bo,Color:3},{Pattern:bo,Color:3},{Pattern:bo,Color:3}]}}"
}
]
},
{
"type": "minecraft:empty",
"weight": 28
},
{
"name": "minecraft:black_banner",
"type": "minecraft:item",
"weight": 32,
"functions": [
{
"function": "set_nbt",
"tag": "{BlockEntityTag:{Patterns:[{Pattern:bri,Color:7},{Pattern:bri,Color:14},{Pattern:gru,Color:15},{Pattern:gru,Color:15},{Pattern:flo,Color:14},{Pattern:moj,Color:15},{Pattern:sku,Color:12},{Pattern:mr,Color:1},{Pattern:bt,Color:15},{Pattern:mc,Color:4},{Pattern:bts,Color:15},{Pattern:bts,Color:13}]}}"
}
]
},
{
"name": "minecraft:emerald",
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": 2
}
]
}
]
}
]
}

View file

@ -0,0 +1,140 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"min": 2.0,
"max": 8.0,
"type": "minecraft:uniform"
},
"entries": [
{
"name": "minecraft:cooked_rabbit",
"type": "minecraft:item",
"weight": 15,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:coal",
"type": "minecraft:item",
"weight": 15,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 4.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:gold_nugget",
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:stone_sword",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:rotten_flesh",
"type": "minecraft:item",
"weight": 10
},
{
"name": "minecraft:emerald",
"type": "minecraft:item"
},
{
"name": "minecraft:sweet_berries",
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"name": "minecraft:golden_apple",
"type": "minecraft:item"
}
]
},
{
"rolls": 0,
"bonus_rolls": 1,
"entries": [
{
"name": "minecraft:pink_banner",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "set_nbt",
"tag": "{BlockEntityTag:{Patterns:[{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:cs,Color:0},{Pattern:bo,Color:3},{Pattern:bo,Color:3},{Pattern:bo,Color:3}]}}"
}
]
},
{
"type": "minecraft:empty",
"weight": 28
},
{
"name": "minecraft:black_banner",
"type": "minecraft:item",
"weight": 32,
"functions": [
{
"function": "set_nbt",
"tag": "{BlockEntityTag:{Patterns:[{Pattern:bri,Color:7},{Pattern:bri,Color:14},{Pattern:gru,Color:15},{Pattern:gru,Color:15},{Pattern:flo,Color:14},{Pattern:moj,Color:15},{Pattern:sku,Color:12},{Pattern:mr,Color:1},{Pattern:bt,Color:15},{Pattern:mc,Color:4},{Pattern:bts,Color:15},{Pattern:bts,Color:8}]}}"
}
]
},
{
"name": "minecraft:emerald",
"type": "minecraft:item",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": 2
}
]
}
]
}
]
}