1
Block placeability command help
So, I'm building this chess game using command blocks, using mineral blocks as the pieces. Whenever a player uses their piece manipulator to "pick up" a piece, I need a command to make it so that the resulting piece can be placed on black and white concrete (the blocks I am using).
The blocks I am using are:
Ores for the black pieces
Mineral blocks for the white pieces
Coal - Pawns
Gold - Rooks
Iron - Knights
Redstone - Bishops
Emerald - Queens
Diamond - Kings
The blocks I am using are:
Ores for the black pieces
Mineral blocks for the white pieces
Coal - Pawns
Gold - Rooks
Iron - Knights
Redstone - Bishops
Emerald - Queens
Diamond - Kings
1
Since chess pieces have their own moveset, I suggest to not use blocks but armorstands instead.
But if you still want to place them down on certain blocks use this nbt tag:
{CanPlaceOn:["minecraft:stone","#minecraft:logs"]}
But if you still want to place them down on certain blocks use this nbt tag:
{CanPlaceOn:["minecraft:stone","#minecraft:logs"]}
