1

Block placeability command help

aplanetminecraftuser •7/17/19 10:09 pm
•
117
•
7/17/2019 10:27 pm
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
Posted by
aplanetminecraftuser
Level 3 : Apprentice Miner
0

  Have something to say?

Join • Sign in

1

HoboMaggot
• 07/17/2019 10:27 pm
• Level 56 : Grandmaster Blob
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"]}
1

Welcome