From 577522fa88cbd0828d55f477cd0977e39733d670 Mon Sep 17 00:00:00 2001 From: Danya <231178447+Nixieeunrare@users.noreply.github.com> Date: Fri, 20 Mar 2026 07:03:52 +0300 Subject: [PATCH] item drop (Dry ice) (#3480) * recycling recipes for bus/hatch * +space * add drop for dry ice * loot table for dry ice * remove trash --- .../data/tfg/loot_tables/blocks/dry_ice.json | 34 +++++++++++++++++++ kubejs/server_scripts/tfg/events.js | 3 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 kubejs/data/tfg/loot_tables/blocks/dry_ice.json diff --git a/kubejs/data/tfg/loot_tables/blocks/dry_ice.json b/kubejs/data/tfg/loot_tables/blocks/dry_ice.json new file mode 100644 index 000000000..720883b94 --- /dev/null +++ b/kubejs/data/tfg/loot_tables/blocks/dry_ice.json @@ -0,0 +1,34 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:dry_ice" + } + ], + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "tag": "minecraft:pickaxes" + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "tag": "tfc:saws" + } + } + ] + } + ] + } + ] +} diff --git a/kubejs/server_scripts/tfg/events.js b/kubejs/server_scripts/tfg/events.js index e50979af0..27d448fdd 100644 --- a/kubejs/server_scripts/tfg/events.js +++ b/kubejs/server_scripts/tfg/events.js @@ -43,6 +43,8 @@ BlockEvents.rightClicked(event => { } }) +//#endregion + /** * * @param {Internal.Player} player @@ -54,4 +56,3 @@ function getTFGPersistentDataRoot(player) { } return player.persistentData.getCompound("tfg:custom_data") } -