[1.14.4] Duplicate Bug Cactusdoor
pandory-network opened this issue ยท 6 comments
copy_paste version
version structurize-0.10.194-ALPHA
Expected behavior
- Brake Door give 2 doors back
Steps to reproduce the problem
- Place the door
- Destroy the door
- U get 2 doors
I've determined the correct loot table syntax. However the loot table is automatically generated so the JAVA generator has to be updated to be able to support this.
{
"type": "minecraft:block",
"pools": [
{
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "structurize:blockcactusdoor",
"properties": {
"half": "lower"
}
}
],
"name": "structurize:blockcactusdoor"
}
]
}
],
"READ ME!!!": "DO NOT EDIT THIS FILE. DON'T TOUCH IT, TOUCH IT AND YOU WILL REGRET IT ~~ AshersLab (Use the Data Generators!"
}
@Asherslab Does the DataGenerator support this format or will that project need to be updated first?
probably missing a LootTable entry like done for standard doors in net.minecraft.data.lootBlockLootTables.addTables()
this.registerLootTable(Blocks.ACACIA_DOOR, (p_218483_0_) -> {
return droppingWhen(p_218483_0_, DoorBlock.HALF, DoubleBlockHalf.LOWER);
});
no more free cactus door... #166 [: -)