fix: add ancient city loot tables
This commit is contained in:
parent
857517c0e1
commit
9523c14468
|
@ -0,0 +1,410 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:chest",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"bonus_rolls": 0.0,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 2.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:enchanted_golden_apple"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:music_disc_otherside"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": 1.0,
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:compass",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 2.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:sculk_catalyst",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:name_tag",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": 1.0,
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"damage": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 1.0,
|
||||||
|
"min": 0.8
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_damage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "minecraft:enchant_with_levels",
|
||||||
|
"levels": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 50.0,
|
||||||
|
"min": 30.0
|
||||||
|
},
|
||||||
|
"treasure": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:diamond_hoe",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": 1.0,
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:lead",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": 1.0,
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:diamond_horse_armor",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": 1.0,
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:saddle",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:music_disc_13",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "minecraft:music_disc_cat",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:enchant_with_levels",
|
||||||
|
"levels": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 50.0,
|
||||||
|
"min": 30.0
|
||||||
|
},
|
||||||
|
"treasure": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:diamond_leggings",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"enchantments": [
|
||||||
|
"minecraft:swift_sneak"
|
||||||
|
],
|
||||||
|
"function": "minecraft:enchant_randomly"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:book",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 10.0,
|
||||||
|
"min": 4.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:sculk",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 3.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:sculk_sensor",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 4.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:candle",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 15.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:amethyst_shard",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 3.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:experience_bottle",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 15.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:glow_berries",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:enchant_with_levels",
|
||||||
|
"levels": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 39.0,
|
||||||
|
"min": 20.0
|
||||||
|
},
|
||||||
|
"treasure": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:iron_leggings",
|
||||||
|
"weight": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 3.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:echo_shard",
|
||||||
|
"weight": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 3.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:disc_fragment_5",
|
||||||
|
"weight": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 3.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "minecraft:set_potion",
|
||||||
|
"id": "minecraft:strong_regeneration"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:potion",
|
||||||
|
"weight": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:enchant_randomly"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:book",
|
||||||
|
"weight": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 10.0,
|
||||||
|
"min": 3.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:book",
|
||||||
|
"weight": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 15.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:bone",
|
||||||
|
"weight": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 15.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:soul_torch",
|
||||||
|
"weight": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 15.0,
|
||||||
|
"min": 6.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:coal",
|
||||||
|
"weight": 7
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 10.0,
|
||||||
|
"min": 5.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,113 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:chest",
|
||||||
|
"pools": [
|
||||||
|
{
|
||||||
|
"bonus_rolls": 0.0,
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:night_vision",
|
||||||
|
"duration": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 10.0,
|
||||||
|
"min": 7.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:blindness",
|
||||||
|
"duration": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 7.0,
|
||||||
|
"min": 5.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"function": "minecraft:set_stew_effect"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 6.0,
|
||||||
|
"min": 2.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:suspicious_stew"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 10.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:golden_carrot"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 10.0,
|
||||||
|
"min": 1.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:baked_potato"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 6.0,
|
||||||
|
"min": 2.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:packed_ice",
|
||||||
|
"weight": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"add": false,
|
||||||
|
"count": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 6.0,
|
||||||
|
"min": 2.0
|
||||||
|
},
|
||||||
|
"function": "minecraft:set_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "minecraft:snowball",
|
||||||
|
"weight": 4
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rolls": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max": 10.0,
|
||||||
|
"min": 4.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue