mojira.dev
MC-8206

Slabs beyond data value of 7 are placed as upper slabs / named "stone slab" regardless of type

First: Yes I used search. 😛

The blocks 43:8-43:14 all say "Stone Slab" regardless of type. These aren't legitimately obtainable, but it's still a bug. (It would also help to note all the Block 43 data values as "Double XYZ Slab" or "XYZ Double-Slab," but I don't want this to be a feature request...)

Also, 44:8-44:14 are bugged as well, and will always place upside-down and can't be combined into Block 43, not to mention the fact that they, similarly to 43, always say "Stone Slab."

Comments 10

What is the expected behaviour?

Slabs placing correctly, forming double-slabs, and being named properly, of course.

I figured that went without saying, but maybe not. Next time I'll actually fill out the form. 😛

Obtaining items with the bits set to place on the upper half of a block is not a bug when it starts placing on the upper half of the block. In addition, you cannot get these in the vanilla gameplay.

Oh, so that's how it works...

Did /giving yourself the double-slab versions of them in the past always put the top on all sides or is this new and permanent?

And technically you can get them in vanilla unless you don't consider /give vanilla despite the fact that it's not a mod or even an outside tool. 😛

I don't consider cheats part of vanilla gameplay! Part of vanilla, yes, but not its gameplay 😞

@Roadsguy:
They're invalid data values. There is no correct way for them to be placed.
As an analogy, you can't try to write a program by mashing your keyboard, complain when it doesn't work, and say you expected "the program to run correctly."

I'm not sure what you're even trying to achieve by spawning invalid items.

In the changelog for one of the snapshots, it said that 43:8 would now be the "smooth double-slab," and would stay so. I spawned the single-slab version to see what it was, and thought it was a bug. I do see why this is invalid, though. 😛

Single slabs have 1 bit reserved for "is this the upper or lower part of a block". Double slabs did not use this bit for anything, because they were full blocks. We changed that bit to mean "should this use the normal textures or a top-only texture" for double slabs. This is all completely intentional.

Smart, you took a useless part that was mostly an oversight and re-added a removed feature that the community liked, also conveniently adding a new Sandstone block.

Now do the reverse with Locked Chests. 😉

Roadsguy

(Unassigned)

Confirmed

Snapshot 13w04a

Retrieved