2

Adventure mode help

frostproto 1/14/22 8:02 pm
65
1/17/2022 1:26 am
Hello! I'm making an adventure map, but I have no idea how to make an item that can only be placed on a specific block or can only break a specific block
e.g. Basement key: can only be placed on Gold Block, Escaping shovel: can only break Gravel
Do I need a plugin or something?
Or is it nbt data or a command?
If you know, please tell me!
Posted by
frostproto
Level 28 : Expert Miner
8

  Have something to say?

JoinSign in

1

UndeadB
01/17/2022 1:26 am
Level 38 : Artisan Zombie
history
Heyo Simple Productions!

You can do this in vanilla minecraft
Sorry if its already too late, but heres answers to your examples

/give @p tripwire_hook{CanPlaceOn:[gold_block]} 1

/give @p iron_shovel{CanDestroy:[gravel]} 1

I suggest using this website for future items!
www.gamergeeks.net/apps/minecraft/give-command-generator

(I didnt put custom names on them because the words get wonky when placed here!)
1

Welcome