mojira.dev
MCPE-30129

component not working

The component don't work. for example when you put this /give @p woodern_pickaxe 1 0 {"can_destroy":{"blocks":["dirt"]}} in command block.the pickaxe says can only mine dirt.but it can mine any block

this command /give @p stone 1 0 {"can_place_on":{"blocks":["dirt","glass"]}} don't work too.when you get the block it says can place on dirt and grass but you can place it on any block

this command /give @p diamond_sword 1 0 {display:{Name:"legendary sword"} it won't work it says error

i was thinking to make a map but those component won't work

i already make one but this is more clear i think.

Comments 3

This is working as intended. Only the components "can_destroy" and "can_place_on" are currently implemented. Those components only take affect in adventure mode which can be done by doing /gamemode a . If this does not work in adventure mode for you please make a new ticket.

how about the custom name when i did that it says error

Custom names through command components are not currently supported for the Bedrock version of Minecraft, the only two components currently implemented are can_destroy and can_place_on. To get a named item you can use a name tag and an anvil.

Vincent ho

(Unassigned)

Unconfirmed

Windows

1.2.8.0

Retrieved