From e051ffeeb352c14776dc34c481ed7ffcbb1511cf Mon Sep 17 00:00:00 2001 From: Pyritie Date: Thu, 24 Jul 2025 12:03:09 +0100 Subject: [PATCH] mars loot tables --- .../gtceu/loot_tables/blocks/red_granite.json | 44 +++++++++++++++++++ .../blocks/grass/amber_mycelium.json | 20 +++++++++ .../loot_tables/blocks/grass/mars_dirt.json | 20 +++++++++ .../blocks/grass/rusticus_mycelium.json | 20 +++++++++ .../blocks/grass/sangnum_mycelium.json | 20 +++++++++ .../blocks/rock/hardened_red_granite.json | 30 +++++++++++++ 6 files changed, 154 insertions(+) create mode 100644 kubejs/data/gtceu/loot_tables/blocks/red_granite.json create mode 100644 kubejs/data/tfg/loot_tables/blocks/grass/amber_mycelium.json create mode 100644 kubejs/data/tfg/loot_tables/blocks/grass/mars_dirt.json create mode 100644 kubejs/data/tfg/loot_tables/blocks/grass/rusticus_mycelium.json create mode 100644 kubejs/data/tfg/loot_tables/blocks/grass/sangnum_mycelium.json create mode 100644 kubejs/data/tfg/loot_tables/blocks/rock/hardened_red_granite.json diff --git a/kubejs/data/gtceu/loot_tables/blocks/red_granite.json b/kubejs/data/gtceu/loot_tables/blocks/red_granite.json new file mode 100644 index 000000000..a5a4686e4 --- /dev/null +++ b/kubejs/data/gtceu/loot_tables/blocks/red_granite.json @@ -0,0 +1,44 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "name": "gtceu:red_granite", + "conditions": [ + { + "condition": "tfc:is_isolated" + } + ] + }, + { + "type": "minecraft:item", + "name": "tfg:loose/red_granite", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4, + "type": "minecraft:uniform" + } + } + ] + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file diff --git a/kubejs/data/tfg/loot_tables/blocks/grass/amber_mycelium.json b/kubejs/data/tfg/loot_tables/blocks/grass/amber_mycelium.json new file mode 100644 index 000000000..01040dcf2 --- /dev/null +++ b/kubejs/data/tfg/loot_tables/blocks/grass/amber_mycelium.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:grass/mars_dirt" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file diff --git a/kubejs/data/tfg/loot_tables/blocks/grass/mars_dirt.json b/kubejs/data/tfg/loot_tables/blocks/grass/mars_dirt.json new file mode 100644 index 000000000..01040dcf2 --- /dev/null +++ b/kubejs/data/tfg/loot_tables/blocks/grass/mars_dirt.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:grass/mars_dirt" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file diff --git a/kubejs/data/tfg/loot_tables/blocks/grass/rusticus_mycelium.json b/kubejs/data/tfg/loot_tables/blocks/grass/rusticus_mycelium.json new file mode 100644 index 000000000..01040dcf2 --- /dev/null +++ b/kubejs/data/tfg/loot_tables/blocks/grass/rusticus_mycelium.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:grass/mars_dirt" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file diff --git a/kubejs/data/tfg/loot_tables/blocks/grass/sangnum_mycelium.json b/kubejs/data/tfg/loot_tables/blocks/grass/sangnum_mycelium.json new file mode 100644 index 000000000..01040dcf2 --- /dev/null +++ b/kubejs/data/tfg/loot_tables/blocks/grass/sangnum_mycelium.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:grass/mars_dirt" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file diff --git a/kubejs/data/tfg/loot_tables/blocks/rock/hardened_red_granite.json b/kubejs/data/tfg/loot_tables/blocks/rock/hardened_red_granite.json new file mode 100644 index 000000000..c8819199b --- /dev/null +++ b/kubejs/data/tfg/loot_tables/blocks/rock/hardened_red_granite.json @@ -0,0 +1,30 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:loose/red_granite", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4, + "type": "minecraft:uniform" + } + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file