mojira.dev
MC-86633

Commandblock given with datavalue different than 0 has no texture

do /give @p minecraft:command_block 1 1
Thisone does not give a texture.
Remove the no texture command block from your inventory (you have to do this because even when the commandblock has a damage value, it still stacks when using /give with a 0 damage value) and do /give @p minecraft;command_block 1 0, thisone has a texture.

Attachments

Comments 7

There are no longer data values.

@Kumasasa then my question is, if there are no datavalue's/damagevalue's, why am I still able to do this in 15w34a? I might have chosen the wrong name. try the command given in the description. If I am able to give myself a command block with the datavalue (or idk the name of it completely) why does it give a no-texture block. If my explaination isn't clear enough, please tell me where the problem is. I'd appreciate that.

command blocks don't use damage values, they are also slowly being removed I think (potions, spawn eggs) if you want a normal command block use command_block if you want a chain command block use chain_command_block if you want a repeat command block use repeat_command_block

Before this snapshot command blocks did indeed not have datavalues, due to their new rotation ability they now do. I am, because of that, able to give myself a command block with a datavalue higher than 0, but the texture you get for any of these are Purple Black checked items (which is the default for "no texture"). The only bug in here is that you can give yourself an item, which has no intention to be cheated in, which has no texture. That is the reason why I reported it here. Not because "damage values don't exist" (because they do, still, otherwise the command in the description should not work). Since this snapshot, command blocks use damage values (rotation values to be a bit more clear).

(Edit: I was denying myself, fixed that)

that you can give yourself these "invalid" items has already been reported, but I don't know the ticket id anymore

No, that you can give yourself ""invalid" items" is not the case. The case is that the items don't have textures. There is most likely something wrong with the animation files and the model files (combination of both)

(Edit: It is a valid item, you can use the item using /setblock to change the direction the commandblock is facing, it is important, just the case that it doesn't have a texture when in your inventory.)

Blocks and items are different, internally. Although the block may still use the data value for orientation, that's not a valid value for the item. See MC-58287.

karstvgl

(Unassigned)

Unconfirmed

Minecraft 15w34a, Minecraft 15w34b

Retrieved