You can do the Can Destroy NBT though. They have that. We could clone a chest with a custom item in it, desteoy the chest, and then teleport that item to that player.
I'm also trying to give my myself a skull that can only be mined with that diamond axe and can only be placed on certain blocks. But after I mine the head, the head loses it's NBT data. The only thing I can think of is using enitiydata on repeat, but that's not available on bedcock edition.
Essentially you just want to trade the skull you end up mining with the skull with the NBT data. All you have to do is teleport it to the player and htey instantly pick it up. It should be a really clean transition if you do it right.
Adjusting this will also depend on if you are going to be having this a multiplayer game and what type of area you are going to have it in.
I'm trying to run this command on Xbox but it doesn't work. Anything I'm doing wrong?
/summon item -84 55 -49 {Item:{id:"minecraft:diamond_axe",Count:1b,tag:{CanDestroy:["minecraft:skeleton_skull"],display:{Name:"{\"text\":\"Useful Tool\",\"color\":\"dark_green\",\"bold\":true}"},HideFlags:4,Unbreakable:1b}}}
Xbox does not have NBT tags. Welcome to the beginning of a long string of aggravation
Oh dear god.
You can do the Can Destroy NBT though. They have that. We could clone a chest with a custom item in it, desteoy the chest, and then teleport that item to that player.
I'm also trying to give my myself a skull that can only be mined with that diamond axe and can only be placed on certain blocks. But after I mine the head, the head loses it's NBT data. The only thing I can think of is using enitiydata on repeat, but that's not available on bedcock edition.
You cant toss it in a repeating command block? You should be able to do most of what you are trying to do with current Bedrock commands.
Any suggestions?
Yeah so you will have to figure out the NBT commands because I dont know how to do them but I just know you can do CanPlaceOn and CanDestroy
Read carefully
You will have to have a room where you destroy an item frame with the NBT skull on it (after you figure out how to do that command)
1.have a RCB that does
/clear @e[type=player] skull 1 (remove 1 skull from player inventory
2.CCB on top on the repeating CB that has the following command
/setblock ~~~ air 0 destroy (this will destroy the item frame and drop the item
3.CCB
/setblock ~~~ redstone_block (this will set a redstone block to allow time for the item to drop from the frame)
allow for a time delay for the item to drop
finally have an Impulse Command Block or ICB
/teleport @e[item=skull,x=xMid,y=yMid,z=zMid,r=radius] @e[type=player]
Final Note
Essentially you just want to trade the skull you end up mining with the skull with the NBT data. All you have to do is teleport it to the player and htey instantly pick it up. It should be a really clean transition if you do it right.
Adjusting this will also depend on if you are going to be having this a multiplayer game and what type of area you are going to have it in.