Debug Stick

From Minecraft Wiki
(Redirected from Debug stick)
Jump to: navigation, search
Debug Stick
Debug Stick.gif
Debug Stick
Rarity

Common

Renewable

No

Stackable

No

Information icon.svg
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[edit]

The debug stick is obtainable only via commands such as /give @s debug_stick

Usage[edit]

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.

The debug stick cannot be used while in Survival or Adventure mode. 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[edit]

Item data[edit]

  •  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[edit]

Java Edition
1.1317w47aDebug Stick.gif Added debug sticks.
Upcoming Java Edition
1.1620w10aDebug sticks are now capable of editing fire due to its added hitbox.

Issues[edit]

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

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

References[edit]

See also[edit]