Minecraft wiki entry for Allow_and_Deny, associated text: Allow and deny blocks can either be obtained by using the pick block control, or by using various commands, such as /give or /setblock, or the creative inventory‌[Education Edition only].