How to PLACE and DESTROY blocks in Minecraft ADVENTURE MODE Tutorial 116 Java
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=zJiuIPBwIEg
Made this in Java 1.16.1 (should work in previous versions, though) • ---------------------------------------------------------------------------------------------------------------- • TIME STAMPS: • 0:00 -- Intro • 0:39 -- Destroying Blocks In Adventure Mode (example/lesson/intro) • 1:40 -- Destroying Blocks In Adventure Mode (lesson) • 3:23 -- Placing Blocks In Adventure Mode (example/lesson/intro) • 3:55 -- Placing Blocks In Adventure Mode (lesson) • 4:53 -- Having Both (example) • 5:26 -- Having Both (note) • 6:00 -- Mob Dropping Item/Block With Similar Properties (example/lesson/intro) • 6:32 -- Mob Dropping Item/Block With Similar Properties (lesson) • 8:00 -- Conclusion • ---------------------------------------------------------------------------------------------------------------- • COMMANDS: • /give @p (item/block){CanDestroy:[ (block) ]} (count) --able to break a block • /give @p (item/block){CanDestroy:[ (block) , (block) ]} (count) --able to break multiple blocks • /give @p (block){CanPlaceOn:[ (block) ]} (count) --able to place on a block • /give @p (block){CanPlaceOn:[ (block) , (block) ]} (count) --able to place on multiple blocks • /give @p (item/block){CanPlaceOn:[ (block) , (block) ],CanDestroy:[ (block) , (block ]} (count) -- both • For a mob's item (dropped) to be able to destroy something or place on something, make sure to have tag:{} • ---------------------------------------------------------------------------------------------------------------- • EXAMPLES: • /give @p minecraft:stone_pickaxe{CanDestroy:[ dirt , iron_ore , granite , diamond_sword ]} 1 • /give @p minecraft:wooden_shovel{CanDestroy:[ grass_block , podzol , coarse_dirt ]} 1 • /give @p iron_ore{CanPlaceOn:[ cobblestone , gold_block ]} 3 • /give @p minecraft:acacia_log{CanPlaceOn:[ honeycomb_block , beacon ]} 2 • /give @p diamond_block{CanPlaceOn:[ polished_granite ],CanDestroy:[ diorite ]} • /summon zombie ~ ~2 ~ {ArmorItems:[{},{},{},{id: lever ,tag:{CanPlaceOn:[ dirt ],CanDestroy:[ dirt ]},Count:1}]} • ---------------------------------------------------------------------------------------------------------------- • HAROLD: • /summon minecraft:blaze ~ ~1 ~ {CustomName: \\ Harold\\ ,CustomNameVisible:1,ArmorItems:[{id: diamond_boots ,Count:1},{id: diamond_leggings ,Count:1},{id: stone_button ,tag:{CanPlaceOn:[ polished_andesite ]},Count:1},{id: diamond_helmet ,Count:1}],ArmorDropChances:[0f,0f,2f,0f]}
#############################
