[1.21] I have a 3 wide multi-block, which I only want the middle block to drop the item. I want the json file to look similar to this:
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "turingcomplete:full_adder"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
},
{
"block": "turingcomplete:full_adder",
"condition": "minecraft:block_state_property",
"properties": {
"part": "middle"
}
}
]
}
]
}```
Specifically, I want the
```{
"block": "turingcomplete:full_adder",
"condition": "minecraft:block_state_property",
"properties": {
"part": "middle"
}```
How do I make that happen with datagen?
```@Override
public void generate() {
...
addDrop(blockInit.FULL_ADDER, drops(blockInit.FULL_ADDER));
...
}```
I have this, but this doesn't add the condition that I want. What do I change/add to this?