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") } -