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:
34
kubejs/data/tfg/loot_tables/blocks/dry_ice.json
Normal file
34
kubejs/data/tfg/loot_tables/blocks/dry_ice.json
Normal 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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user