Debug Stick

The debug stick is an item used to edit NBT tags of blocks.

Obtaining
The debug stick is only obtainable using commands. Although their texture is just an enchanted stick, they cannot be used for crafting, nor can a stick be enchanted to a debug stick.

Usage
The debug stick can be used to change block states. Hitting (default left-click) the block will allow you to select the block state you wish to change, for an example, switching between the conditional and the facing NBT tags for a command block. Selecting (default right-click) the block will allow you to cycle through the valid values for the block state, again as an example, you can make the command block face north, south, east, or west if you chose the facing blockstate. Shift clicking will cycle through the states or values in reverse order.