aboutsummaryrefslogtreecommitdiff
path: root/data/minecraft/loot_tables
diff options
context:
space:
mode:
Diffstat (limited to 'data/minecraft/loot_tables')
-rw-r--r--data/minecraft/loot_tables/chests/end_city_treasure.json345
-rw-r--r--data/minecraft/loot_tables/entities/blaze.json67
-rw-r--r--data/minecraft/loot_tables/entities/creeper.json81
-rw-r--r--data/minecraft/loot_tables/entities/evoker.json45
-rw-r--r--data/minecraft/loot_tables/entities/husk.json54
-rw-r--r--data/minecraft/loot_tables/entities/magma_cube.json50
-rw-r--r--data/minecraft/loot_tables/entities/shulker.json31
-rw-r--r--data/minecraft/loot_tables/entities/witch.json183
-rw-r--r--data/minecraft/loot_tables/entities/zombie.json89
-rw-r--r--data/minecraft/loot_tables/entities/zombified_piglin.json107
10 files changed, 1052 insertions, 0 deletions
diff --git a/data/minecraft/loot_tables/chests/end_city_treasure.json b/data/minecraft/loot_tables/chests/end_city_treasure.json
new file mode 100644
index 0000000..172fdfe
--- /dev/null
+++ b/data/minecraft/loot_tables/chests/end_city_treasure.json
@@ -0,0 +1,345 @@
+{
+ "type": "minecraft:chest",
+ "pools": [
+ {
+ "rolls": {
+ "min": 2.0,
+ "max": 6.0,
+ "type": "minecraft:uniform"
+ },
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "weight": 5,
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 2.0,
+ "max": 7.0,
+ "type": "minecraft:uniform"
+ }
+ }
+ ],
+ "name": "minecraft:diamond"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 10,
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 4.0,
+ "max": 8.0,
+ "type": "minecraft:uniform"
+ }
+ }
+ ],
+ "name": "minecraft:iron_ingot"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 15,
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 2.0,
+ "max": 7.0,
+ "type": "minecraft:uniform"
+ }
+ }
+ ],
+ "name": "minecraft:gold_ingot"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 7,
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 1.0,
+ "max": 4.0,
+ "type": "minecraft:uniform"
+ }
+ }
+ ],
+ "name": "minecraft:chorus_flower"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 2,
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 2.0,
+ "max": 6.0,
+ "type": "minecraft:uniform"
+ }
+ }
+ ],
+ "name": "minecraft:emerald"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 5,
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 1.0,
+ "max": 10.0,
+ "type": "minecraft:uniform"
+ }
+ }
+ ],
+ "name": "minecraft:beetroot_seeds"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "name": "minecraft:saddle"
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:iron_horse_armor"
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:golden_horse_armor"
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:diamond_horse_armor"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:diamond_sword"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:diamond_boots"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:diamond_chestplate"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:diamond_leggings"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:diamond_helmet"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:diamond_pickaxe"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:diamond_shovel"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:iron_sword"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:iron_boots"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:iron_chestplate"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:iron_leggings"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:iron_helmet"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:iron_pickaxe"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 3,
+ "functions": [
+ {
+ "function": "minecraft:enchant_with_levels",
+ "levels": {
+ "min": 20.0,
+ "max": 39.0,
+ "type": "minecraft:uniform"
+ },
+ "treasure": true
+ }
+ ],
+ "name": "minecraft:iron_shovel"
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/blaze.json b/data/minecraft/loot_tables/entities/blaze.json
new file mode 100644
index 0000000..c9897f2
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/blaze.json
@@ -0,0 +1,67 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 1.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:blaze_rod"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 1.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:nether_wart"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/creeper.json b/data/minecraft/loot_tables/entities/creeper.json
new file mode 100644
index 0000000..7f13fbd
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/creeper.json
@@ -0,0 +1,81 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:gunpowder"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:gravel"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ }
+ ]
+ },
+ {
+ "rolls": 1.0,
+ "entries": [
+ {
+ "type": "minecraft:tag",
+ "name": "minecraft:creeper_drop_music_discs",
+ "expand": true
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:entity_properties",
+ "predicate": {
+ "type": "#minecraft:skeletons"
+ },
+ "entity": "killer"
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/evoker.json b/data/minecraft/loot_tables/entities/evoker.json
new file mode 100644
index 0000000..dc31f05
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/evoker.json
@@ -0,0 +1,45 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:totem_of_undying"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 1.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:diamond"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/husk.json b/data/minecraft/loot_tables/entities/husk.json
new file mode 100644
index 0000000..bb6d7e8
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/husk.json
@@ -0,0 +1,54 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:sand"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:iron_ingot"
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:dead_bush"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ },
+ {
+ "condition": "minecraft:random_chance_with_looting",
+ "chance": 0.025,
+ "looting_multiplier": 0.01
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/magma_cube.json b/data/minecraft/loot_tables/entities/magma_cube.json
new file mode 100644
index 0000000..7429c83
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/magma_cube.json
@@ -0,0 +1,50 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": -2.0,
+ "max": 1.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:magma_cream"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:ancient_debris"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ },
+ {
+ "condition": "minecraft:random_chance_with_looting",
+ "chance": 0.015,
+ "looting_multiplier": 0.01
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/shulker.json b/data/minecraft/loot_tables/entities/shulker.json
new file mode 100644
index 0000000..767a395
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/shulker.json
@@ -0,0 +1,31 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 1.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:shulker_shell"
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/witch.json b/data/minecraft/loot_tables/entities/witch.json
new file mode 100644
index 0000000..30f206b
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/witch.json
@@ -0,0 +1,183 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": {
+ "min": 1.0,
+ "max": 3.0,
+ "type": "minecraft:uniform"
+ },
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:glowstone_dust"
+ },
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:sugar"
+ },
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:redstone"
+ },
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:spider_eye"
+ },
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:glass_bottle"
+ },
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:gunpowder"
+ },
+ {
+ "type": "minecraft:item",
+ "weight": 2,
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:stick"
+ },
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:brown_mushroom"
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/zombie.json b/data/minecraft/loot_tables/entities/zombie.json
new file mode 100644
index 0000000..0dcb8ec
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/zombie.json
@@ -0,0 +1,89 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:rotten_flesh"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:iron_ingot"
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:carrot"
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:potato"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ },
+ {
+ "condition": "minecraft:random_chance_with_looting",
+ "chance": 0.025,
+ "looting_multiplier": 0.01
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:clay_ball"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/minecraft/loot_tables/entities/zombified_piglin.json b/data/minecraft/loot_tables/entities/zombified_piglin.json
new file mode 100644
index 0000000..4b37ef3
--- /dev/null
+++ b/data/minecraft/loot_tables/entities/zombified_piglin.json
@@ -0,0 +1,107 @@
+{
+ "type": "minecraft:entity",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 1.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:rotten_flesh"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 2.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:netherrack"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "function": "minecraft:set_count",
+ "count": {
+ "min": 0.0,
+ "max": 1.0,
+ "type": "minecraft:uniform"
+ }
+ },
+ {
+ "function": "minecraft:looting_enchant",
+ "count": {
+ "min": 0.0,
+ "max": 1.0
+ }
+ }
+ ],
+ "name": "minecraft:gold_nugget"
+ }
+ ]
+ },
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:gold_ingot"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:killed_by_player"
+ },
+ {
+ "condition": "minecraft:random_chance_with_looting",
+ "chance": 0.025,
+ "looting_multiplier": 0.01
+ }
+ ]
+ }
+ ]
+}