From 5bf1c26ffb39d87e47b02ea57c62994834f8521b Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Sun, 17 Apr 2016 00:35:09 -0500 Subject: [PATCH] Make some conditionals smarter --- .../botania/loot_tables/gaia_guardian_2.json | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/main/resources/assets/botania/loot_tables/gaia_guardian_2.json b/src/main/resources/assets/botania/loot_tables/gaia_guardian_2.json index d0ce27d4a..6333c1071 100644 --- a/src/main/resources/assets/botania/loot_tables/gaia_guardian_2.json +++ b/src/main/resources/assets/botania/loot_tables/gaia_guardian_2.json @@ -20,14 +20,17 @@ }, { "__comment": "Black Lotuses", - "conditions": [{ "condition": "killed_by_player" }], + "conditions": [ + { "condition": "killed_by_player" }, + { "condition": "random_chance", "chance": 0.5 } + ], "rolls": 1, "entries": [ { "type": "item", "name": "botania:blackLotus", - "weight": 15, - "quality": 5, + "weight": 3, + "quality": 1, "functions": [ { "function": "set_count", "count": 1 }, { "function": "set_data", "data": 1 } @@ -36,13 +39,12 @@ { "type": "item", "name": "botania:blackLotus", - "weight": 35, + "weight": 7, "functions": [ { "function": "set_count", "count": { "min": 1, "max": 3 } }, { "function": "set_data", "data": 0 } ] - }, - { "type": "empty", "weight": 50 } + } ] }, { @@ -141,7 +143,10 @@ }, { "__comment": "Music discs", - "conditions": [{ "condition": "killed_by_player" }], + "conditions": [ + { "condition": "killed_by_player" }, + { "condition": "random_chance", "chance": 0.44 } + ], "rolls": 1, "entries": [ { @@ -158,8 +163,7 @@ "weight": 15, "type": "item", "name": "minecraft:record_wait" - }, - { "type": "empty", "weight": 56 } + } ] }, {