You've already forked minecraft-assets
Create/Update assets for version 1.17.1
This commit is contained in:
1
data/minecraft/loot_tables/gameplay/_all.json
Normal file
1
data/minecraft/loot_tables/gameplay/_all.json
Normal file
@@ -0,0 +1 @@
|
||||
{"cat_morning_gift":{"type":"minecraft:gift","pools":[{"rolls":1.0,"bonus_rolls":0.0,"entries":[{"type":"minecraft:item","weight":10,"name":"minecraft:rabbit_hide"},{"type":"minecraft:item","weight":10,"name":"minecraft:rabbit_foot"},{"type":"minecraft:item","weight":10,"name":"minecraft:chicken"},{"type":"minecraft:item","weight":10,"name":"minecraft:feather"},{"type":"minecraft:item","weight":10,"name":"minecraft:rotten_flesh"},{"type":"minecraft:item","weight":10,"name":"minecraft:string"},{"type":"minecraft:item","weight":2,"name":"minecraft:phantom_membrane"}]}]},"fishing":{"type":"minecraft:fishing","pools":[{"rolls":1.0,"bonus_rolls":0.0,"entries":[{"type":"minecraft:loot_table","weight":10,"quality":-2,"name":"minecraft:gameplay/fishing/junk"},{"type":"minecraft:loot_table","conditions":[{"condition":"minecraft:entity_properties","predicate":{"fishing_hook":{"in_open_water":true}},"entity":"this"}],"weight":5,"quality":2,"name":"minecraft:gameplay/fishing/treasure"},{"type":"minecraft:loot_table","weight":85,"quality":-1,"name":"minecraft:gameplay/fishing/fish"}]}]},"piglin_bartering":{"type":"minecraft:barter","pools":[{"rolls":1.0,"bonus_rolls":0.0,"entries":[{"type":"minecraft:item","weight":5,"functions":[{"function":"minecraft:enchant_randomly","enchantments":["minecraft:soul_speed"]}],"name":"minecraft:book"},{"type":"minecraft:item","weight":8,"functions":[{"function":"minecraft:enchant_randomly","enchantments":["minecraft:soul_speed"]}],"name":"minecraft:iron_boots"},{"type":"minecraft:item","weight":8,"functions":[{"function":"minecraft:set_nbt","tag":"{Potion:\"minecraft:fire_resistance\"}"}],"name":"minecraft:potion"},{"type":"minecraft:item","weight":8,"functions":[{"function":"minecraft:set_nbt","tag":"{Potion:\"minecraft:fire_resistance\"}"}],"name":"minecraft:splash_potion"},{"type":"minecraft:item","weight":10,"functions":[{"function":"minecraft:set_nbt","tag":"{Potion:\"minecraft:water\"}"}],"name":"minecraft:potion"},{"type":"minecraft:item","weight":10,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":10.0,"max":36.0},"add":false}],"name":"minecraft:iron_nugget"},{"type":"minecraft:item","weight":10,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":2.0,"max":4.0},"add":false}],"name":"minecraft:ender_pearl"},{"type":"minecraft:item","weight":20,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":3.0,"max":9.0},"add":false}],"name":"minecraft:string"},{"type":"minecraft:item","weight":20,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":5.0,"max":12.0},"add":false}],"name":"minecraft:quartz"},{"type":"minecraft:item","weight":40,"name":"minecraft:obsidian"},{"type":"minecraft:item","weight":40,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":1.0,"max":3.0},"add":false}],"name":"minecraft:crying_obsidian"},{"type":"minecraft:item","weight":40,"name":"minecraft:fire_charge"},{"type":"minecraft:item","weight":40,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":2.0,"max":4.0},"add":false}],"name":"minecraft:leather"},{"type":"minecraft:item","weight":40,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":2.0,"max":8.0},"add":false}],"name":"minecraft:soul_sand"},{"type":"minecraft:item","weight":40,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":2.0,"max":8.0},"add":false}],"name":"minecraft:nether_brick"},{"type":"minecraft:item","weight":40,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":6.0,"max":12.0},"add":false}],"name":"minecraft:spectral_arrow"},{"type":"minecraft:item","weight":40,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":8.0,"max":16.0},"add":false}],"name":"minecraft:gravel"},{"type":"minecraft:item","weight":40,"functions":[{"function":"minecraft:set_count","count":{"type":"minecraft:uniform","min":8.0,"max":16.0},"add":false}],"name":"minecraft:blackstone"}]}]}}
|
||||
1
data/minecraft/loot_tables/gameplay/_list.json
Normal file
1
data/minecraft/loot_tables/gameplay/_list.json
Normal file
@@ -0,0 +1 @@
|
||||
{"directories":["fishing","hero_of_the_village"],"files":["cat_morning_gift.json","fishing.json","piglin_bartering.json"]}
|
||||
46
data/minecraft/loot_tables/gameplay/cat_morning_gift.json
Normal file
46
data/minecraft/loot_tables/gameplay/cat_morning_gift.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:rabbit_hide"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:rabbit_foot"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:chicken"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:feather"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:rotten_flesh"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:string"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 2,
|
||||
"name": "minecraft:phantom_membrane"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
40
data/minecraft/loot_tables/gameplay/fishing.json
Normal file
40
data/minecraft/loot_tables/gameplay/fishing.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "minecraft:fishing",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"weight": 10,
|
||||
"quality": -2,
|
||||
"name": "minecraft:gameplay/fishing/junk"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"predicate": {
|
||||
"fishing_hook": {
|
||||
"in_open_water": true
|
||||
}
|
||||
},
|
||||
"entity": "this"
|
||||
}
|
||||
],
|
||||
"weight": 5,
|
||||
"quality": 2,
|
||||
"name": "minecraft:gameplay/fishing/treasure"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:loot_table",
|
||||
"weight": 85,
|
||||
"quality": -1,
|
||||
"name": "minecraft:gameplay/fishing/fish"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
1
data/minecraft/loot_tables/gameplay/fishing/_all.json
Normal file
1
data/minecraft/loot_tables/gameplay/fishing/_all.json
Normal file
@@ -0,0 +1 @@
|
||||
{"fish":{"type":"minecraft:fishing","pools":[{"rolls":1.0,"bonus_rolls":0.0,"entries":[{"type":"minecraft:item","weight":60,"name":"minecraft:cod"},{"type":"minecraft:item","weight":25,"name":"minecraft:salmon"},{"type":"minecraft:item","weight":2,"name":"minecraft:tropical_fish"},{"type":"minecraft:item","weight":13,"name":"minecraft:pufferfish"}]}]},"junk":{"type":"minecraft:fishing","pools":[{"rolls":1.0,"bonus_rolls":0.0,"entries":[{"type":"minecraft:item","weight":17,"name":"minecraft:lily_pad"},{"type":"minecraft:item","weight":10,"functions":[{"function":"minecraft:set_damage","damage":{"type":"minecraft:uniform","min":0.0,"max":0.9},"add":false}],"name":"minecraft:leather_boots"},{"type":"minecraft:item","weight":10,"name":"minecraft:leather"},{"type":"minecraft:item","weight":10,"name":"minecraft:bone"},{"type":"minecraft:item","weight":10,"functions":[{"function":"minecraft:set_nbt","tag":"{Potion:\"minecraft:water\"}"}],"name":"minecraft:potion"},{"type":"minecraft:item","weight":5,"name":"minecraft:string"},{"type":"minecraft:item","weight":2,"functions":[{"function":"minecraft:set_damage","damage":{"type":"minecraft:uniform","min":0.0,"max":0.9},"add":false}],"name":"minecraft:fishing_rod"},{"type":"minecraft:item","weight":10,"name":"minecraft:bowl"},{"type":"minecraft:item","weight":5,"name":"minecraft:stick"},{"type":"minecraft:item","functions":[{"function":"minecraft:set_count","count":10.0,"add":false}],"name":"minecraft:ink_sac"},{"type":"minecraft:item","weight":10,"name":"minecraft:tripwire_hook"},{"type":"minecraft:item","weight":10,"name":"minecraft:rotten_flesh"},{"type":"minecraft:item","conditions":[{"condition":"minecraft:alternative","terms":[{"condition":"minecraft:location_check","predicate":{"biome":"minecraft:jungle"}},{"condition":"minecraft:location_check","predicate":{"biome":"minecraft:jungle_hills"}},{"condition":"minecraft:location_check","predicate":{"biome":"minecraft:jungle_edge"}},{"condition":"minecraft:location_check","predicate":{"biome":"minecraft:bamboo_jungle"}},{"condition":"minecraft:location_check","predicate":{"biome":"minecraft:modified_jungle"}},{"condition":"minecraft:location_check","predicate":{"biome":"minecraft:modified_jungle_edge"}},{"condition":"minecraft:location_check","predicate":{"biome":"minecraft:bamboo_jungle_hills"}}]}],"weight":10,"name":"minecraft:bamboo"}]}]},"treasure":{"type":"minecraft:fishing","pools":[{"rolls":1.0,"bonus_rolls":0.0,"entries":[{"type":"minecraft:item","name":"minecraft:name_tag"},{"type":"minecraft:item","name":"minecraft:saddle"},{"type":"minecraft:item","functions":[{"function":"minecraft:set_damage","damage":{"type":"minecraft:uniform","min":0.0,"max":0.25},"add":false},{"function":"minecraft:enchant_with_levels","levels":30.0,"treasure":true}],"name":"minecraft:bow"},{"type":"minecraft:item","functions":[{"function":"minecraft:set_damage","damage":{"type":"minecraft:uniform","min":0.0,"max":0.25},"add":false},{"function":"minecraft:enchant_with_levels","levels":30.0,"treasure":true}],"name":"minecraft:fishing_rod"},{"type":"minecraft:item","functions":[{"function":"minecraft:enchant_with_levels","levels":30.0,"treasure":true}],"name":"minecraft:book"},{"type":"minecraft:item","name":"minecraft:nautilus_shell"}]}]}}
|
||||
1
data/minecraft/loot_tables/gameplay/fishing/_list.json
Normal file
1
data/minecraft/loot_tables/gameplay/fishing/_list.json
Normal file
@@ -0,0 +1 @@
|
||||
{"directories":[],"files":["fish.json","junk.json","treasure.json"]}
|
||||
31
data/minecraft/loot_tables/gameplay/fishing/fish.json
Normal file
31
data/minecraft/loot_tables/gameplay/fishing/fish.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"type": "minecraft:fishing",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 60,
|
||||
"name": "minecraft:cod"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 25,
|
||||
"name": "minecraft:salmon"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 2,
|
||||
"name": "minecraft:tropical_fish"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 13,
|
||||
"name": "minecraft:pufferfish"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
159
data/minecraft/loot_tables/gameplay/fishing/junk.json
Normal file
159
data/minecraft/loot_tables/gameplay/fishing/junk.json
Normal file
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"type": "minecraft:fishing",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 17,
|
||||
"name": "minecraft:lily_pad"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 0.9
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:leather_boots"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:leather"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:bone"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:water\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:potion"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 5,
|
||||
"name": "minecraft:string"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 2,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 0.9
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:fishing_rod"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:bowl"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 5,
|
||||
"name": "minecraft:stick"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": 10.0,
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:ink_sac"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:tripwire_hook"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"name": "minecraft:rotten_flesh"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:jungle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:jungle_hills"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:jungle_edge"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:bamboo_jungle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:modified_jungle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:modified_jungle_edge"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:bamboo_jungle_hills"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"weight": 10,
|
||||
"name": "minecraft:bamboo"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
74
data/minecraft/loot_tables/gameplay/fishing/treasure.json
Normal file
74
data/minecraft/loot_tables/gameplay/fishing/treasure.json
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"type": "minecraft:fishing",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:name_tag"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:saddle"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 0.25
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:enchant_with_levels",
|
||||
"levels": 30.0,
|
||||
"treasure": true
|
||||
}
|
||||
],
|
||||
"name": "minecraft:bow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_damage",
|
||||
"damage": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 0.25
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:enchant_with_levels",
|
||||
"levels": 30.0,
|
||||
"treasure": true
|
||||
}
|
||||
],
|
||||
"name": "minecraft:fishing_rod"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:enchant_with_levels",
|
||||
"levels": 30.0,
|
||||
"treasure": true
|
||||
}
|
||||
],
|
||||
"name": "minecraft:book"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:nautilus_shell"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"directories":[],"files":["armorer_gift.json","butcher_gift.json","cartographer_gift.json","cleric_gift.json","farmer_gift.json","fisherman_gift.json","fletcher_gift.json","leatherworker_gift.json","librarian_gift.json","mason_gift.json","shepherd_gift.json","toolsmith_gift.json","weaponsmith_gift.json"]}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:chainmail_helmet"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:chainmail_chestplate"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:chainmail_leggings"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:chainmail_boots"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:cooked_rabbit"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:cooked_chicken"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:cooked_porkchop"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:cooked_beef"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:cooked_mutton"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:map"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:paper"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:redstone"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:lapis_lazuli"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:bread"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:pumpkin_pie"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:cookie"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:cod"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:salmon"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,263 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 26,
|
||||
"name": "minecraft:arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:swiftness\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:slowness\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:strength\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:healing\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:harming\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:leaping\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:regeneration\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:fire_resistance\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:water_breathing\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:invisibility\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:night_vision\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:weakness\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 0.0,
|
||||
"max": 1.0
|
||||
},
|
||||
"add": false
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:poison\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:tipped_arrow"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:leather"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:book"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:clay"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:white_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:orange_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:magenta_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:light_blue_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:yellow_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:lime_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:pink_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:gray_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:light_gray_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:cyan_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:purple_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:blue_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:brown_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:green_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:red_wool"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:black_wool"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:stone_pickaxe"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:stone_axe"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:stone_hoe"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:stone_shovel"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type": "minecraft:gift",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:stone_axe"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:golden_axe"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:iron_axe"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
256
data/minecraft/loot_tables/gameplay/piglin_bartering.json
Normal file
256
data/minecraft/loot_tables/gameplay/piglin_bartering.json
Normal file
@@ -0,0 +1,256 @@
|
||||
{
|
||||
"type": "minecraft:barter",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 5,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:enchant_randomly",
|
||||
"enchantments": [
|
||||
"minecraft:soul_speed"
|
||||
]
|
||||
}
|
||||
],
|
||||
"name": "minecraft:book"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 8,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:enchant_randomly",
|
||||
"enchantments": [
|
||||
"minecraft:soul_speed"
|
||||
]
|
||||
}
|
||||
],
|
||||
"name": "minecraft:iron_boots"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 8,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:fire_resistance\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:potion"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 8,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:fire_resistance\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:splash_potion"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{Potion:\"minecraft:water\"}"
|
||||
}
|
||||
],
|
||||
"name": "minecraft:potion"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 10.0,
|
||||
"max": 36.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:iron_nugget"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 10,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 2.0,
|
||||
"max": 4.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:ender_pearl"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 20,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 3.0,
|
||||
"max": 9.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:string"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 20,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 5.0,
|
||||
"max": 12.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:quartz"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"name": "minecraft:obsidian"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 1.0,
|
||||
"max": 3.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:crying_obsidian"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"name": "minecraft:fire_charge"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 2.0,
|
||||
"max": 4.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:leather"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 2.0,
|
||||
"max": 8.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:soul_sand"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 2.0,
|
||||
"max": 8.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:nether_brick"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 6.0,
|
||||
"max": 12.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:spectral_arrow"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 8.0,
|
||||
"max": 16.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:gravel"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"weight": 40,
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_count",
|
||||
"count": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 8.0,
|
||||
"max": 16.0
|
||||
},
|
||||
"add": false
|
||||
}
|
||||
],
|
||||
"name": "minecraft:blackstone"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user