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,271 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"min": 2.0,
"max": 8.0,
"type": "minecraft:uniform"
},
"entries": [
{
"name": "minecraft:coal",
"type": "minecraft:item",
"weight": 12,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 4.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:gold_nugget",
"type": "minecraft:item",
"weight": 12,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:potato",
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:poisonous_potato",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 7.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:bone",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:stone_shovel",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.9
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:emerald",
"weight": 1
}
]
},
{
"rolls": 2,
"entries": [
{
"name": "minecraft:compass",
"type": "minecraft:item",
"weight": 5
},
{
"name": "minecraft:stone_shovel",
"type": "minecraft:item",
"weight": 5
},
{
"name": "minecraft:clay",
"type": "minecraft:item",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:writable_book",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:book",
"type": "minecraft:item",
"weight": 1,
"functions": [
{
"function": "minecraft:enchant_randomly"
}
]
},
{
"name": "minecraft:leather_helmet",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:leather_chestplate",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:leather_leggings",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:leather_boots",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:saddle",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:painting",
"type": "minecraft:item",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:lead",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:golden_apple",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:map",
"type": "minecraft:item",
"weight": 1,
"functions": [
{
"function": "minecraft:exploration_map",
"destination": "repurposed_structures:bastion_underground",
"decoration": "banner_gray",
"zoom": 2,
"skip_existing_chunks": false
}
]
}
]
},
{
"rolls": 0,
"bonus_rolls": 1,
"entries": [
{
"name": "minecraft:pink_banner",
"type": "minecraft:item",
"weight": 25,
"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": 160
},
{
"name": "minecraft:gray_banner",
"type": "minecraft:item",
"weight": 140,
"functions": [
{
"function": "set_nbt",
"tag": "{BlockEntityTag:{Patterns:[{Pattern:gru,Color:1},{Pattern:gra,Color:1},{Pattern:gra,Color:1},{Pattern:gra,Color:4},{Pattern:gru,Color:4},{Pattern:flo,Color:15},{Pattern:mr,Color:15},{Pattern:mr,Color:1},{Pattern:mc,Color:4},{Pattern:flo,Color:1},{Pattern:tts,Color:1},{Pattern:bts,Color:1}]}}"
}
]
},
{
"name": "minecraft:iron_shovel",
"type": "minecraft:item",
"weight": 100,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.75
}
},
{
"function": "minecraft:enchant_with_levels",
"levels": {
"min": 5.0,
"max": 25.0,
"type": "minecraft:uniform"
}
}
]
}
]
}
]
}

View file

@ -0,0 +1,276 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"min": 2.0,
"max": 8.0,
"type": "minecraft:uniform"
},
"entries": [
{
"name": "minecraft:coal",
"type": "minecraft:item",
"weight": 12,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:gold_nugget",
"type": "minecraft:item",
"weight": 12
},
{
"name": "minecraft:bread",
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:stone_shovel",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.9
}
}
]
},
{
"name": "minecraft:potato",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 5.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:poisonous_potato",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:bone",
"type": "minecraft:item",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:emerald",
"weight": 1
}
]
},
{
"rolls": 1,
"entries": [
{
"name": "minecraft:compass",
"type": "minecraft:item",
"weight": 8
},
{
"name": "minecraft:stone_shovel",
"type": "minecraft:item",
"weight": 8
},
{
"name": "minecraft:clay",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:leather_helmet",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:leather_chestplate",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:leather_leggings",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:leather_boots",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:saddle",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:bucket",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:painting",
"type": "minecraft:item",
"weight": 2,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:book",
"type": "minecraft:item",
"weight": 2,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:lead",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:map",
"type": "minecraft:item",
"weight": 1,
"functions": [
{
"function": "minecraft:exploration_map",
"destination": "repurposed_structures:bastion_underground",
"decoration": "banner_gray",
"zoom": 2,
"skip_existing_chunks": false
}
]
}
]
},
{
"rolls": 0,
"bonus_rolls": 1,
"entries": [
{
"name": "minecraft:pink_banner",
"type": "minecraft:item",
"weight": 25,
"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": 160
},
{
"name": "minecraft:gray_banner",
"type": "minecraft:item",
"weight": 140,
"functions": [
{
"function": "set_nbt",
"tag": "{BlockEntityTag:{Patterns:[{Pattern:gru,Color:1},{Pattern:gra,Color:1},{Pattern:gra,Color:1},{Pattern:gra,Color:4},{Pattern:gru,Color:4},{Pattern:flo,Color:15},{Pattern:mr,Color:15},{Pattern:mr,Color:1},{Pattern:mc,Color:4},{Pattern:flo,Color:1},{Pattern:tts,Color:1},{Pattern:bts,Color:1}]}}"
}
]
},
{
"name": "minecraft:iron_shovel",
"type": "minecraft:item",
"weight": 100,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.75
}
},
{
"function": "minecraft:enchant_with_levels",
"levels": {
"min": 5.0,
"max": 25.0,
"type": "minecraft:uniform"
}
}
]
}
]
}
]
}

View file

@ -0,0 +1,266 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"min": 2.0,
"max": 8.0,
"type": "minecraft:uniform"
},
"entries": [
{
"name": "minecraft:coal",
"type": "minecraft:item",
"weight": 12,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 4.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:iron_nugget",
"type": "minecraft:item",
"weight": 12,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:bread",
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:stone_hoe",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.9
}
}
]
},
{
"name": "minecraft:wheat",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 7.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:apple",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:emerald",
"weight": 1
}
]
},
{
"rolls": 2,
"entries": [
{
"name": "minecraft:fishing_rod",
"type": "minecraft:item",
"weight": 5
},
{
"name": "minecraft:stone_hoe",
"type": "minecraft:item",
"weight": 5
},
{
"name": "minecraft:hay_block",
"type": "minecraft:item",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:fishing_rod",
"type": "minecraft:item",
"weight": 1,
"functions": [
{
"function": "minecraft:enchant_randomly"
}
]
},
{
"name": "minecraft:book",
"type": "minecraft:item",
"weight": 1,
"functions": [
{
"function": "minecraft:enchant_randomly"
}
]
},
{
"name": "minecraft:leather_helmet",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:leather_chestplate",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:leather_leggings",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:leather_boots",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:saddle",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:bucket",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:shears",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:golden_apple",
"type": "minecraft:item",
"weight": 1
},
{
"name": "minecraft:map",
"type": "minecraft:item",
"weight": 1,
"functions": [
{
"function": "minecraft:exploration_map",
"destination": "repurposed_structures:bastion_underground",
"decoration": "banner_gray",
"zoom": 2,
"skip_existing_chunks": false
}
]
}
]
},
{
"rolls": 0,
"bonus_rolls": 1,
"entries": [
{
"name": "minecraft:pink_banner",
"type": "minecraft:item",
"weight": 25,
"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": 160
},
{
"name": "minecraft:gray_banner",
"type": "minecraft:item",
"weight": 140,
"functions": [
{
"function": "set_nbt",
"tag": "{BlockEntityTag:{Patterns:[{Pattern:flo,Color:0},{Pattern:bo,Color:0},{Pattern:cs,Color:7},{Pattern:mc,Color:8},{Pattern:flo,Color:7},{Pattern:bo,Color:7},{Pattern:tt,Color:7},{Pattern:bt,Color:7},{Pattern:tts,Color:0},{Pattern:tts,Color:7},{Pattern:bts,Color:0},{Pattern:bts,Color:7}]}}"
}
]
},
{
"name": "minecraft:iron_hoe",
"type": "minecraft:item",
"weight": 100,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.75
}
},
{
"function": "minecraft:enchant_with_levels",
"levels": {
"min": 5.0,
"max": 25.0,
"type": "minecraft:uniform"
}
}
]
}
]
}
]
}

View file

@ -0,0 +1,241 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"min": 2.0,
"max": 8.0,
"type": "minecraft:uniform"
},
"entries": [
{
"name": "minecraft:coal",
"type": "minecraft:item",
"weight": 12,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:iron_nugget",
"type": "minecraft:item",
"weight": 12
},
{
"name": "minecraft:bread",
"type": "minecraft:item",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:stone_hoe",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.9
}
}
]
},
{
"name": "minecraft:wheat",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 5.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:apple",
"type": "minecraft:item",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 2.0,
"type": "minecraft:uniform"
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:emerald",
"weight": 1
}
]
},
{
"rolls": 1,
"entries": [
{
"name": "minecraft:fishing_rod",
"type": "minecraft:item",
"weight": 8
},
{
"name": "minecraft:stone_hoe",
"type": "minecraft:item",
"weight": 8
},
{
"name": "minecraft:leather_helmet",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:leather_chestplate",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:leather_leggings",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:leather_boots",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:saddle",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:bucket",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:shears",
"type": "minecraft:item",
"weight": 2
},
{
"name": "minecraft:book",
"type": "minecraft:item",
"weight": 2,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1.0,
"max": 3.0,
"type": "minecraft:uniform"
}
}
]
},
{
"name": "minecraft:fishing_rod",
"type": "minecraft:item",
"weight": 2,
"functions": [
{
"function": "minecraft:enchant_randomly"
}
]
},
{
"name": "minecraft:map",
"type": "minecraft:item",
"weight": 1,
"functions": [
{
"function": "minecraft:exploration_map",
"destination": "repurposed_structures:bastion_underground",
"decoration": "banner_gray",
"zoom": 2,
"skip_existing_chunks": false
}
]
}
]
},
{
"rolls": 0,
"bonus_rolls": 1,
"entries": [
{
"name": "minecraft:pink_banner",
"type": "minecraft:item",
"weight": 25,
"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": 160
},
{
"name": "minecraft:gray_banner",
"type": "minecraft:item",
"weight": 140,
"functions": [
{
"function": "set_nbt",
"tag": "{BlockEntityTag:{Patterns:[{Pattern:flo,Color:0},{Pattern:bo,Color:0},{Pattern:cs,Color:7},{Pattern:mc,Color:8},{Pattern:flo,Color:7},{Pattern:bo,Color:7},{Pattern:tt,Color:7},{Pattern:bt,Color:7},{Pattern:tts,Color:0},{Pattern:tts,Color:7},{Pattern:bts,Color:0},{Pattern:bts,Color:7}]}}"
}
]
},
{
"name": "minecraft:iron_hoe",
"type": "minecraft:item",
"weight": 100,
"functions": [
{
"function": "minecraft:set_damage",
"damage": {
"min": 0.1,
"max": 0.75
}
},
{
"function": "minecraft:enchant_with_levels",
"levels": {
"min": 5.0,
"max": 25.0,
"type": "minecraft:uniform"
}
}
]
}
]
}
]
}