-
Bug
-
Resolution: Fixed
-
1.21.4
-
None
-
Confirmed
-
Items, Loot tables
-
Important
-
1341113
-
Expansion A
What I expected to happen was...:
When breaking a double resin slab block with any level of pickaxe 2 slab items should have appeared
What actually happened was...:
When breaking the double slab block only one slab item appeared
Steps to Reproduce:
- Place down two resin slabs on top of one another to make a full block
- Using any level of pick, break the block and only one appears instead of 2
Code analysis (official mappings)
In the VanillaBlockLoot#generate method:
this.dropSelf(Blocks.RESIN_BRICK_SLAB);
instead of
this.add(Blocks.RESIN_BRICK_SLAB, $$1x -> this.createSlabItemTable($$1x));
Code analysis (Yarn mappings)
In the VanillaBlockLootTableGenerator#generate method:
this.addDrop(Blocks.RESIN_BRICK_SLAB);
instead of
this.addDrop(Blocks.RESIN_BRICK_SLAB, block -> this.slabDrops(block));