mojira.dev
MC-58287

Giving blocks with other than the base data value results in missing texture even if value is used in the game

Giving certain blocks with a data value like

/give @p stone_slab 1 2
/give @p oak_stairs 1 1
/give @p wooden_slab 1 11
/give @p end_portal_frame 1 1

results in a missing texture, even trough they are used in game

But

/give @p planks 1 3
/give @p wooden_slab 1 3

works as expected (giving jungle planks / slabs)

Linked issues

Attachments

Comments 8

Confirmed in 14w25b. Can also be replicated by placing a portal block, adding an eye of ender, then pick blocking said portal block.

I cannot confirm your pick block method, gives me a normal end_portal_frame:0 instead of end_portal_frame:4

Confirmed, but also cannot confirm the pick block method

After a bit testing I think this is intended, because

/give @p oak_stairs 1 1

gives also a missing texture.

Probably only the "unplaced damage value" is allowed for the give command.

/give @p planks 1 3
/give @p wooden_slab 1 3

works as expected (giving jungle planks / slabs)

but

/give @p wooden_slab 1 11

gives missing texture (data value 11 is upper jungle slab)

yeah, I think you're right

Works as intended, only items that are valid to have in your inventory will look correct. You can't have an upper slab in your inventory, or an upside-down stair, or a filled end portal frame.

user-f2760

(Unassigned)

Confirmed

/give, data, texture, values

Minecraft 14w25b, Minecraft 14w26c, Minecraft 14w27b, Minecraft 14w29b, Minecraft 14w30b

Retrieved