[MCPE-20378] When making double slabs, block IDs are ignored, allowing stone_slab to combine with stone_slab2 Created: 13/Mar/17  Updated: 12/Oct/18  Resolved: 31/Jul/17

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.0.4.11, 1.0.5.0, 1.1.0.5, 1.1.0.9
Fix Version/s: 1.2.0.2

Type: Bug
Reporter: [MCPE Mod] Celesian
Resolution: Fixed Votes: 2
Labels: double-slab, purpur-slab, red-sandstone-slab, sandstone-slab, slab, stone-slab, stone-slab2

Attachments: GIF File sIVqj1Z[1].gif     File slabsglitch.mp4    
Issue Links:
Duplicate
is duplicated by MCPE-22091 Glitch when placing stone slabs and r... Resolved
Relates
relates to MCPE-38107 Double slabs turn into glitched blocks Resolved
Confirmation Status: Confirmed
Platform: Tablet - Android - Other (Specify in description)
CHK:
ADO: 63215

 Description   

Steps to reproduce:

  1. Grab a sandstone slab and a purpur slab.
  2. Place the sandstone slab down first and then place the purpur slab on top.
  3. Notice that it turns into a double sandstone double half slab block.

This also works the other way around, and with placing the top-half slab first & the bottom-half last. It also occurs with stone & red sandstone slabs.

Cause of the bug:
This bug is caused by a mistake in the logic of the function that turns slabs into double slabs when right-clicked with another slab. The code only checks if the block is a "slab" and if it has the same metadata. It does NOT check for whether the block is stone_slab or stone_slab2. This is why this odd slab behavior occurs.



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 27/Apr/17 ]

Still an issue for top-half slabs in 1.1.0.9

Comment by [MCPE Mod] Celesian [ 13/Mar/17 ]

Credit to redditor EvilDrSteve: https://redd.it/5z50zh

Generated at Sat Jan 11 15:26:50 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.