Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement
This article is about the item. For other uses, see Debug.
Information icon
This feature is exclusive to Java Edition. 


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 only via commands such as /give @s debug_stick. The Debug Stick can be obtained only in creative worlds or worlds with cheats on.

Usage

The debug stick can be used to change block states. Hitting the block allows players to select the block state they wish to change, for an example, switching between the conditional and the facing blockstates for a command block. Using the block allows them to cycle through the valid values for the block state, 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. Sneaking while hitting or using cycles through the block states or values in reverse order.

It is notable that using debug stick directly on an interactive block without sneaking uses the block itself instead of the stick.[1]

The debug stick cannot be used while in Survival or Adventure mode. It works in only creative with cheats enabled. In modes other than Creative, it acts like a regular item — although when using it on a block, the player swings the stick as if interacting with it (but nothing happens).

Data values

ID

NameIdentifierFormTranslation key
Debug Stickdebug_stickItemitem.minecraft.debug_stick

Item data

  •  tag: The item's tag tag.
    •  DebugProperty: A compound where each key is a block ID, and the value is the block state key to edit for that block ID. Block tags are not supported.
      •  Block ID: The block state key of the block to edit, for example "minecraft:oak_fence": "east".

History

Java Edition
1.1317w47aDebug Stick Added debug sticks.
1.1620w10aDebug sticks are now capable of editing fire due to its added hitbox.
1.17?Rarity is now Epic, from Common.

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.[2][3]

Issues relating to "Debug Stick" are maintained on the bug tracker. Report issues there.

Trivia

See also

References


Advertisement