1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-12 07:15:59 +00:00

Add back command computer block drops

This has been broken for almost a year (28th Jan 2020), and I never
noticed. Good job me.

Fixes #641, closes #648 (basically the same, but targetting 1.15.x)
This commit is contained in:
Jummit
2021-05-16 07:32:25 +02:00
parent a8f208c394
commit 95794fdaf3
2 changed files with 73 additions and 9 deletions

View File

@@ -1,11 +1,34 @@
{
"type": "minecraft:block",
"pools": [
"type": "minecraft:block",
"pools": [
{
"name": "main",
"rolls": 1,
"entries": [
{
"rolls": 1,
"entries": [
{ "type": "minecraft:dynamic", "name": "computercraft:computer" }
]
"type": "minecraft:dynamic",
"name": "computercraft:computer"
}
]
}
],
"conditions": [
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "computercraft:block_named"
},
{
"condition": "computercraft:has_id"
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "computercraft:player_creative"
}
}
]
}
]
}
]
}