Hi,
So basically I'm creating a map where I need the player to be able to break and replace redstone with a special tool created by this command:
/give @p minecraft:golden_pickaxe{CanDestroy:[redstone_wire],Unbreakable:1} 1
and the redstone would be created with this command:
/give @p minecraft:redstone_wire{CanPlaceOn:[spruce_planks]} 1
My problem is that the CanPlaceOn tag doesn't remain after placing and breaking the block. I know there is a workaround using /data merge, but I haven't been able to get that to work. Any help?
So basically I'm creating a map where I need the player to be able to break and replace redstone with a special tool created by this command:
/give @p minecraft:golden_pickaxe{CanDestroy:[redstone_wire],Unbreakable:1} 1
and the redstone would be created with this command:
/give @p minecraft:redstone_wire{CanPlaceOn:[spruce_planks]} 1
My problem is that the CanPlaceOn tag doesn't remain after placing and breaking the block. I know there is a workaround using /data merge, but I haven't been able to get that to work. Any help?
Create an account or sign in to comment.