Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition. 
Debug World Type Flyover 14w32d

The world generation in debug mode

This article is about the world type. For other uses, see Debug.

Debug mode is a world type used to test block states, block models, and textures.

Accessing

File:DebugModeButton.PNG

Debug mode selected; note that all of the other world settings are unavailable.

To select the debug mode, hold the ⇧ Shift key whiType" button in the world creation menu. Debug mode is the world type directly after Buffet, and just before Default.

Upon selecting debug mode, the ""Generate Structures", and "Allow Cheats" options are removed from the menu. The game mode is set to Spectator, and the difficulty is locked on peaceful; however, /gamemode and /difficulty works as usual within the world.

Properties

Debug mode contains all blocks, in all of their existing block states, organized in a single world. The world updates automatically to include any new registered block IDs that are added. Therefore, this mode is useful not only to Mojang developers, but also to creators of resource packs and mods.

Block grid

Every block state generates only once. They are sorted in a grid spread across an altitude of y=70. The block grid changes its size according to the number of blocks and block states avaliable, roughly resembling a square (as of 1.14.2, 213 in width and 211 eastward), occupying the +X,+Z (southeast) quadrant.

A barrier floor at y=60 also spawns, extending past the grid in all directions to the world border. Other than the barrier floor, the remainder of the map is empty.

Other dimensions

Debug World Type hellview 14w27b

View of the Nether debug world

Debug World Type endview 14w29b

View of the End debug world

If a Nether or End portal is used, the player spawns in a Nether version or an End version of the debug world, respectively. The sky, light level and other properties remain appropriate to the dimension.

In the End, the ender dragon and its end crystals still spawn, although the dragon cannot break or interact with blocks. If the end portal is used in the End, the end poem and credits appear as normal. If using an ender pearl to utilize the end gateway portal, the gateway teleports the player, but in keeping with debug mode world generation, neither outer islands nor a returning gateway portal generate.

Block behavior

It is impossible for the player to break any block, even in game modes in which they otherwise could. Likewise, placing blocks is impossible, and the /setblock, /clone and /fill commands cannot be executed.

Any block whose interactions do not change its block state can still be used (including chests, beds, cake, etc). Although a block's state cannot change, its block entity data can change, either through normal player interaction or with the use of the /data command.

These unique properties of debug mode can cause certain blocks to behave in unexpected ways, though due to the arrangement of blocks next to one another, not all may be seen in every version:

  • Water and lava cannot be removed by buckets, but still fills an empty bucket in Survival mode. If the player empties the bucket, the lava or water blocks turn invisible.
  • Bells can still be rung.
  • Cauldrons clean leather armor and banners, but cannot be filled by buckets.
  • Using a button or lever drops one of itself as an item.
    • Activating those blocks schedules a block tick for its own block, which drops one of itself because those blocks cannot be suspended in mid-air.
  • Warning: using a pressure plate with powered stated false, or a weighted pressure plate with power state 0, causes it to generate enormous quantities of dropped plates, likely crashing the game. It also produces an extremely loud sound from so many pressure plate sounds being played at once.
    • The pressure plate schedules a block tick for itself, and drops an item because it cannot be suspended in mid-air.
      • Since it never changes to an activated pressure plate, it never stops receiving activation from the entities and/or items on it, and never stops scheduling block ticks.
    • Certain pressure plates, when activated, cause an error in the game output, stating that the dropped item entity has no entity.
  • Using a comparator in subtract mode, a lever or an unpowered button causes the block in the direction opposite its facing property to drop as an item.
    • If that block is a repeater or a comparator, it drops 36 stacks of itself.
      • It starts to repeatedly schedule its own block-state-changing tick, which fails continually a large number of times.
    • These types of blocks schedule a block tick in the adjacent block.
    • If that block could not normally remain suspended in the air, it drops one of itself as an item.
  • Warning: placing a minecart on an unpowered detector rail drops an infinite number of detector rails, crashing the game.
  • Certain glass panes, iron bars and fences have incorrect hitboxes.
  • Banners are entirely invisible.
  • Any summoned falling_block entities drops as an item when it hits another block, rather than converting itself to a block. Such a summoned falling block immediately drops as an item, rather than fall any distance.
  • If the player use fence gates, comparators, deactivated buttons, Levers, deactivated pressure plates, doors or trapdoors, they do not move or change, but the sound still plays.
  • Nether portals are visible, but the End portal is not.
  • Shulker boxes are invisible until looked at.
  • Firework rockets do not boost the player while flying with elytra. Instead, the rocket flies upward as if it was used while looking at a solid block.

Video

History

Java Edition
1.8
{{Extension DPL}}<ul><li>[[Book|Book]]<br/>{{For}}
{{Item
| image = Book.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Books''' are items used in [[enchanting]] and [[crafting]].

== Obtaining ==

=== Block loot ===

Three books are dropped when a [[bookshelf]] is mined without [[Silk Touch]] or destroyed by an [[explosion]].

=== Crafting ===
{{crafting
|Paper
|Paper
|Paper
|Leather
|Output= Book
|type= Miscellaneous
}}

=== Chest loot ===

{{LootChestItem|book}}

=== Grindstones ===

Disenchanting an [[enchanted book]] at a [[grindstone]] yields a normal book and a small amount of experience.

=== Villager gifts ===

{{in|java}}, librarian [[villagers]] throw books at players under the [[Hero of the Village]] effect.

== Usage ==

=== Crafting ingredient ===
{{crafting usage}}

=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having a book in the main hand will put the book inside the chiseled bookshelf.

=== Enchanting ===
Books can be made into [[enchanted book]]s by enchanting them on [[enchanting table]]s.

=== Trading ===

Librarian [[villager]]s can buy a single book as part of an [[enchanted book]] trade.

Apprentice-level Librarian villagers have a {{frac|2|3}} chance to buy 4 books for an [[emerald]] {{in|java}}, and always offer the trade {{in|bedrock}}.

== Achievements ==
{{load achievements|Librarian;Enchanter}}


== Advancements ==
{{load advancements|Enchanter;The Power of Books}}

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|subtitle=Book placed
|source=block
|description=When a book is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert
|translationkey=subtitles.chiseled_bookshelf.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|subtitle=Book taken
|source=block
|description=When a book is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup
|translationkey=subtitles.chiseled_bookshelf.take
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|source=block
|description=When a book is placed in a chiseled bookshelf
|id=insert.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|source=block
|description=When a book is removed from a chiseled bookshelf
|id=pickup.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Book
|spritetype=item
|nameid=book
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Book
|spritetype=item
|nameid=book
|id=387
|itemtags=minecraft:bookshelf_books</code>
|form=item
|foot=1}}

== Video ==

<div style="text-align:center">{{yt|UGJBUhxwKy0}}</div>

== History ==

{{History|java alpha}}
{{History||v1.0.11|[[File:Book JE1 BE1.png|32px]] Added books.
|The only use of books is crafting [[bookshelves]], which are only used as a purely decorative [[block]] until [[Beta 1.9 Prerelease 3]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Books are now found in the new [[stronghold]] library [[chest]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Books are now used to craft [[enchantment table]]s, gaining their first functional usage outside of decoration.}}
{{History||1.3.1|snap=12w17a|The crafting recipe is now shapeless, so books can now be crafted in the player's 2×2 [[crafting]] area, although the recipe now requires [[leather]]. Before this version, books were crafted with three [[paper]] sheets in a single column.
|A book can now be crafted into a [[book and quill]], which can be used to create [[written book]]s.}}
{{History|||snap=12w21a|Librarian [[villager]]s now [[trading|buy]] 11–12 books for 1 [[emerald]].}}
{{History|||snap=12w22a|Librarian villagers now [[trading|sell]] [[enchanted book]]s for 5–64 emeralds and 1 book.}}
{{History||1.4.6|snap=12w49a|Books can now be enchanted into [[enchanted book]]s, and then combined together in an [[anvil]] with a [[tool]] to then enchant it.}}
{{History||1.8|snap=14w02a|Librarian villagers now buy 8–10 books for 1 [[emerald]].}}
{{History||1.9|snap=15w43a|Average yield of books in [[stronghold]] library chests has been substantially increased.}}
{{History||1.12|snap=17w13a|Added the [[knowledge book]], a green-colored book that grants the [[player]] a recipe for [[crafting]].
|The recipe tab on the [[crafting table]] GUI uses a red-colored book.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 340.}}
{{History|||snap=18w11a|Books now generate in [[shipwreck]] chests.}}
{{History||1.14|snap=18w43a|[[File:Book JE2 BE2.png|32px]] The texture of books has been changed.}}
{{History|||snap=18w48a|Books can now be obtain by disenchanting non-curse [[enchanted book]]s in a grindstone.|Books can now be found in chests in [[plains]] [[village]] houses.}}
{{History|||snap=18w50a|Books can now be found in chests in [[desert]] village houses.}}
{{History|||snap=19w13a|Librarian villagers now give books to players under the [[Hero of the Village]] effect.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Books now generate in [[ancient city]] chests.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Books can now interact with [[chiseled bookshelves]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Book JE1 BE1.png|32px]] Added books. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.0|Books can be used to craft [[bookshelves]].}}
{{History||v0.5.0|Books can now be obtained after activating the [[nether reactor]].}}
{{History||v0.12.1|snap=build 1|The crafting recipe for books now requires [[leather]]. Before this version, books were crafted with three [[paper]] sheets in a single column.
|Books are now used to craft [[enchanting table]]s.
|Books can now be enchanted into [[enchanted book]]s, and then combined together in an [[anvil]] with a [[tool]] to then enchant it.
|Books are no longer available from the [[nether reactor]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian villagers now [[trading|buy]] 8–10 books for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|A book can now be crafted into a [[book and quill]], which can be used to create [[written book]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Books can now be found inside of the map room [[chest]] in [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Books can now be found in [[plains]] [[village]] chests.
|[[File:Book JE2 BE2.png|32px]] The texture of books has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Librarian [[villager]]s now [[trading|buy]] 4 books for an [[emerald]].}}
{{History||Wild Update<br>(Experimental)|link=Bedrock Edition 1.18.30|snap=beta 1.18.30.32|Books now generate in [[ancient city]] chests.}}
{{History||1.20<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|Books can now interact with [[chiseled bookshelves]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Book JE1 BE1.png|32px]] Added books.}}
{{History||xbox=TU14|ps=1.04|The crafting recipe for books now requires [[leather]]. Before this version, books were crafted with three [[paper]] sheets in a single column.}}
{{History|PS4}}
{{History||1.90|[[File:Book JE2 BE2.png|32px]] The texture of books has now been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Book JE1 BE1.png|32px]] Added books.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* [[Enchanted Book]]
* [[Knowledge Book]]

{{Items}}

[[Category:Renewable resources]]

[[cs:Kniha]]
[[de:Buch]]
[[es:Libro]]
[[fr:Livre]]
[[hu:Könyv]]
[[it:Libro]]
[[ja:本]]
[[ko:책]]
[[nl:Boek]]
[[pl:Książka]]
[[pt:Livro]]
[[ru:Книга]]
[[th:หนังสือ]]
[[uk:Книга]] 
[[zh:书]]</li><li>[[Raw Salmon|Raw Salmon]]<br/>{{about|the item|the mob|Salmon}}
{{Item
| title = Raw Salmon
| image = Raw Salmon.png
| renewable = Yes
| heals = {{hunger|2}}
| stackable = Yes (64)
}}
'''Raw salmon''' is a food item that can be eaten by the [[player]] or cooked to make [[cooked salmon]].

== Obtaining ==

=== Mob loot ===
====Salmon====
[[Salmon]] always drops 1 raw salmon when killed, unaffected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref> If it is killed while on [[fire]], it drops 1 [[Cooked Salmon|cooked salmon]] instead.
====Guardians and elder guardians ====
[[Guardian|Guardians]] and [[Elder Guardian|elder guardians]] have a 2.5% chance to drop a random fish, with 25% of them being raw salmon, which drops as cooked if the guardian was on fire. The chance of getting the fish drop is increased by 1% per level with [[Looting]] (for a maximum of 5.5% with Looting III), but the type of fish is not affected.
====Polar bears====
[[Polar bear]]s have a 25% chance of dropping 0–2 raw salmon when killed. The maximum amount can be increased by 1 per level of Looting, for a maximum of 0-5 with Looting III. If killed while on fire, they drop cooked salmon instead.
=== Fishing ===
{{main|Fishing}}Raw salmon can be obtained from [[fishing]]. The wait time of one being caught is decreased with the [[Lure]] enchantment and the chance of one being caught is slightly decreased with the [[Luck of the Sea]] enchantment (named as such because it increases treasure, not fish).

Catching salmon awards 1-6 experience.

=== Chest loot ===

{{LootChestItem|raw-salmon}}

=== Villager gifts ===
{{in|java}}, Fisherman villagers throw raw salmon at [[player]]s under the [[Hero of the Village]] effect.

== Usage ==

=== Smelting ingredient ===

{{smelting
|Raw Salmon
|Cooked Salmon
|0.35
}}

=== Food ===

Raw salmon restores {{hunger|2}} [[hunger]] and 0.2 [[Hunger#Mechanics|saturation]].

=== Cats ===
Raw salmon can be used to tame [[cat]]s with {{frac|1|3}} chance of success, get cats off of [[chest]]s, and [[bed]]s, [[breed]] cats, and make baby cats grow up faster by 10% of the remaining time. Additionally, raw salmon can be used to heal cats by {{hp|2|mob=1}}.

Raw salmon can be used to gain [[ocelot]] trust, breed ocelots, and make baby ocelots grow up by 10%.
=== Dolphins ===

A [[dolphin]] can be fed raw salmon to increase its trust of the player and cause it to interact with the player more often. However, unlike most other animal mobs, this does not cause them to breed.

Additionally, dolphins swim to the nearest chest in a [[shipwreck]] or [[underwater ruin]] after they are fed raw salmon. If the chest in the nearest structure is broken, they swim to another structure with a chest.

=== Trading ===

Apprentice-level Fisherman [[villager]]s have 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to buy 6 raw salmon and one [[emerald]] for 6 cooked salmon.

Journeyman-level Fisherman villagers offer to buy 13 raw salmon for an emerald.

=== Wolves ===
{{IN|bedrock}}, raw salmon can be fed only to [[wolves]] not at full health, healing them by {{hp|2|mob=1}}. Unlike other wolf food, raw salmon cannot be used to breed wolves or to accelerate the growth of baby wolves.

==Sounds==
{{Sound table/Entity/Food}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Raw Salmon
|spritetype=item
|nameid=salmon
|itemtags=fishes
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Salmon
|spritetype=item
|nameid=salmon
|id=265
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Lion Hunter}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet;Fishy Business;A Complete Catalogue}}

== Video ==
<span style="display:inline-block">{{yt|s_GcAFeoREk}}</span>

== History ==
{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Raw Salmon JE1 BE1.png|32px]] Added raw salmon.}}
{{History||1.8|snap=14w25a|Raw salmon is now obtainable rare drops from [[guardian]]s and [[elder guardians]].}}
{{History||1.9|snap=15w44a|Raw salmon can now be found in [[bonus chest]]s.}}
{{History||1.10|snap=16w20a|Raw salmon is now dropped from [[polar bear]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> and <code>cooked_fish</code> IDs have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 349 and 250.}}
{{History|||snap=18w08b|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Raw Salmon JE2 BE2.png|32px]] The texture for raw salmon has been changed.}}
{{History||1.14|snap=18w48a|Raw salmon can now be found in chests in [[village]] fisher cottages.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] raw salmon.}}
{{History|||snap=19w13a|Fisherman villagers now give raw salmon to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Raw Salmon JE1 BE1.png|32px]] Added raw salmon.}}
{{History||v0.12.1|snap=build 1|Salmon now restores [[hunger]] instead of [[health]].
|Raw salmon can now be used to tame [[ocelot]]s.}}
{{History||v0.16.0|snap=build 1|Salmon is now [[drops|dropped]] by [[guardian]]s and [[elder guardian]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added [[polar bear]]s, which drop raw salmon.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Raw salmon is now found inside [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Raw Salmon JE2 BE2.png|32px]] The texture for raw salmon has been changed.}}
{{History|||snap=beta 1.2.20.1|Added [[dolphin]]s, which can be [[breeding|bred]] with raw salmon.}}
{{History||1.5.0|snap=beta 1.5.0.0|Raw salmon can no longer be used to breed dolphins. 
|Giving raw salmon to dolphins now leads the [[player]] to nearest [[underwater ruins]] or [[shipwreck]].}}
{{History||1.8.0|snap=beta 1.8.0.8|Raw salmon can no longer be used to tame [[ocelot]]s.
|Raw salmon can now be used to [[breeding|breed]] ocelots.
|Added stray [[cat]]s, which can be tamed by being fed raw salmon.}}
{{History||1.11.0|snap=beta 1.11.0.4|Raw salmon can now be [[trading|sold]] to fisherman [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.52|If [[salmon]] is [[death|killed]] while on [[fire]], then they now drop [[cooked salmon]] instead of a raw salmon.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Raw Salmon JE1 BE1.png|32px]] Added raw salmon.}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Raw Salmon JE2 BE2.png|32px]] The texture for raw salmon have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Raw Salmon JE1 BE1.png|32px]] Added raw salmon.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* [[Fishing]]

== References ==
{{reflist}}

{{items}}

[[de:Roher Lachs]]
[[es:Salmón crudo]]
[[ja:生鮭]]
[[ko:생연어]]
[[pt:Salmão cru]]
[[ru:Сырой лосось]]
[[tr:Çiğ Somon]]
[[zh:生鲑鱼]]
[[Category:Renewable resources]]
[[Category:Food]]</li></ul>
14w26aAdded Debug Mode world type.
Block entity graphics would disappear when a block is hit, door and trapdoor hitboxes were inconsistent with their state, and not all interfaces were accessible.
14w27aDifferent block states are used instead of metadata.
Options are disabled when creating the world, and the only game mode available is Spectator Mode.
Block states now generate in a square pattern rather than in an infinite repeating grid.
1.9
{{Extension DPL}}<ul><li>[[Debug Stick|Debug Stick]]<br/>{{about|the item|other uses|Debug}}
{{exclusive|java}}
{{Item
| image = Debug Stick.gif
| rarity = Epic
| renewable = No
| stackable = No
}}

The '''debug stick''' is an [[item]] used to edit the [[block states]] of [[block]]s. It is visually identical to a regular [[stick]], but with a glint (as if [[Enchanting|enchanted]]).

== Obtaining ==

The debug stick is obtainable via [[commands]] such as {{cmd|/give}} or {{Cmd|/item}}, 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. {{control|Hitting}} 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]]. {{control|Using}} 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. {{control|Sneaking}} while {{control|hitting}} or {{control|using}} cycles through the block state keys or values in reverse order.

It is notable that {{Control|using}} debug stick directly on an interactive block without {{Control|sneaking}} uses the block itself instead of the stick.<ref>{{bug|MC-200199}} </ref>

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 {{control|using}} it on a block, the player swings the stick as if interacting with it (but nothing happens).

== Data values ==
=== ID ===
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Debug Stick
|spritetype=item
|nameid=debug_stick
|form=item
|foot=1}}

=== Item data ===

<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Debug Sticks}}
</div>

== History ==

{{History|java}}
{{History||1.13|snap=17w47a|[[File:Debug Stick.gif|32px]] Added debug sticks.}}
{{History||1.16|snap=20w10a|Debug sticks are now capable of editing [[fire]] due to its added hitbox.}}
{{History||1.19.3|snap=22w44a|The debug stick is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the debug stick behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}}
{{History|foot}}

== Issues ==
The debug stick is not supported, and any issues resulting of its usage are closed as "Won't Fix" in the issue tracker.<br/> Issues with the stick itself are considered valid.<ref>https://bugs.mojang.com/browse/MC-122323?focusedCommentId=419481&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-419481</ref><ref>{{reddit|7es23r||Just be aware that any weird state you create with it you cannot naturally create and any bugs that come from it will be shot down as 'Wont fix' :D|_Grum|November 22, 2017}}</ref>

{{issue list}}

== Trivia ==
*An [[add-on]] made by Mineplex was showcased in [[MINECON Live 2019]], which had an editor stick for {{el|be}}, similar to the Debug Stick.<ref>{{ytl|OZqNaEX8208|MINECON Live 2019 @ 1:05:02|Minecraft|September 28, 2019|t=3902}}</ref>

== Gallery ==
<gallery>
Technically Updated.jpg|Artwork of Steve and Alex wielding debug sticks.
</gallery>

== See also ==
*[[Block states]]

== References ==
{{Reflist}}

{{Items}}

[[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:调试棒]]</li><li>[[:Category:Storage|Category:Storage]]<br/>Blocks and items used to '''store''' other blocks or items.

[[Category:Blocks]][[Category:Items]]

[[ja:カテゴリ:ストレージ]]
[[zh:Category:储物]]</li></ul>
15w31aAll interfaces are now accessible.
15w37aBlock entity graphics are now regenerated (and set to default), when the block is hit.
15w38aDoor and trapdoor hitboxes are now consistent with their state.

Issues

Note that any bugs relating to using other game modes than spectator are resolved as "Invalid" due to the fact that the world type can be legitimately accessed only in spectator.

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

Trivia

  • The set biome for this mode is plains by default in the Overworld.
  • The sun is displayed as if it were the beginning of the day (time 1000), but the day-night cycle is disabled.
    • Regardless, the time can still be adjusted with the use of the /time command, and the day-night cycle can be toggled with the use of the /gamerule doDaylightCycle command. The time can be also advanced from nighttime to sunrise with the use of a bed.
  • Using a map does not create an accurate map of the blocks in the world.
  • This type of world is the only type where barriers spawn naturally.
  • After setting the world type to Debug Mode, the Game Mode button is locked in Spectator, and a line of text appears beneath: "You can look but don't touch".

Gallery

Advertisement