item drop (Dry ice) (#3480)

* recycling recipes for bus/hatch

* +space

* add drop for dry ice

* loot table for dry ice

* remove trash
This commit is contained in:
Danya
2026-03-20 07:03:52 +03:00
committed by GitHub
parent 805153cb5b
commit 577522fa88
2 changed files with 36 additions and 1 deletions

View File

@@ -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"
}
}
]
}
]
}
]
}

View File

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