1

Command block can_place_on string

Unb3lievable's Avatar Unb3lievable2/19/24 6:49 pm
1 emeralds 103 1
3/6/2024 8:06 pm
DinoWattz's Avatar DinoWattz
I want to get a block that can only be placed on coarse dirt in Minecraft Bedrock. Since coarse dirt is considered a block state instead of a block, I can’t have it in the normal
/give @s block 1 0 {“minecraft:can_place_on”:{“blocks”:[“coarse_dirt”]}} string. How would I alter this so that it works?
Posted by Unb3lievable's Avatar
Unb3lievable
Level 1 : New Miner
0

Create an account or sign in to comment.

1

2
03/06/2024 8:06 pm
Level 21 : Expert Engineer
DinoWattz
DinoWattz's Avatar
Sadly that command doesn't support block states, you can only use "dirt" there which will make it placeable on both dirt types.

the only thing I can think of right now is making a custom coarse dirt block with addons and using it instead like “blocks”:[“custom:coarse_dirt”]
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome