Allow and Deny

Allow and deny blocks can be used to create restricted building areas or areas where users can build.

Obtaining
Allow and deny blocks can either be obtained by using the pick block control, or by using various commands, such as   or , or the creative inventory.

Usage
When placed, allow blocks let users without world builder status place or destroy blocks in the area above them, while deny blocks prohibit users from placing or destroying blocks in the area above them. This area covers an infinite distance above the block, but does not cover the area below the block. If two allow or deny blocks are placed on top of one another, the block that is highest takes precedence. The deny block does not prevent the placing of blocks with commands.

Both blocks are extremely resistant to explosions, even though they can still be destroyed by the ender dragon.

Users with world builder status are able to place and destroy blocks regardless of where any allow or deny blocks are placed.

Piston interactivity
Allow And deny blocks cannot be moved by pistons or sticky pistons.