Debug Stick

The debug stick is an item used to edit the block states of blocks. It is visually identical to a regular stick, but with a glint (as if enchanted).
== Obtaining ==
The debug stick is obtainable via commands such as or , or the Creative inventory if the player has the appropriate permissions. It can be obtained only in worlds with cheats on.
== Usage ==
The debug stick can be used to change block states. the block allows players to select the block state key they wish to change, for an example, switching between the conditional and the facing block state keys for a command block. the block allows them to cycle through the valid values for the block state key, again as an example, the player can make the command block face, down, east, north, south, up, or west if they chose the facing block state key. while or cycles through the block state keys or values in reverse order.
It is notable that debug stick directly on an interactive block without uses the block itself instead of the stick. 
The debug stick cannot be used while in Survival or Adventure mode. It works only in creative mode with cheats enabled. In modes other than Creative, it acts like a regular item — although when it on a block, the player swings the stick as if interacting with it (but nothing happens).
== Data values ==
=== ID ===
=== Item data ===
* : The item's tag tag.
== History ==
== Issues ==
The debug stick is not supported, and any issues resulting of its usage are closed as "Won't Fix" in the issue tracker. Issues with the stick itself are considered valid.https://bugs.mojang.com/browse/MC-122323?focusedCommentId=419481&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-419481
== Trivia ==
*An add-on made by Mineplex was showcased in MINECON Live 2019, which had an editor stick for , similar to the Debug Stick.
== Gallery ==
Technically Updated.jpg|Artwork of Steve and Alex wielding debug sticks.
== See also ==
*Block states
== References ==
Category:Non-renewable resources
de:Debug-Stab
es:Palo de depuración
fr:Bâton de débogage
ja:デバッグ棒
ko:디버그 막대기
pl:Patyk debugujący
pt:Graveto de depuração
ru:Палка отладки
zh:调试棒