Debug Stick

From Minecraft Wiki
Jump to: navigation, search
Debug Stick
Debug Stick.gif
Type (deprec.)

Items

Rarity

Common

Renewable

No

Stackable

No

Namespaced ID

debug_stick

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 only obtainable using commands such as /give @s minecraft:debug_stick.

Usage[edit]

The debug stick can be used to change block states. Hitting the block will allow 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 will allow 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 will cycle 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 will swing 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.

Issues[edit]

The debug stick is not supported, and any issues resulting of its usage will be 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]