From e7759af4695778af356fa4ae4bf2bd57b3523b92 Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Fri, 8 Jul 2022 12:30:30 -0500 Subject: [PATCH] Buff raw ore drops --- .../blocks/deepslate_iron_ore.json | 58 +++++++++++++++++++ .../blocks/deepslate_ore_aluminum.json | 49 ++++++++++++++++ .../loot_tables/blocks/ore_aluminum.json | 49 ++++++++++++++++ 3 files changed, 156 insertions(+) create mode 100644 kubejs/data/minecraft/loot_tables/blocks/deepslate_iron_ore.json create mode 100644 kubejs/data/minecraft/loot_tables/blocks/deepslate_ore_aluminum.json create mode 100644 kubejs/data/minecraft/loot_tables/blocks/ore_aluminum.json diff --git a/kubejs/data/minecraft/loot_tables/blocks/deepslate_iron_ore.json b/kubejs/data/minecraft/loot_tables/blocks/deepslate_iron_ore.json new file mode 100644 index 0000000..1f79fde --- /dev/null +++ b/kubejs/data/minecraft/loot_tables/blocks/deepslate_iron_ore.json @@ -0,0 +1,58 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ], + "name": "minecraft:deepslate_iron_ore" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1.0, + "max": 2.0 + }, + "add": false + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:raw_iron" + } + ] + } + ] + } + ] +} diff --git a/kubejs/data/minecraft/loot_tables/blocks/deepslate_ore_aluminum.json b/kubejs/data/minecraft/loot_tables/blocks/deepslate_ore_aluminum.json new file mode 100644 index 0000000..a9f098d --- /dev/null +++ b/kubejs/data/minecraft/loot_tables/blocks/deepslate_ore_aluminum.json @@ -0,0 +1,49 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [{"enchantment": "minecraft:silk_touch", "levels": {"min": 1}}] + } + } + ], + "name": "immersiveengineering:deepslate_ore_aluminum" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1.0, + "max": 2.0 + }, + "add": false + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + }, + {"function": "minecraft:explosion_decay"} + ], + "name": "immersiveengineering:raw_aluminum" + } + ] + } + ] + } + ] +} diff --git a/kubejs/data/minecraft/loot_tables/blocks/ore_aluminum.json b/kubejs/data/minecraft/loot_tables/blocks/ore_aluminum.json new file mode 100644 index 0000000..1154def --- /dev/null +++ b/kubejs/data/minecraft/loot_tables/blocks/ore_aluminum.json @@ -0,0 +1,49 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [{"enchantment": "minecraft:silk_touch", "levels": {"min": 1}}] + } + } + ], + "name": "immersiveengineering:ore_aluminum" + }, + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 1.0, + "max": 2.0 + }, + "add": false + }, + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + }, + {"function": "minecraft:explosion_decay"} + ], + "name": "immersiveengineering:raw_aluminum" + } + ] + } + ] + } + ] +}