Minecraft Wiki
(45 intermediate revisions by 27 users not shown)
Line 1: Line 1:
  +
{{Infobox command
{{:commands/infobox
 
|title
+
|name=title
  +
|oplevel=2{{only|java|short=1}}<br>1{{only|bedrock|short=1}}
|op
 
  +
|others=[[Options|Cheat]] only{{only|bedrock|short=1}}
|Java Edition 1.8|Java Edition 14w20a
 
|PE 1.0.5|Pocket Edition alpha 1.0.5.0
 
 
}}
 
}}
   
Controls screen titles.
+
Controls text displayed on the screen.
   
  +
== Usage ==
Screen titles are displayed to players as a single line of large center-aligned text in the middle of their displays and can include a second line of text called a "subtitle". Both lines are specified using [[#Raw JSON text|complicated formatting]]. Screen titles can be set to fade in and fade out, and the duration they are displayed can also be specified. Screen titles scale in size with the [[Options#Video Settings|GUI Scale]] and screen titles which are too big to fit on the screen are not line-wrapped (they just overflow off the screen on both sides).
+
A screen title is displayed to players as a single line of large center-aligned text in the middle of their displays, and can include a subtitle; a second, separate line of text displayed just below the title. Text can also be printed to the action bar, the space just above the player's hotbar. All of them are specified using [[Raw JSON text format|raw JSON text components]] {{in|java}}. {{IN|bedrock}}, the <code>/title</code> command uses plain text while <code>/titleraw</code> uses raw JSON text components. Screen titles can be set to fade in and fade out, and the duration they are displayed can also be specified. Screen titles scale in size with the GUI Scale and screen titles that are too big to fit on the screen are not line-wrapped (they just overflow off the screen on both sides).
   
  +
Note that "fadeIn", "stay", and "fadeOut" values of each player are only stored on their own client side, and these values can be changed only when executing this command.
;Syntax
 
   
 
==Syntax==
: The command has six variations, each with different arguments.
 
   
* '''Java Edition'''
+
*'''Java Edition'''
: <code>title <''player''> clear</code> (removes the screen title from the screen)
+
: <code>title <targets> (clear|reset)</code>
: <code>title <''player''> reset</code> (resets options to default values)
+
: <code>title <targets> (title|subtitle|actionbar) <title></code>
: <code>title <''player''> title <''raw json title''></code> (displays the text as the title position)
+
: <code>title <targets> times <fadeIn> <stay> <fadeOut></code>
: <code>title <''player''> subtitle <''raw json title''></code> (displays the text in the subtitle position)
 
: <code>title <''player''> actionbar <''raw json title''></code> (displays the text as the action bar position)
 
: <code>title <''player''> times <''fadeIn''> <''stay''> <''fadeOut''></code> (specifies fade-in, stay, and fade-out times)
 
   
* '''Bedrock Edition'''
+
*'''Bedrock Edition (plain text)'''
: <code>title <''player: target''> clear</code> (removes the screen title from the screen)
+
: <code>title <player: target> <clear|reset></code>
: <code>title <''player: target''> reset</code> (resets options to default values)
+
: <code>title <player: target> <title|subtitle|actionbar> <titleText: message></code>
: <code>title <''player: target''> <title|subtitle|actionbar> <''titleText: message''></code> (displays the text as the title, subtitle, or action bar position)
+
: <code>title <player: target> times <fadeIn: int> <stay: int> <fadeOut: int></code>
  +
*'''Bedrock Edition (JSON)'''
: <code>title <''player: target''> times <''fadeIn: int''> <''stay: int''> <''fadeOut: int''></code> (specifies fade-in, stay, and fade-out times)
 
  +
: <code>titleraw <player: target> <clear|reset></code>
  +
: <code>titleraw <player: target> <titleLocation: TileRawSet> <raw json titleText: json></code>
 
: <code>titleraw <player: target> times <fadeIn: int> <stay: int> <fadeOut: int></code>
   
  +
===Detail===
;Arguments
 
  +
: <code>... clear</code>
 
:: Clears the screen title from the screens of the specified player(s).
  +
: <code>... reset</code>
 
:: Resets the subtitle text for the specified player(s) to blank text, and the fade-in, stay and fade-out times to their default values (defaults to 10 gt, 70 gt, and 20 gt).
  +
: <code>... subtitle ...</code>
 
::If a screen title is currently being displayed to the specified player(s), changes the current subtitle to the specified text; otherwise, specifies the subtitle for the next screen title to be displayed to the specified player(s).
  +
: <code>... title ...</code>
 
::Displays a screen title to the specified player(s), or changes the current screen title to the specified text. After fading out, resets the subtitle back to blank text, but does not reset fade-in, stay, and fade-out times.
  +
: <code>... actionbar ...</code>
 
::Displays text on the action bar to the specified player(s), or changes the current action bar title.
  +
: <code>... times ...</code>
 
::Changes the fade-in, stay, and fade-out times (measured in game ticks) of all current and future screen titles for the specified player(s).
   
 
==Arguments==
: ''player'' (BE: ''player: target'')
 
:: Specifies the player(s) to display a screen title to. Must be a player name or [[#Target selectors|target selector]].
 
   
  +
{{argument|targets|entity|target: target|CommandSelector<Player>}}
: ''raw json title'' (BE: ''titleText: message'') (<code>subtitle</code>, <code>title</code>, and <code>actionbar</code> mode only)
 
 
: Specifies the player(s) to display a screen title to.
:: Specifies the text to display as a title, subtitle, or on the action bar. Must be valid [[Commands#Raw JSON text|raw JSON text]] (for example, <code>{"text":"Chapter I","bold":true}</code>).
 
  +
: {{arg desc|je=entity|amount=multiple|type=players|be=player}}
   
  +
{{el|je|short=1}}: {{argument|title|component}}<br>
: ''fadeIn'', ''stay'', and ''fadeOut'' (BE: ''fadeIn: int'', ''stay: int'', and ''fadeOut: int'') (<code>times</code> mode only)
 
  +
{{el|be|short=1}}: {{argument|be=1|titleText: message|CommandMessage}} or {{argument|be=1|raw json titleText: json|Json::Value}}
:: Specifies the time in [[Tick|game tick]]s (1/20ths of a second) for the screen title to fade in, stay, and fade out. All values must be between -2,147,483,648 and 2,147,483,647 (inclusive, without the commas), but values below 0 will be treated as 0. If not specified (or if reset), defaults to 10 (0.5 seconds), 70 (3.5 seconds), and 20 (1 second).
 
  +
: Specifies the text to display as a title, subtitle, or on the action bar.
  +
: {{IN|java}}, {{lcfirst:{{arg desc|je=component}}}}
  +
: {{IN|bedrock}},
  +
:* For <code>titleText: message</code>, {{lcfirst:{{arg desc|be=CommandMessage}}}}
  +
:* for <code>raw json titleText: json</code>, {{lcfirst:{{arg desc|be=Json::Value}}}}
   
  +
{{el|je|short=1}}: {{argument|fadeIn|integer}}, {{argument|stay|integer}} and {{argument|fadeOut|integer}}<br>
;Result
 
  +
{{el|be|short=1}}: {{argument|be=1|fadeIn: int|int}}, {{argument|be=1|stay: int|int}}, and {{argument|be=1|fadeOut: int|int}}
 
: Specifies the time in [[Tick|game tick]]s (1/20ths of a second) for the screen title to fade in, stay, and fade out. {{IN|bedrock}}, values below 0 are treated as 0. If not specified, defaults to 10 (0.5 seconds), 70 (3.5 seconds), and 20 (1 second).
  +
: {{arg desc|je=integer|min=0|be=int}} And {{in|bedrock}} it must be between -2147483648 and 2147483647 (inclusive).
  +
 
==Result==
 
[[File:Title command.png|thumb|Example result of the title command.]]
 
[[File:Title command.png|thumb|Example result of the title command.]]
  +
{{Result table}}
  +
{{Result table|the arguments are not specified correctly|unparseable|fail}}
  +
{{Result table|<code><targets></code> or <code>player: target</code> fails to resolve to one or more online players|fail}}
  +
{{Result table|succeed|Displays the title.}}
  +
{{Result table}}
  +
  +
== Output ==
   
  +
{{Output table}}
: Fails if the arguments are not specified correctly, or if ''player'' fails to evaluate to one or more online players.
 
  +
{{Output table|edition=je|On fail|0|0|0}}
  +
{{Output table|On success|1|1|the number of targeted players}}
  +
{{Output table|edition=be|On fail|0}}
  +
{{Output table|On success|the number of targeted players}}
  +
{{Output table}}
   
 
==Examples==
: On success:
 
:* <code>clear</code> — Clears the screen title from the screens of the specified player(s). If no screen title is currently being displayed, has no effect.
 
:* <code>reset</code> — Resets the subtitle text to blank text, and the fade-in, stay and fade-out times to their default values for the specified player(s).
 
:* <code>subtitle</code> — If a screen title is currently being displayed to the specified player(s), changes the current subtitle to ''title''; otherwise, specifies the subtitle for the next screen title to be displayed to the specified player(s).
 
:* <code>times</code> — Changes the fade-in, stay, and fade-out times of all current and future screen titles for the specified player(s).
 
:* <code>title</code> — Displays a screen title to the specified player(s), or changes the current screen title to ''title''. After fading out, resets the subtitle back to blank text, but does not reset fade-in, stay, and fade-out times.
 
:* <code>actionbar</code> - Displays text on the action bar to the specified player(s), or changes the current action bar title.
 
   
 
All of the following displays a bold screen title "Chapter I" with a gray italic subtitle "The story begins…" to all players.
;Examples
 
   
  +
*{{IN|java}}:
: To display a bold screen title "Chapter I" with a gray italic subtitle "The story begins…" to all players:
 
:# <code>title @a subtitle {"text":"The story begins…","color":"gray","italic":true}</code>
+
*# <code>/title @a subtitle {"text":"The story begins...","color":"gray","italic":true}</code>
:# <code>title @a title {"text":"Chapter I","bold":true}</code>
+
*# <code>/title @a title {"text":"Chapter I","bold":true}</code>
  +
*{{IN|bedrock}} using plain text:
  +
*#<code>/title @a subtitle §7§oThe story begins...</code>
  +
*#<code>/title @a title §lChapter I</code>
  +
*{{IN|bedrock}} with raw text variants:
  +
*#<code>/titleraw @a subtitle {"rawtext": [{"text":"§7§oThe story begins..."}]}</code>
  +
*#<code>/titleraw @a title {"rawtext": [{"translate":"§lChapter %%s","with":["I"]}]}</code>
   
 
== History ==
 
== History ==
Line 67: Line 101:
 
{{History|foot}}
 
{{History|foot}}
   
  +
==Notes==
  +
{{notelist}}
   
<!-- please retain double newline above for section differentiation -->
 
 
{{Commands}}
 
{{Commands}}
   
 
[[de:Befehl/title]]
 
[[de:Befehl/title]]
  +
[[pt:Comandos/title]]
 
[[zh:命令/title]]
 
[[zh:命令/title]]

Revision as of 11:39, 14 July 2021

Controls text displayed on the screen.

Usage

A screen title is displayed to players as a single line of large center-aligned text in the middle of their displays, and can include a subtitle; a second, separate line of text displayed just below the title. Text can also be printed to the action bar, the space just above the player's hotbar. All of them are specified using raw JSON text components in Java Edition. In Bedrock Edition, the /title command uses plain text while /titleraw uses raw JSON text components. Screen titles can be set to fade in and fade out, and the duration they are displayed can also be specified. Screen titles scale in size with the GUI Scale and screen titles that are too big to fit on the screen are not line-wrapped (they just overflow off the screen on both sides).

Note that "fadeIn", "stay", and "fadeOut" values of each player are only stored on their own client side, and these values can be changed only when executing this command.

Syntax

  • Java Edition
title <targets> (clear|reset)
title <targets> (title|subtitle|actionbar) <title>
title <targets> times <fadeIn> <stay> <fadeOut>
  • Bedrock Edition (plain text)
title <player: target> <clear|reset>
title <player: target> <title|subtitle|actionbar> <titleText: message>
title <player: target> times <fadeIn: int> <stay: int> <fadeOut: int>
  • Bedrock Edition (JSON)
titleraw <player: target> <clear|reset>
titleraw <player: target> <titleLocation: TileRawSet> <raw json titleText: json>
titleraw <player: target> times <fadeIn: int> <stay: int> <fadeOut: int>

Detail

... clear
Clears the screen title from the screens of the specified player(s).
... reset
Resets the subtitle text for the specified player(s) to blank text, and the fade-in, stay and fade-out times to their default values (defaults to 10 gt, 70 gt, and 20 gt).
... subtitle ...
If a screen title is currently being displayed to the specified player(s), changes the current subtitle to the specified text; otherwise, specifies the subtitle for the next screen title to be displayed to the specified player(s).
... title ...
Displays a screen title to the specified player(s), or changes the current screen title to the specified text. After fading out, resets the subtitle back to blank text, but does not reset fade-in, stay, and fade-out times.
... actionbar ...
Displays text on the action bar to the specified player(s), or changes the current action bar title.
... times ...
Changes the fade-in, stay, and fade-out times (measured in game ticks) of all current and future screen titles for the specified player(s).

Arguments

JE<targets>: entity
BE: target: target: CommandSelector<Player>

Specifies the player(s) to display a screen title to.
Must be a player name, a target selector or a UUID[Java Edition only]. And the target selector must‌[JE only]/should‌[BE only] be of player type.

JE: <title>: component
BE: titleText: message: CommandMessage or raw json titleText: json: Json::Value

Specifies the text to display as a title, subtitle, or on the action bar.
In Java Edition, must be a raw JSON text.
In Bedrock Edition,
  • For titleText: message, must be a plain text. Can include spaces as well as target selectors. The game replaces entity selectors in the message with the list of selected entities' names, which is formatted as "name1 and name2" for two entities, or "name1, name2, ... and namen" for n entities.@here can be used to mention all players.
  • for raw json titleText: json, must be a JSON Object.

JE: <fadeIn>: integer, <stay>: integer and <fadeOut>: integer
BE: fadeIn: int: int, stay: int: int, and fadeOut: int: int

Specifies the time in game ticks (1/20ths of a second) for the screen title to fade in, stay, and fade out. In Bedrock Edition, values below 0 are treated as 0. If not specified, defaults to 10 (0.5 seconds), 70 (3.5 seconds), and 20 (1 second).
Must be a 32-bit integer number. In Java Edition, it must be between 0 and 2147483647 (inclusive). And in Bedrock Edition it must be between -2147483648 and 2147483647 (inclusive).

Result

Title command

Example result of the title command.

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Failed
<targets> or player: target fails to resolve to one or more online players Failed
OtherwiseDisplays the title.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success11the number of targeted players
Bedrock EditionOn fail0N/AN/A
On successthe number of targeted playersN/AN/A

Examples

All of the following displays a bold screen title "Chapter I" with a gray italic subtitle "The story begins…" to all players.

  • In Java Edition:
    1. /title @a subtitle {"text":"The story begins...","color":"gray","italic":true}
    2. /title @a title {"text":"Chapter I","bold":true}
  • In Bedrock Edition using plain text:
    1. /title @a subtitle §7§oThe story begins...
    2. /title @a title §lChapter I
  • In Bedrock Edition with raw text variants:
    1. /titleraw @a subtitle {"rawtext": [{"text":"§7§oThe story begins..."}]}
    2. /titleraw @a title {"rawtext": [{"translate":"§lChapter %%s","with":["I"]}]}

History

Java Edition
1.8
{{Extension DPL}}<ul><li>[[Compass|Compass]]<br/>{{About|the item used to point to the world spawn or to a lodestone|the item used to point to the location of the player's last death|Recovery Compass}}
{{Item
| image = Compass.gif
| image2 = Lodestone Compass.gif
| renewable = Yes
| stackable = '''Compass:''' Yes (64)<br>'''Lodestone Compass:''' No
}}
A '''compass''' is an item used to point to the world spawn or to a [[lodestone]].

== Obtaining ==

=== Crafting ===

{{Crafting
                |B1= Iron Ingot
|A2= Iron Ingot |B2= Redstone Dust   |C2= Iron Ingot
                |B3= Iron Ingot
|Output= Compass
|type= Tool
}}

=== Chest loot ===

{{LootChestItem|compass}}

=== Trading ===

{{IN|java}}, expert-level librarian [[villager]]s have a 50% chance to sell a single compass for 4 [[emerald]]s.

{{IN|bedrock}}, expert-level librarian villagers have a {{frac|1|3}} chance to sell a single compass for 4 emeralds.

== Usage ==

Normally, the compass' needle points toward the world [[Spawn#World spawn|spawn point]]. The compass points to spawn when viewed in any way, including as a dropped [[Item (entity)|item]], in a player's hand, in an inventory or the crafting table, or in an [[item frame]]. The direction the needle points to is relative to the player who is viewing it. When a compass in an item frame is rotated, the needle turns accordingly.

In [[the Nether]] or [[the End]], the compass' needle spins and points in random directions.

The compass can be used on a [[lodestone]], after which it is named lodestone compass by default and points to that lodestone as long as the compass is in the same dimension as the lodestone, but if the compass is taken to a different dimension, it spins randomly, as a normal compass would in the Nether or the End. If the lodestone is destroyed, it also spins randomly, even if the lodestone is replaced afterward.  However, if a lodestone compass is placed in storage, the lodestone can be broken and replaced without the compass losing the attunement, as long as the compass remains in storage while the lodestone is missing.

A lodestone compass appears [[enchanting|enchanted]], similar to the [[Enchanted Golden Apple|enchanted golden apple]].

Using {{cmd|setworldspawn}} to change the world spawn also changes where the compass points.

=== Crafting ingredient ===

{{crafting usage|Compass, Compass.gif}}

=== Anvil usage ===

{{:Map/BE|position}}

=== Trading ===

A single compass can be sold to a journeyman-level cartographer villager for 1 [[emerald]].{{only|java}}

A single compass can be sold to an expert-level cartographer villager for 1 emerald as their sixth trade.{{only|bedrock}}
 
A compass is also part of the cost of [[explorer map]]s:

* An ocean explorer map and{{only|java|short=1}}/or{{only|bedrock|short=1}} a woodland explorer map can be bought from a journeyman-level cartographer for 12 emeralds and one compass, as part of their fifth trade.{{only|bedrock}}

* {{IN|java}}, apprentice-level cartographer villagers offer to sell an ocean explorer map for 13 emeralds and a compass, and journeyman-level cartographer villagers offer to sell a woodland explorer map for 14 emeralds and one compass.

=== Enchantments ===

A compass can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|}

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Lodestone lock1.ogg
|sound2=Lodestone lock2.ogg
|source=player
|subtitle=Lodestone Compass locks onto Lodestone
|description=When a compass is used on a lodestone
|id=item.lodestone_compass.lock
|translationkey=subtitles.item.lodestone_compass.lock
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 0.85 or 0.95 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Lodestone lock1.ogg
|sound2=Lodestone lock2.ogg
|source=block
|description=When a compass is used on a lodestone
|id=lodestone_compass.link_compass_to_lodestone
|volume=1.0
|pitch=0.85-0.95
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Compass
|spritetype=item
|nameid=compass
|form=item
|translationkey=item.minecraft.compass,item.minecraft.lodestone_compass
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Compass
|spritetype=item
|nameid=compass
|id=391
|form=item}}
{{ID table
|displayname=Lodestone Compass
|spritename=lodestone-compass-be
|spritetype=item
|nameid=lodestone_compass
|aliasid=lodestonecompass
|id=602
|form=item
|translationkey=item.lodestonecompass.name
|foot=1}}

=== Item data ===

{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Compasses}}
</div>

{{el|bedrock}}:
: See [[Bedrock Edition level format/Item format]].

== Advancements ==
{{load advancements|Country Lode}}

== History ==
{{History|java alpha}}
{{History||v1.1.0|[[File:Compass JE1.gif|32px]] Added compasses.
|They have 102 visually distinct frames due to how the texture is generated - see the section below.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Compasses can now be found in library [[chest]]s in the new [[strongholds]].}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] 1 compass for 10–11 [[emerald]]s, making them [[renewable]].}}
{{History||1.4.2|snap=12w34a|Since the mapping system has been changed, a compass can now be used to [[crafting|craft]] an empty [[map]].}}
{{History||1.5|snap=13w02a|[[File:Compass JE2 BE2.gif|32px]] Compasses now, instead of splitting two textures, use the new animation feature included in texture packs. As a result, they are considerably less precise, having only 29 visually distinct frames. }}
{{History||1.8|snap=14w02a|Librarian villagers now sell 1 compass for 10–12 emeralds.}}
{{History||1.9|snap=15w31a|Compasses are now broken up into individual textures, instead of having every individual frame on one vertical strip like with animated textures.}}
{{History|||snap=15w43a|The average yield of compasses in [[stronghold]] library [[chest]]s has been increased.}}
{{History||1.11|snap=16w39a|Cartographer [[villager]]s have been added, who [[trading|buy]] compasses as their tier 2 trade.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 345.}}
{{History|||snap=18w11a|Compasses can now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w48a|Compasses can now generate in chests in [[village]] cartographer houses.}}
{{History||1.16|snap=20w13a|[[File:Lodestone Compass JE1.gif|32px]] Compasses can now be used on [[lodestone]]s to make them point to the stones.
|Compasses now point to the center of the spawn point block, instead of its north-west corner.}}
{{History|||snap=20w14a|Compasses now have the <code>LodestonePos</code>, <code>LodestoneDimension</code>, and <code>LodestoneTracked</code> data fields. If <code>LodestoneTracked</code> is zero, the game skips checking for a lodestone in the specified position.
|Compasses can now have the [[Curse of Vanishing]] [[enchantment]] on them.}}
{{History|||snap=20w19a|Compasses no longer work in the [[recipe book]].<ref>{{bug|MC-116293}}</ref>}}
{{History|||snap=20w22a|Compasses no longer work in the villager trading GUI.<ref>{{bug|MC-182888}}</ref>}}
{{History||1.17|snap=20w48a|[[File:Compass JE3.gif|32px]] [[File:Lodestone Compass JE2.gif|32px]] The textures of compass and lodestone compass have been changed.}}
{{History||1.19|snap=22w13a|Compasses may now be found in [[ancient city]] [[chest]]s.}}
{{History|||snap=22w14a|Compasses can now used to craft [[recovery compass]]es.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Compass BE1.png|32px]] Added compasses.
|Compasses currently have no function or legitimate method of obtaining them.}}
{{History||v0.8.0|snap=build 1|[[File:Compass JE2 BE2.gif|32px]] Added animated texture to compasses.
|Compasses are now functional and [[crafting|craftable]]. They have been added into the Creative Inventory.}}
{{History||v0.14.0|snap=build 1|Compasses must now be added to a [[map]] using an [[anvil]] to add the location marker.}}
{{History|pocket}}
{{History||1.0.0|snap=?|[[Windows 10 Edition]] can now use the [[anvil]], as well as the [[crafting table]], to apply position markers, with compasses just as [[Pocket Edition]] can in general.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] 1 compass for 10–12 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.3|Cartographer villagers have been added, who [[trading|buy]] compasses as part of their tier 2 trade.
|Compasses used with emeralds can be used to buy explorer maps as part of cartographer villagers' fourth tiers trade.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Compasses can now be found inside map room [[chest]]s in [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Compasses can now be found in [[village]] cartographer house chests.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, cartographer [[villager]]s now [[trading|buy]] compassess as part of their fourth tier trades.
|Compasses used with [[emerald]]s can now be used to buy explorer maps as part of cartographer and fletcher villagers' third tier trades.
|Librarian villagers now have a {{frac|1|3}} chance to [[trading|sell]] compasses for 4 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Lodestone Compass BE1.gif|32px]] Compasses can now be used on [[lodestone]]s to make them point to the stones.
|Compasses now have the <code>LodestonePos</code>, <code>LodestoneDimension</code>, and <code>LodestoneTracked</code> data fields. If <code>LodestoneTracked</code> is zero, the game skips checking for a lodestone in the specified position.
|Compasses can now have the [[Curse of Vanishing]] [[enchantment]] on them.}}
{{History||1.16.100|snap=beta 1.16.100.56|Changed the ID {{code|lodestonecompass}} to {{code|lodestone_compass}}.}}
{{History||1.17.0|snap=beta 1.17.0.54|[[File:Compass JE3.gif|32px]] The texture of compass has been changed.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Lodestone Compass JE2.gif|32px]] The texture of lodestone compass has been changed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Compass JE2 BE2.gif|32px]] Added compasses.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Compass JE2 BE2.gif|32px]] Added compasses.}}
{{History|foot}}
	
=== Texture generation prior to Java Edition 13w02a ===
{{:Procedural animated texture generation/Compasses}}

== Issues ==
{{issue list}}

== Gallery ==

<gallery>
12w21a CompassPurchase.png|Purchasing a compass from a librarian [[villager]].
</gallery>

== See also ==
*[[Clock]]
*[[Tutorials/Navigation|Navigation]]

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--compass Taking Inventory: Compass] – Minecraft.net on August 15, 2019

{{Items}}

[[Category:Tools]]
[[Category:Renewable resources]]

[[cs:Kompas]]
[[de:Kompass]]
[[es:Brújula]]
[[fr:Boussole]]
[[hu:Iránytű]]
[[it:Bussola]]
[[ja:コンパス]]
[[ko:나침반]]
[[nl:Kompas]]
[[pl:Kompas]]
[[pt:Bússola]]
[[ru:Компас]]
[[uk:Компас]]
[[zh:指南针]]</li><li>[[Campfire|Campfire]]<br/>{{Block
| image = <gallery>
Campfire.gif|Campfire
Soul Campfire.gif|Soul Campfire
Unlit Campfire.png|Unlit
</gallery>
| image2 = <gallery>
Campfire (item) JE2.png|Campfire
Soul Campfire (item) JE2.png|Soul Campfire
</gallery>
| invimage = Campfire
| invimage2 = Soul Campfire
| transparent = No
| light = '''Campfire''': <br>Yes (15) when lit<br>'''Soul Campfire''': <br>Yes (10) when lit
| tool = axe
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = Yes
}}
A '''campfire''' is a block that can be used to cook [[food]], pacify [[bee]]s, act as a spread-proof [[light source]], smoke signal or damaging trap block.

A '''soul campfire''' is a dimmer variant of the campfire with turquoise flames. Soul campfires deal more damage than normal campfires.

== Obtaining ==
=== Breaking ===
Campfires can be mined with any tool, or without a tool, but [[axe]]s are the fastest. A regular campfire drops 2{{only|java|short=1}} or 4{{only|bedrock|short=1}} [[charcoal]], a soul campfire drops [[soul soil]], and either one also drops any items placed on it. If mined with a tool enchanted with [[Silk Touch]], the campfire instead drops itself as an item.

{{IN|BE}}, either kind of campfire can also be broken by pushing it with a [[piston]] or [[sticky piston]]. Pistons cannot move or break campfires {{in|je}}.

{{breaking row
|Campfire, Soul Campfire
|axe
|horizontal=1}}

=== Natural generation ===
Campfires can generate in {{BiomeLink|taiga}} and {{BiomeLink|snowy taiga}}{{only|be}} [[village]]s.

Campfires also generate in camps inside [[ancient city|ancient cities]], beneath a pile of blue, light blue and cyan [[wool]] blocks.

=== Crafting ===
{{Crafting
|head=1
|B1= Stick
|A2= Stick
|B2= Coal; Charcoal
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Campfire
|type= Decoration block
}}
{{Crafting
|foot=1
|B1= Stick
|A2= Stick
|B2= Soul Sand; Soul Soil
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Soul Campfire
|type= Decoration block
}}

=== Trading ===
{{IN|bedrock}}, apprentice-level fisherman [[villager]]s have a 50% chance of selling a campfire for 5 [[emerald]]s.

{{IN|java}}, apprentice-level fisherman villagers have a {{frac|2|3}} chance of selling a campfire for 2 [[emerald]]s.

== Usage ==
Lit campfires emit a light level of 15 and lit soul campfires emit a light level of 10. Unlike [[fire]], campfires do not spread under any circumstances.

Campfires are lit by default when placed. Campfires can be manually lit by {{control|using}} or [[Dispenser|dispensing]] [[flint and steel]] on them, shooting it with a flaming arrow, or using or dispensing fire charges, blaze fireballs, and ghast fireballs when {{cmd|gamerule|mobGriefing}} is true. {{IN|bedrock}}, campfires can also be lit by {{control|using}} an item enchanted with [[fire aspect]], or stepping on it while burning. 

Campfires can be extinguished by [[waterlogging]] it (placing [[water]] in the same block space), throwing a [[splash water bottle]] on it, or {{control|using}} a [[shovel]] on it. {{IN|bedrock}}, campfires can also be extinguished by placing a water source or allowing water to flow in the space above the campfire. As with [[torches]], rain does not extinguish campfires.<ref>{{bug|MC-141920||Rain doesn't put out campfire|Works as Intended}}</ref>

Using [[flint and steel]] on the side of a waterlogged or lit campfire sets the adjacent air block on fire instead.

Any items cooking on a campfire always drop when the campfire block is broken.

=== Particles and smoke signals ===
[[File:Campfire with smoke.gif|thumb|Campfire emitting smoke.]]
Campfires produce smoke particles that float up around 10 blocks before disappearing. If a [[hay bale]] is placed below, the campfire becomes a signal fire and the smoke floats up 24 blocks instead.

Campfire smoke particles can partially pass through a block directly above it, but do not pass through blocks more than one block directly above it.

Although a trap door is thinner than a slab, a trap door can block the smoke completely, preventing the smoke from floating up.

Campfires emit extra smoke particles during rain, similar to [[lava]].

Campfires also emit occasional ember particles, similar to lava. Soul campfires, however, do not emit embers.<ref>{{bug|MC-185482||Soul campfires do not emit ember particles|Works as Intended}}</ref>

=== Damage ===

Campfires damage [[mob]]s standing on top of them even if underwater (with exceptions such as [[shulker]]s, [[zombified piglin]]s or [[guardian]]s), but only if lit. Campfires deal {{hp|1}} and soul campfires deal {{hp|2}} of damage every tick (although [[damage immunity]] reduces this to once every half-second) Campfires do not cause lasting burning or destroy items. Damage taken is considered [[Damage#Fire|fire damage]] and is reduced by [[armor]] (which loses [[Item durability#Armor durability|durability]]), the [[Resistance]] potion effects, and the [[Protection]] and [[Fire Protection]] enchantments. The player can avoid being damaged at all, either by using a [[potion of fire resistance]] or wearing [[Frost Walker]] boots.

Regardless of [[Solid block#Height|height]], all blocks prevent damage done to mobs or players above campfires. The campfire deals damage only to entities occupying its block.

=== Cooking ===
[[File:Campfire (Cooking).gif|thumb]]
The player can place {{tooltip|raw food|raw beef, raw chicken, raw rabbit, raw porkchop, raw mutton, raw cod, raw salmon, potato, kelp}} on a lit campfire by {{control|using}} the food item on it. Up to four food items can be placed on a single campfire, which cooks the items simultaneously. Unlike other blocks that can cook food, campfires do not require any kind of fuel to cook. On a campfire, foods produce small smoke particles, indicating they are being cooked. Food items take 30 seconds (600 [[tick]]s) to cook, compared to 10 seconds for [[furnace]]s or 5 seconds for [[smoker]]s. Assuming that one uses all four slots to cook at once, the Campfire is, therefore, more efficient than furnaces (taking 10 seconds less per four items and no fuel) for cooking, but must be watched so as to pick up the food and refill it once it is done. It is slower than a smoker by about ten seconds, but its lack of fuel consumption could be seen as a worthwhile trade-off. Once finished cooking, items pop off the campfire. If the campfire is extinguished while cooking food, it resets as if it had not been cooked at all. Food items can be placed on an unlit campfire. 

Other items can be placed on campfires using external editors, mods or add-ons.

=== Hoppers ===
Campfires do not have an [[Inventory#External inventories|external inventory]]. Raw food cannot be loaded into the campfire with a [[hopper]].

A hopper placed directly underneath a campfire pulls through any items dropped into the campfire. Any drops from a mob that dies in the campfire get pulled into the hopper.

=== Bees ===
Placing a campfire under a [[beehive]] or [[bee nest]] allows players to harvest [[honey bottle]]s or [[honeycomb]] without provoking the [[bee]]s.
There must be unobstructed air between the campfire and the beehive or bee nest. [[Carpet]]s are an exception.{{only|JE}}

=== Piglins ===
Lit soul campfires repel [[piglin]]s that are not currently attacking. This occurs when the [[piglin]] is within an 8 block radius of the soul campfire.

=== Light source ===
Standard lit campfires emit a light level of 15, while soul campfires emit a light level of 10. Like most other sources of light, campfires melt nearby [[snow]] and [[ice]]. Due to their lower light level, soul campfires do not melt snow or ice.

=== Note blocks ===
Campfires can be placed under [[note block]]s to produce "bass" sounds.

=== Converting soul sand to soul soil ===
Soul campfires can be used to convert [[soul sand]] into [[soul soil]]. If a soul campfire is crafted using soul sand, placed, and then broken without [[Silk Touch]], that soul campfire drops soul soil.<ref>{{bug|MC-178579||Soul campfires can be used to convert soul sand into soul soil|Works as Intended}}</ref>

=== Piston interactivity ===
{{IN|BE}}, pushing a campfire or soul campfire with a [[piston]] or [[sticky piston]] breaks it. Unlike other methods, breaking with a piston drops only one [[charcoal]] instead of two. Campfires cannot be pulled by sticky pistons.

{{IN|JE}}, pistons do not interact with campfires. Campfires neither move nor break when pushed or pulled by pistons.

== Sounds ==
=== Generic ===
{{Sound table/Block/Wood}}

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Campfire crackle1.ogg
|sound2=Campfire crackle2.ogg
|sound3=Campfire crackle3.ogg
|sound4=Campfire crackle4.ogg
|sound5=Campfire crackle5.ogg
|sound6=Campfire crackle6.ogg
|subtitle=Campfire crackles
|source=block
|description=Randomly while lit
|id=block.campfire.crackle
|translationkey=subtitles.block.campfire.crackle
|volume=0.5-1.5
|pitch=0.6-1.3
|distance=16}}
{{Sound table
|sound=Flint and steel click.ogg
|subtitle=Flint and steel click
|source=block
|description=When a campfire is lit with a flint and steel
|id=item.flintandsteel.use
|translationkey=subtitles.item.flintandsteel.use
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Ghast fireball4.ogg
|subtitle=Fireball whooshes
|source=block
|description=When a campfire is lit with a fire charge
|id=item.firecharge.use
|translationkey=subtitles.item.firecharge.use
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|rowspan=2
|sound=Fizz.ogg
|subtitle=Fire extinguishes
|source=block
|description=When a campfire is extinguished with water
|id=entity.generic.extinguish_fire
|translationkey=subtitles.entity.generic.extinguish_fire
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Fire extinguished
|source=block
|description=When a campfire is extinguished
|id=block.fire.extinguish
|translationkey=subtitles.block.fire.extinguish
|volume=0.5
|pitch=2.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Campfire crackle1.ogg
|sound2=Campfire crackle2.ogg
|sound3=Campfire crackle3.ogg
|sound4=Campfire crackle4.ogg
|sound5=Campfire crackle5.ogg
|sound6=Campfire crackle6.ogg
|source=block
|description=Randomly while lit
|id=block.campfire.crackle
|volume=1.0 {{Until|BE 1.19.80}}<br>0.5-1.5 {{Upcoming|BE 1.19.80}}
|pitch=1.0 {{Until|BE 1.19.80}}<br>0.6-1.3 {{Upcoming|BE 1.19.80}}}}
{{Sound table
|sound=Flint and steel click.ogg
|source=block
|description=When a campfire is lit
|id=fire.ignite
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Ghast fireball4.ogg
|source=hostile
|description=When a campfire is lit with a fire charge
|id=mob.ghast.fireball
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When a campfire is extinguished
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Campfire
|spritetype=block
|nameid=campfire
|blocktags=campfires}}
{{ID table
|displayname=Soul Campfire
|spritetype=block
|nameid=soul_campfire
|blocktags=campfires, piglin_repellents
|itemtags=piglin_repellents
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=campfire
|spritetype=block
|nameid=campfire
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Campfire
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Normal block
|spritename=campfire
|spritetype=block
|nameid=campfire
|id=464
|form=block
|itemform=item.campfire}}
{{ID table
|displayname=Normal item
|spritename=campfire
|spritetype=item
|nameid=campfire
|id=589
|form=item
|translationkey=tile.campfire.name}}
{{ID table
|displayname=Soul block
|spritename=soul-campfire
|spritetype=block
|nameid=soul_campfire
|id=545
|form=block
|itemform=item.soul_campfire}}
{{ID table
|displayname=Soul item
|spritename=soul-campfire
|spritetype=item
|nameid=soul_campfire
|id=622
|form=item
|translationkey=tile.soul_campfire.name
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=campfire
|spritetype=block
|nameid=Campfire
|foot=1}}

=== Block states ===
{{see also|Block states}}
{{/BS}}

=== Block data ===
A campfire has a [[block entity]] associated with it that holds additional data about the [[block]].

{{el|java}}:
{{see also|Block entity format}}
{{/BE}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Block entity format]].

== Achievements ==
{{load achievements|Bee our guest}}

== Advancements ==
{{Load advancements|Bee Our Guest}}

== History ==
{{History||September 26, 2018|link={{tweet|minecraft|1044587405779451906}}|Campfires are announced to be part of the [[biome]] vote at [[MINECON Earth 2018]].}}
{{History||September 29, 2018|link={{ytl|HoMDyRqMNMA}}|Campfires are showcased at [[MINECON Earth 2018]].}}
{{History||September 29, 2018|link={{tweet|minecraft|1046097775199498325}}|[[Taiga]] wins the [[biome]] vote, meaning campfires are to be added to the game in [[Java Edition 1.14|1.14]].}}
{{History|java}}
{{History||1.14|snap=19w02a|[[File:Campfire JE1 BE1.gif|32px]] [[File:Unlit Campfire JE1 BE1.png|32px]] Added campfires.}}
{{History|||snap=19w03a|[[File:Campfire (item) JE1 BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] The [[model]] and texture of the campfire have been changed.
|Lit campfires now produce spark [[particles]].
|The [[light]] level of campfires has been changed from 9 to 15.
|Campfires are now directionally placed.
|Lit campfires produce smoke plume [[particles]] more often.}}
{{History|||snap=19w04a|Campfires now spawn in [[taiga]] [[village]]s on the ground and inside chimneys.
|Crouching on a campfire no longer prevents the player from taking damage from it.<ref>{{Bug|MC-141913||Sneaking on a campfire prevents damage|Fixed}}</ref>}}
{{History|||snap=19w08a|Campfires can now be extinguished by [[splash water bottle]]s.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|sell]] campfires.}}
{{History||1.14.1|snap=Pre-Release 2|Campfires can now be lit by flaming [[arrow]]s.}}
{{History||1.14.2|snap=Pre-Release 1|Flaming arrows can no longer light [[waterlogging|waterlogged]] campfires.}}
{{History||1.15|snap=19w34a|Campfires under [[bee nest]]s and [[bee hive]]s now prevent [[bee]]s from aggravating toward [[player]]s who harvest them.}}
{{History|||snap=19w37a|Campfires can now be extinguished using a [[shovel]].}}
{{History|||snap=19w42a|Campfires can now be lit by small [[fireball]]s.}}
{{History||1.16|snap=20w11a|Campfires can now be lit by any burning [[projectile]].}}
{{History|||snap=20w13a|Campfires can now be [[crafting|crafted]] using [[stems]] and [[hyphae]].}}
{{History|||snap=20w15a|[[File:Soul Campfire (item) JE1 BE1.png|32px]] [[File:Soul Campfire.gif|32px]] Added soul campfires.}}
{{History|||snap=20w22a|Campfires now [[drops|drop]] the [[food]] being cooked when they are put out with a [[shovel]] or [[water bottle]].}}
{{History|||snap=Pre-release 3|[[File:Unlit Campfire with foods on it.png|32px]] Food can now be placed on unlit campfires. However, due to a bug,<ref>{{Bug|MC-188448||Food pops off of campfire when extinguished|Fixed}}</ref> food pops off of campfires when extinguished.}}
{{History||1.17|snap=20w46a|Food no longer pops off of campfires when extinguished.}}
{{History||1.18|snap=21w41a|[[File:Campfire (item) JE2.png|32px]] [[File:Soul Campfire (item) JE2.png|32px]] Changed campfire and soul campfire textures as items.}}
{{History||1.19|snap=22w13a|Campfires now generate in camps inside [[ancient city|ancient cities]].}}
{{History||1.19.4|snap=23w07a|The soul campfire recipes are no longer unlocked by [[stick]]s.<ref>{{bug|MC-238920}}</ref>}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=1.19.4-pre1|Cherry logs, wood, and their stripped variations can now used to craft campfire and soul campfire.<ref>{{bug|MC-260149}}</ref>}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Campfire JE1 BE1.gif|32px]] [[File:Unlit Campfire JE1 BE1.png|32px]] Added campfires.
|Campfires are available only through [[Experimental Gameplay]].}}
{{History||1.11.0|snap=beta 1.11.0.1|Campfires have been fully implemented.
|[[File:Campfire_(item)_JE1_BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] The [[model]] and texture of the campfire have been changed.}}
{{History|||snap=beta 1.11.0.4|Campfires can now be [[trading|bought]] from fishermen [[villager]]s.}}
{{History||1.13.0|snap=?|Campfires now emit embers similar to [[lava]].}}
{{History||1.14.0|snap=beta 1.14.0.1|Campfires under [[bee nest]]s and [[beehive]]s now prevent [[bee]]s from aggravating toward [[player]]s who harvest them.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Soul_Campfire_(item)_JE1_BE1.png|32px]] [[File:Soul Campfire.gif|32px]] Added soul campfires.}}
{{History||1.16.20|snap=beta 1.16.20.50|Soul campfires now emit [[light]] level of 10.}}
{{History||1.16.100|snap=beta 1.16.100.54|Soul campfires now deal double the damage that normal campfires deal.|Soul campfires now drop [[Soul Soil]] instead of [[Charcoal]] when mined.}}
{{History||1.17.30|snap=beta 1.17.30.23|Campfires are now stackable in the inventory.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Campfire (item) JE2.png|32px]] [[File:Soul Campfire (item) JE2.png|32px]] Changed campfire and soul campfire textures as items.}}
{{History||1.19.60|snap=beta 1.19.60.23|Campfires no longer set players and mobs on fire.}}
{{History||1.19.80|snap=beta 1.19.80.22|Campfires now damage mobs standing on top of them.}}
{{History||1.20.30|snap=beta 1.20.30.20|Campfires now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}

{{History|console}}
{{History||ps=1.91|[[File:Campfire_(item)_JE1_BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] Added campfires.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Gallery ==
<gallery>
Cozy Cabin Smoke.jpg|Campfire smoke coming out of a cozy cabin.
Cozy Cabin Campfire.jpg|Campfire near a cozy cabin.
1.14 Dev Campfire.jpg|Dev screenshot.
Campfire in taiga village.png|A few naturally generating campfires in a [[taiga]] biome [[village]].
Campfire with hay bale vs without.png|A comparison between a campfire with a [[hay bale]] below it (left) and one without (right).
Campfire Particles.png|The number of particles depends on the height of the top block.
Campfire cooking.png|Cooking porkchops with a campfire.
Campfire (cooking) JE1 BE1.gif|Cooking with a campfire in [[Java Edition 19w02a]].
</gallery>

== References ==
{{reflist}}

{{Blocks|Utility}}
{{Items}}

[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Block entities]]
[[Category:Storage]]
[[Category:Light sources]]

[[de:Lagerfeuer]]
[[fr:Feu de camp]]
[[ja:焚き火]]
[[ko:모닥불]]
[[pl:Ognisko]]
[[pt:Fogueira]]
[[ru:Костёр]]
[[th:แคมป์ไฟ]]
[[zh:营火]]</li></ul>
14w20aAdded /title.
1.11
{{Extension DPL}}<ul><li>[[Drinks|Drinks]]<br/>[[File:Drinking Steve.png|150px|right]] [[File:Drinking Alex.png|150px|right]]

'''Drinks''' are a narrow class of consumable [[item]]s that can be ingested by the [[player]] in an extremely similar manner to [[food]]. However, drinks are not encountered quite as commonly as food is, and they are not nearly as integral to Survival gameplay. Drinks can generally be distinguished from food by the sounds they make upon consumption, the lack of [[particles]] they emit, and the fact that they leave an empty container item in the [[inventory]] after consumption. Drinks do not affect [[hunger]] or saturation values upon use (with the exception of [[honey bottle]]s), and do not need those values to be depleted in order to be consumed.

Drinks are drunk by holding {{control|use item}} while having the drink item selected in the hotbar or in the off hand.

== Drinks ==

{{/table}}

== History ==
{{main|Milk#History|Potion#History|Honey Bottle#History}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Added water bottles and potions.}}
{{History||1.15|snap=19w34a|[[File:Honey Bottle JE1.png|32px]] Added honey bottles.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets.}} 
{{History||v0.12.1|snap=build 1|Added water bottles and potions.}}
{{History|bedrock}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honey Bottle BE1.png|32px]] Added honey bottles.}} 
{{History|foot}}
{{Items}}

[[ja:飲み物]]
[[pt:Bebidas]]
[[Category:Food]]</li><li>[[Block Inspector|Block Inspector]]<br/>{{MinecraftEdu feature}}
{{stub}}

{{Item
| image = BlockInspector.png
| stackable = No {{verify}}
}}

'''Block Inspector''' is an item used to display the name of the block the player is looking at on screen.

== Data values ==
{{ID table
|generatetranslationkeys=java
|displayname=Block Inspector
|spritetype=item
|nameid=block_inspector|foot=1}}

==History==
{{History|MinecraftEDU}}
{{History||0.9848|[[File:BlockInspector.png|32px]] Added block inspectors.}}
{{History|foot}}

{{Items}}</li></ul>
16w32bAdded the ability for /title to display text in the action bar position.
Pocket Edition
1.0.5
{{Extension DPL}}<ul><li>[[Minecart with Hopper|Minecart with Hopper]]<br/>{{ItemEntity
|image=Minecart with Hopper.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops=1 {{ItemLink|Minecart with Hopper}}<br>plus contents
|health={{hp|6}}
}}
A '''minecart with hopper''' is a [[minecart]] with a [[hopper]] inside. Unlike a normal hopper, it pulls items from containers much more quickly, cannot push items into containers, can collect [[Item (entity)|item entities]] through a single layer of [[solid block]]s and is locked and unlocked via [[Activator Rail|activator rails]].

== Obtaining ==

=== Crafting ===

{{Crafting
|Output= Minecart with Hopper
|type= Transportation
|Hopper|Minecart}}

Minecarts with hoppers can be retrieved by attacking them. By doing so it drop as an [[item (entity)|item]] and any other contents of the hopper are dropped as well.

== Usage ==
[[File:Minecart with Hopper GUI.png|thumb|176px|The GUI of a minecart with hopper.]]
Minecarts with hoppers are placed similarly to other [[minecart]]s.

A minecart with hopper pulls in items lying nearby (within a range slightly larger than the cart itself), or inside a container directly above the minecart, at a rate of 1 item every [[game tick]] (20 items per second), eight times as fast as a normal hopper. It also picks up items that are lying on a block directly above the track. It does not push items into containers, but a hopper underneath the track can remove items from a minecart with hopper on the track. Ordinary hoppers can also drop items into a minecart with hopper like other containers, at the normal speed of 2.5 items per second. In Bedrock Edition, a minecart with hopper on curved rail pulls in items in a hopper lying in front of its moving direction and 1 block above if hopper's output funnel is pointed downward and no block is below that hopper.<ref>{{bug|MCPE-94293}}</ref>

The hopper can be disabled by passing over a powered [[activator rail]], and can be reenabled by an inactive activator rail.

An empty minecart with hopper can travel more than 85 blocks without stopping (as opposed to a normal cart going less than 12 blocks) from a dead stop using a 2 powered track starter even with another cart in front of them. However, the distance traveled by a minecart with hopper depends on the hopper's load. Using a 1 powered rail starter track, a minecart with an empty hopper travels 64 blocks until it stops (as opposed to an empty normal minecart going 8 blocks). The distance traveled diminishes non-linearly with increased hopper load; a minecart with a full hopper can travel only 16 blocks in this setup.

{{See also|Tutorials/Storage minecarts}}

== Sounds ==
{{Edition|Java}}:<br>
Minecarts with hoppers use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>{{bug|MC-42132}}</ref>
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures <ref group=sound name=rollsource/>
|overridesource=1
|description=While a minecart with hopper is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart with hopper is moving
|id=minecart.base
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Minecart with Hopper
|spritetype=item
|nameid=hopper_minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Minecart with Hopper
|spritetype=entity
|nameid=hopper_minecart
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Hopper
|spritetype=item
|nameid=hopper_minecart
|id=526
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Hopper
|spritetype=entity
|nameid=hopper_minecart
|id=96
|foot=1}}

=== Entity data ===
Minecarts with hoppers have entity data associated with them that contain various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].

== Video ==

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

== History ==

{{History|java}}
{{History||1.5|snap=13w03a|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}}
{{History||1.9|snap=15w43a|Loot tables are added; minecarts with hopper now can use loot tables.}}
{{History||1.9.1|snap=pre2|The title of the [[inventory]] is changed from 'Hopper minecart' to 'Minecart with Hopper'.}}
{{History||1.11|snap=16w32a|The entity ID of the minecart with hopper has now been changed from <code>MinecartHopper</code> to <code>hopper_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 408.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}}
{{History||1.15|snap=19w38a|[[File:Minecart with Hopper 19w38a.png|32px]] The hopper now appears dark, same as suffocating mobs.}}
{{History|||snap=19w39a|The hopper now renders correctly.}}
{{History||1.16.2|snap=Pre-release 1|Opening or destroying a minecart with hopper now angers nearby [[piglin]]s.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with hopper is now shapeless.|Breaking a minecart with hopper will now drop the item instead of the minecart and hopper separately, though the contents of the hopper are still dropped.<ref>{{bug|MC-249493|||Fixed}}</ref>}}
{{History||1.19.4|snap=23w06a|Minecart with hopper now no longer aggravates [[piglin]]s when opened.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|The entity ID of the minecart with hopper has now been changed from <code>minecarthopper</code> to <code>hopper_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}}
{{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with hopper will now drop the item instead of the minecart and hopper separately, though the contents of the hopper are still dropped.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Hopper JE1 BE1.png|32px]] [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with Hopper JE2 BE2.png|32px]] [[File:Minecart with Hopper (item) JE2 BE2.png|32px]] The textures of the minecart with hopper have now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Minecart with Hopper JE1 BE1.png|32px]]  [[File:Minecart with Hopper (item) JE1 BE1.png|32px]] Added minecart with hopper.
|Minecarts with hopper emit smoke [[particles]] when destroyed.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:First hopper Minecart Image.png|The first image of hopper carts released by Dinnerbone.<ref>{{Tweet|Dinnerbone|291215700213772289|Well you guys got that quick. The letters in the hotbar were for <nowiki>[imgur link]|January 15, 2013}}</ref>
File:13w03a Banner.png|The 13w03a banner showing a minecart with hopper and a [[dropper]].
</gallery>

== References ==

{{reflist}}


{{items}}
{{entities}}

[[Category:Mechanics]]
[[Category:Storage]]

[[cs:Vozík s násypkou]]
[[de:Trichterlore]]
[[es:Vagoneta con tolva]]
[[fr:Wagonnet à entonnoir]]
[[hu:Tölcsér csille]]
[[it:Carrello da miniera]]
[[ja:ホッパー付きのトロッコ]]
[[ko:호퍼가 실린 광산 수레]]
[[nl:Mijnkar met trechter]]
[[pl:Wagonik z lejem]]
[[pt:Carrinho de mina com funil]]
[[ru:Вагонетка с воронкой]]
[[uk:Вагонетка з лійкою]]
[[zh:漏斗矿车]]</li><li>[[Painting|Painting]]<br/>{{ItemEntity
|title=Painting
|image=Painting JE2 BE2.png
|extratext=View [[#Renders|all renders]]
|renewable=Yes
|stackable=Yes (64)
|drops=1 {{ItemLink|Painting}}
}}
'''Paintings''' are decorative [[entity|entities]] that hang on walls.

== Obtaining ==
=== Crafting ===
{{Crafting
|A1= Stick |B1= Stick    |C1= Stick
|A2= Stick |B2= Any Wool |C2= Stick
|A3= Stick |B3= Stick    |C3= Stick
|Output= Painting
|type= Decoration block
}}

Paintings can be crafted with any color of [[wool]]. The color of the wool used does not influence the picture chosen when the painting is placed.
Once placed, it displays a random painting.

=== Breaking ===
To remove a painting from a wall, the player can {{control|attack}} it, break one of its supporting blocks, cover one square of it with a block, hit it with an arrow, egg, ender pearl, snowball, or fire charge, or subject it to an explosion. The painting then drops as an item. Arrows that hit paintings disappear.

=== Trading ===
Master-level shepherd [[villager]]s sell 3 paintings for 2 [[emerald]]s.

== Usage ==
=== Placement ===
Paintings can be placed on the sides of [[solid block]]s, [[sign]]s, [[banner]]s, or [[sculk vein]]s. A small gap is visible between the painting and attachment surface. There are several different sizes of paintings (see below). When placed, a painting checks for the largest amount of space it has. It then chooses a random painting of that size. The player can add blocks around the painting to ensure it is the size wanted. When the supporting blocks are removed, the painting breaks after 20 game [[tick]]s (1 second) if no supporting blocks are replaced during that interval.

=== Properties ===
Being an entity, paintings can simultaneously exist in the same space as blocks such as water or torches. Specifically, they can share the space with any block whose collision box does not intersect its hitbox.

Players and mobs are able to walk through paintings, as long as the blocks supporting the painting allow it. Secret doorways can be created this way. [[Light]] propagates through paintings as well.

If a player is concealed behind a painting, the player's name is also concealed from other players.{{verify|Is this true in Bedrock?}}

Paintings are non-flammable.

== Canvases ==
{{Stub|Needing the new painting renders}}
There are 31 paintings in the game. These are mostly based on paintings by [[Kristoffer Zetterstrand]], who also created the ''Minecraft'' versions.

{| class="wikitable stikitable" style="text-align: center" data-description="Paintings"
! style="min-width:150px" |Canvas
! style="min-width:3em;max-width:4em" |Size
! style="min-width:3em" |Original
! style="min-width:3em" |Name
! style="min-width:3em;max-width:4.5em" |[[Resource location]]
! style="min-width:10em" |Description
! Java Edition version added
|-
! [[File:Alban (texture).png|64px]]
| rowspan="7" | 1×1 blocks<br>16×16 pixels || [https://zetterstrand.com/work/pictures/archive/alban.jpeg "Albanian"] || Albanian || <code>alban</code> || A man wearing a fez next to a house and a bush. As the name of the painting suggests, it may be a landscape in [[Wikipedia:Albania|Albania]]. || rowspan="9" | [[Indev 20100223]]
|-
! [[File:Aztec (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/2aztbig.jpg "de_aztec"]|| de_aztec || <code>aztec</code> || [[Wikipedia:Noclip mode|Free-look]] perspective of the map [[w:c:counterstrike:Aztec|de_aztec]] from the video game ''[[Wikipedia:Counter-Strike (video game)|Counter-Strike]]''. 
|-
! [[File:Aztec2 (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/11aztec_for_print.jpg "de_aztec"]|| de_aztec || <code>aztec2</code> || [[Wikipedia:Noclip mode|Free-look]] perspective of the map [[w:c:counterstrike:Aztec|de_aztec]] from the video game ''[[Wikipedia:Counter-Strike (video game)|Counter-Strike]]''. 
|-
! [[File:Bomb (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/12bomb.jpg "Target successfully bombed"]|| Target Successfully Bombed || <code>bomb</code> || The map [[w:c:counterstrike:Dust II|de_dust2]] from the video game ''[[Wikipedia:Counter-Strike (video game)|Counter-Strike]]'', named “target successfully bombed" in reference to the game. 
|-
! [[File:Kebab (texture).png|64px]]
|[https://zetterstrand.com/work/pictures/archive/kebab2.jpg "Kebab med tre pepperoni"] || Kebab med tre pepperoni || <code>kebab</code> || A kebab with three green chili peppers. 
|-
! [[File:Plant (texture).png|64px]]
|[https://zetterstrand.com/work/pictures/archive/paradistrad.jpeg "Paradisträd"] || Paradisträd || <code>plant</code> || Still life of two plants in pots. "Paradisträd" is Swedish for "[[Wikipedia:Crassula ovata|money tree]]", which is a common name for the depicted species in Scandinavia. 
|-
! [[File:Wasteland (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/Wasteland_1920.jpg "Wasteland"]|| Wasteland || <code>wasteland</code> || A view of some wastelands; a small animal (presumably a rabbit) is sitting on the window ledge. 
|-
! [[File:Courbet (texture).png|128px]]
| rowspan="5" | 2×1 blocks<br>32×16 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/bonjourmonsieurcourbet_BIG.jpg "Bonjour monsieur Courbet"]|| Bonjour Monsieur Courbet || <code>courbet</code> || Two hikers with pointy beards seemingly greeting each other. Based on Gustave Courbet's painting ''[[Wikipedia:La rencontre|The Meeting or "Bonjour, Monsieur Courbet"]]''. 
|-
! [[File:Pool (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/thepool_1920.jpg "The pool"]|| The Pool || <code>pool</code> || Some men and women skinny-dipping in a pool over a cube of sorts. Also there is an old man resting in the lower-right edge. 
|-
! [[File:Sea (texture).png|128px]]
| rowspan=2 |[https://zetterstrand.com/eventz/wp-content/uploads/SeaSide_1920.jpg "Seaside"]
| Seaside
| <code>sea</code>
| Mountains and a lake, with a small photo of a mountain and a bright-colored plant on the window ledge. || [[Indev 20100223]] / [[Alpha v1.1.1]]
|-
! [[File:Creebet (texture).png|128px]]
| Creebet || <code>creebet</code> || Mountains and a lake, with a small photo of a mountain and a creeper looking at the viewer through a window. || [[Alpha v1.1.1]]
|-
! [[File:Sunset (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/sunset_dense.jpg "sunset_dense"]|| sunset_dense || <code>sunset</code> || A view of mountains at sunset. || [[Indev 20100223]]
|-
! [[File:Graham (texture).png|64px]]
| rowspan="2" | 1×2 blocks<br>16×32 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/graham.jpg "Graham"]|| Graham || <code>graham</code> || King Graham, the player character in the video game series ''[[Wikipedia:King's Quest|King's Quest]]''. The original is based on ''[[Wikipedia:File:Sánchez_Cotán_(Bodegón_con_membrillo,_repollo,_melón_y_pepino).jpg|Still Life with Quince, Cabbage, Melon, and Cucumber]]'' by Juan Sánchez Cotán.|| [[Alpha v1.1.1]]
|-
! [[File:Wanderer (texture).png|64px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/wanderer_1920.jpg "Wanderer"]|| Wanderer || <code>wanderer</code> || A version of Caspar David Friedrich's famous painting ''[[Wikipedia:Wanderer above the Sea of Fog|Wanderer above the Sea of Fog]]''. || rowspan="4" | [[Indev 20100223]]
|-
! [[File:Bust (texture).png|128px]]
| rowspan="6" | 2×2 blocks<br>32×32 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/bust_1915.jpg "Bust"]|| Bust || <code>bust</code> || A bust of [[Wikipedia:Marcus Aurelius|Marcus Aurelius]] surrounded by fire. 
|-
! [[File:Match (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/Match_rgb_1918.jpg "Match"]|| Match || <code>match</code> || A hand holding a match, causing fire on a white cubic gas fireplace. 
|-
! [[File:Skull and Roses (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/moonlight-installation_1920.jpg "Moonlight Installation"]|| Skull and Roses || <code>skull_and_roses</code> || A skeleton at night with red flowers in the foreground. The original painting was different, depicting a woman sitting in a couch, while the skull is in the middle of a body of glacial water of sorts. 
|-
! [[File:Stage (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/The-stage-is-set-1.jpg "The stage is set"]
| The Stage Is Set
| <code>stage</code>
| Scenery from ''[[Wikipedia:Space Quest I|Space Quest I]]'', with the character Graham from the video game series ''[[Wikipedia:King's Quest|King's Quest]]'' appearing twice. || [[Indev 20100223]] / [[Alpha v1.1.1]]
|-
! [[File:Void (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/the-void_1920.jpg "The Void"]|| The void || <code>void</code> || An angel praying into a void with fire below. || [[Indev 20100223]]
|-
! [[File:Wither (painting texture).png‎|128px]]
| – || Wither || <code>wither</code> || The creation of a [[wither]]. 
This is the only painting not based on a real painting. Made by Jens Bergensten.<ref>{{Citation|url=https://www.youtube.com/watch?v=kK5Y4k-vVXc|title=Who Made Minecraft’s LAST Painting?!|author=AntVenom|website=YouTube|date=29 October 2022}}</ref><ref>https://www.reddit.com/r/Minecraft/comments/1tzav2/comment/cedagcy/</ref>
|| [[Java Edition 1.4.2]] ([[12w36a]])
|-
! [[File:Fighters (texture).png|128px]]
| 4×2 blocks<br>64×32 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/fighters.jpg "Fighters"]|| Fighters || <code>fighters</code> || Two men poised to fight. Paper versions of fighters from the game ''[[Wikipedia:International Karate +|International Karate +]]''. || [[Indev 20100223]]
|-
! [[File:Donkey Kong (texture).png|128px]]
| rowspan="2" | 4×3 blocks<br>64×48 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/kong.jpg "Kong"]|| Kong || <code>donkey_kong</code> || A paper-looking screenshot of the level [https://www.mariowiki.com/100m 100m] from the arcade game ''[[Wikipedia:Donkey Kong (arcade game)|Donkey Kong]]''. || rowspan="2" | [[Alpha v1.1.1]]
|-
! [[File:Skeleton (painting texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/mortal_coil.jpg "Mortal Coil"]|| Mortal Coil || <code>skeleton</code> || [[w:c:grim-fandango:Bruno Martinez|Bruno Martinez]] from the adventure game ''[[Wikipedia:Grim Fandango|Grim Fandango]]''. 
|-
! [[File:Burning Skull (texture).png‎|128px]]
| rowspan="3" | 4×4 blocks<br>64×64 pixels ||[https://zetterstrand.com/eventz/wp-content/uploads/skull_on_fire_framed_c_1910.jpg "Skull on Fire"]|| Skull On Fire || <code>burning_skull</code> || A Skull on fire; in the background there is a moon in a clear night sky.<br>This painting is based on a Minecraft screenshot,<ref>{{Citation|url=https://web.archive.org/web/20220928041338/https://imgur.com/HVhrbnH|website=Imgur|date=22 August 2020|title=https://web.archive.org/web/20220928041338/https://imgur.com/HVhrbnH}}</ref> with the grass block and a 3D skull added on top.<ref>{{Citation|url=https://web.archive.org/web/20200906184721/https://imgur.com/AwqQFS6|title=https://web.archive.org/web/20200906184721/https://imgur.com/AwqQFS6|website=Imgur|date=23 August 2020}}</ref>
(See the [[:en:Painting#Trivia|trivia]] section for more info.)
| [[Java Edition Beta 1.2 01|Beta 1.2_01]] / [[Java Edition Beta 1.3|Beta 1.3]]
|-
! [[File:Pigscene (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/rgb_1914.jpg "RGB"]|| Pigscene || <code>pigscene</code> <!-- yes, without an underscore --> || A girl pointing to a pig on a canvas. In the original version, the canvas showed red, green and blue blocks, representing the three colors of the [[Wikipedia:RGB color model|RGB color model]] that is typically used by computer displays. It is based on the painting ''[[Wikipedia:File:Jacob van Oost (I) - The Artist's Studio - WGA16654.jpg|The Artist's Studio]]'' by Jacob van Oost.|| [[Alpha v1.1.1]]
|-
! [[File:Pointer (texture).png|128px]]
|[https://zetterstrand.com/eventz/wp-content/uploads/pointer_1920.jpg "Pointer"]|| Pointer || <code>pointer</code> || The main character of the game ''[[Wikipedia:International Karate +|International Karate +]]'' in a fighting stance touching a large hand. It could also be interpreted as a play on Michelangelo's famous painting ''[[Wikipedia:The Creation of Adam|The Creation of Adam]]''. || [[Indev 20100223]]
|-
! TBA || 
Pack || <code>pack</code> || Reference to the pack.png fi || [[Java Edition 1.21]]le
|}

=== Unused paintings ===
In [[Pocket Edition v0.5.0 alpha|v0.5.0 alpha]], with the addition of paintings to Pocket Edition, four unused 32×32 paintings were present in <samp>[[kz.png]]</samp> which remained unused. See {{slink|Bedrock Edition unused features|Paintings}} for more information. They were also added to Java Edition in snapshot [[Java Edition 22w16a|22w16a]]. They cannot be placed by default, but can be summoned by [[commands]] (such as {{cmd|/summon painting ~ ~ ~ {variant:"water"} }}) or through a [[datapack]].

According to [[Helen Zbihlyj]],<ref>https://old.reddit.com/r/Minecraft/comments/u8hpnx/thoughts_on_the_new_paintings/i5olue6/?context=3 ([https://web.archive.org/web/20220422115723/https://old.reddit.com/r/Minecraft/comments/u8hpnx/thoughts_on_the_new_paintings/i5olue6/?context=3 archived])</ref> these paintings were originally added "as part of a Pocket Edition promo map" (no footage found) which was planned to be a part of [[Pocket Edition]] promotion at [[MINECON 2012]] [[MINECON 2013|or 2013]] and have never been used in game. The artist of these paintings remains unknown.

{| class="wikitable stikitable" style="text-align: center" data-description="Paintings"
! style="min-width:100px" |Canvas
! style="min-width:3em;max-width:4em" |Size
! style="min-width:6em" |Name
! style="min-width:10em" |[[Resource location]]
! style="min-width:10em" |Description
! style="min-width:5em;max-width:10em" |Bedrock Edition version added
! style="min-width:5em;max-width:8em" |Java Edition version added
|-
! [[File:Earth (texture) BE2.png|128px]]
| rowspan="4" | 2×2 blocks<br>32×32 pixels || Earth || <code>earth</code> || One of the four {{Wikipedia|Classical element|classical elements}}: Earth. || rowspan="4" | [[Pocket Edition v0.5.0 alpha|v0.5.0 alpha]] || rowspan="4" | [[Java Edition 22w16a|22w16a]]
|-
! [[File:Fire (texture) BE2.png|128px]]
| Fire || <code>fire</code> || One of the four classical elements: Fire. 
|-
! [[File:Water (texture) BE2.png|128px]]
| Water || <code>water</code> || One of the four classical elements: Water. 
|-
! [[File:Wind (texture) BE2.png|128px]]
| Wind || <code>wind</code> || One of the four classical elements: Air. 
|}



==Sounds==
{{Edition|Java}}:
{{Sound table
|sound=Painting break1.ogg
|sound2=Painting break2.ogg
|sound3=Painting break3.ogg
|subtitle=Painting breaks<ref>{{Cite bug|MC|194948|Painting, item frame and lead breaking subtitles inconsistent with block breaking subtitle|date=July 14, 2020}}</ref>
|source=neutral
|description=When a painting is broken or pops off
|id=entity.painting.break
|translationkey=subtitles.entity.painting.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Painting place1.ogg
|sound2=Painting place2.ogg
|sound3=Painting place3.ogg
|sound4=Painting place4.ogg
|subtitle=Painting placed
|source=neutral
|description=When a painting is placed
|id=entity.painting.place
|translationkey=subtitles.entity.painting.place
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Item Frame break1.ogg
|sound2=Item Frame break2.ogg
|sound3=Item Frame break3.ogg
|source=block
|description=When a painting is broken or pops off
|id=block.itemframe.break
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Item Frame add item1.ogg
|sound2=Item Frame add item2.ogg
|soumd3=Item Frame add item3.ogg
|sound4=Item Frame add item4.ogg
|source=block
|description=When a painting is placed
|id=block.itemframe.add_item
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Painting
|spritetype=item
|nameid=painting
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Painting
|spritetype=entity
|nameid=painting
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Painting
|spritetype=item
|nameid=painting
|id=357
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Painting
|spritetype=entity
|nameid=painting
|id=83
|foot=1}}

=== Entity data ===

Paintings have entity data that defines various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].

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

== History ==
{{History|java indev}}
{{History||20100223|[[File:Painting JE1 BE1.png|32px]] Added paintings.
|There are currently 19 canvases, which can be viewed at [[Java Edition history of textures/Paintings]].
|The [[crafting]] recipe of paintings uses eight [[planks]].
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting Table
  |A1=Oak Planks
  |B1=Oak Planks
  |C1=Oak Planks
  |A2=Oak Planks
  |B2=Light Gray Wool
  |C2=Oak Planks
  |A3=Oak Planks
  |B3=Oak Planks
  |C3=Oak Planks
  |Output=Painting
}}
{{!}}}
|Painting textures are currently stored on a [[texture atlas]] called <samp>[[kz.png]]</samp>.}}
{{History|java infdev}}
{{History||20100227-1|The [[crafting]] recipe has of paintings has been changed, so that it now uses [[stick]]s, rather than [[planks]].
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting Table
  |A1=Stick
  |B1=Stick
  |C1=Stick
  |A2=Stick
  |B2=Light Gray Wool
  |C2=Stick
  |A3=Stick
  |B3=Stick
  |C3=Stick
  |Output=Painting
}}
{{!}}}
}}
{{History|java alpha}}
{{History||v1.1.1|Added five more painting canvases, for a total of 24.
|The textures of two paintings have been changed.}}
{{History|java beta}}
{{History||1.2_01|Added a new painting, although it uses an untextured part of <samp>kz.png</samp> due to the painting texture not yet being implemented.}}
{{History||1.3|The texture of the new painting, has been added to the part of <samp>kz.png</samp> displayed by the new painting.}}
{{History||April 27, 2011|link=https://web.archive.org/web/20201111211000/https://notch.tumblr.com/post/4988431144/the-maps|Custom paintings are mentioned by [[Notch]].}}
{{History||1.7.3|Paintings pushed by [[piston]]s now pop off.}}
{{History|java}}
{{History||1.4.2|snap=12w36a|Added new painting canvas 'Wither'.
|Paintings can now be placed overlapping one another.}}
{{History||1.8|snap=14w10a|Paintings can no longer be placed directly inside of each other.}}
{{History||1.9|snap=15w49a|Paintings can no longer be destroyed by [[lightning]].}}
{{History|||snap=15w50a|Added [[sound]]s for placing and breaking paintings: <code>entity.painting.place</code> and <code>entity.painting.break</code>.}}
{{History||1.11|snap=16w32a|The [[entity]] ID for paintings has been changed from <code>Painting</code> to <code>painting</code>.}}
{{History||1.12|snap=17w06a|Paintings now have a more intuitive placement system. When placed, a painting always uses the maximum possible amount of available space.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 321.}}
{{History|||snap=18w02a|Paintings now use a [[resource location]] for their motive.}}
{{History||1.14|snap=18w43a|[[File:Painting JE2 BE2.png|32px]] The [[item]] texture of paintings has been changed.}}
{{History|||snap=19w07a|Paintings are now stored as individual image files instead of parts of a single large image file, and now support animations.}}
{{History|||snap=19w11a|Shepherd [[villager]]s now [[trading|sell]] paintings.}}
{{History||1.17|snap=21w11a|The painting back texture has been updated to be in line with the texture update.}}
{{History||1.19|snap=22w16a|Added the four unused paintings from Bedrock Edition: "Earth", "Wind", "Fire", and "Water".|These paintings can only be added through a [[data pack]], or with the {{cmd|summon}} command.}}
{{History||1.19.4|snap=23w06a|Added [[painting]] variants to "Functional Blocks" tab.|Paintings with pre-defined variant will now display author, title and size in description when hovered over.|The "Operator Utilities" tab now contains the four paintings that are not available in Survival mode.}}
{{History||1.21|snap=TBA|Added 5 new paintings, one 1x1, one 2x1, one 2x2, one 3x2 and one 4x4}}


}

{{History|pocket alpha}}
{{History||v0.5.0|[[File:Painting JE1 BE1.png|32px]] Added paintings.
|There are currently 25 canvases, which can be viewed at [[Bedrock Edition history of textures/Paintings]].}}
{{History||v0.8.0|snap=build 3|A new painting rendering has been added.{{info needed|What exactly changed?}}}}
{{History||v0.12.1|snap=build 1|Paintings are no longer available from the [[nether reactor]].}}
{{History||v0.15.0|snap=build 1|Paintings now have [[sound]]s when placed and broken.}}
{{History|pocket}}
{{History||1.0.7|Added new painting canvas 'Wither'.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Painting JE2 BE2.png|32px]] The [[item]] texture of paintings has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Paintings can now be [[trading|bought]] from shepherd [[villager]]s.}}
{{History||1.17.0|snap=beta 1.17.0.50|The painting back texture has been updated to be in line with the texture update.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Painting JE1 BE1.png|32px]] Added paintings.
|There are currently 25 canvases, which can be viewed at [[Legacy Console Edition history of textures/Paintings]].}}
{{History||xbox=TU11|The limit for paintings in a world has been increased. 
|A message is now displayed when the maximum paintings are reached.}}
{{History||xbox=TU14|ps=1.04|Added new painting canvas 'Wither'.}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|Added [[sound]]s for paintings.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Painting JE2 BE2.png|32px]] The [[item]] texture of paintings has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Painting JE1 BE1.png|32px]] Added paintings.
|There are currently 25 canvases, which can be viewed at [[New Nintendo 3DS Edition history of textures/Paintings]].}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* On April 26, 2011, Notch stated that the automapping code can be used to share custom paintings and books in the future.<ref>{{tweet|notch|62970142207913984|The auto mapping code can be used to share custom paintings and books in the future. There's a hard cap on 65536 of each/world, though|April 26, 2011}}</ref>
* The texture on the back of a painting is the same as the wooden planks texture, but with a yellowish color similar to that of [[chests]] (but slightly darker).
* The "Skull on Fire" painting contains a Minecraft world in the background, which is based on a screenshot taken by the artist in [[Java Edition Alpha v1.1.2 01|Alpha 1.1.2_01]] (or earlier) on October 12, 2010, at 13:22:49 (UTC+2).<ref>{{cite|url=https://web.archive.org/web/20220928041338/https://imgur.com/HVhrbnH|title=The original (never publicly shared before) screenshot that Kristoffer Zetterstrand took and based his painting on.|website=Imgur}}</ref>
**The seeds for this world are -1044887956651363087 and -6984854390176336655 (both are the same), standing at X=-249.65, Y=91, Z=-29.04.<ref>https://pastebin.com/fzAY9ES4</ref><ref>https://www.reddit.com/r/Minecraft/comments/iqg3ey/the_original_screenshot_seed_of_the_minecraft/</ref>
* The "Skull on Fire" painting's texture was added in [[Java Edition Beta 1.3|Beta 1.3]]. However, the code for paintings to randomly display the part of the [[Kz.png]] texture that was to be occupied by the Burning Skull painting was added earlier, in [[Java Edition Beta 1.2_01|Beta 1.2_01]]. As there was nothing on this part of the texture except for a purple background grid, this is what would be displayed if the painting was randomly chosen, until the Burning Skull painting texture was actually added.
* The original "Skull on Fire" painting was given to the winner of an official texture pack competition by Mojang.<ref>https://web.archive.org/web/20110110003612/http://www.webhallen.com:80/minecraft/</ref>

== Gallery ==
<gallery>
File:Notch Painting Screenshot.png|The first image of paintings released by [[Notch]].
File:Skull on Fire world.jpg|The original screenshot behind the "Skull on Fire" painting.
File:Burning Skull Render.jpg|A render of the "Skull on Fire" painting that [[Kristoffer Zetterstrand]] used as a reference image.
File:Skull on Fire IRL.jpg|The original "Skull on Fire" painting being painted.
File:Burning Skull JE1.png|The "Skull on Fire" painting as it appeared between versions [[Java Edition Beta 1.2_01|Beta 1.2_01]] and [[Java Edition Beta 1.2_02|Beta 1.2_02]], prior to its texture being added in [[Java Edition Beta 1.3|Beta 1.3]].
</gallery>

=== Renders ===
<gallery>
Alban.png | Albanian
Aztec.png | de_aztec
Aztec2.png | de_aztec
Bomb.png | Target Successfully Bombed
Kebab.png | Kebab med tre pepperoni
Plant.png | Paradisträd
Wasteland.png | Wasteland
Courbet.png | Bonjour Monsieur Courbet
Creebet.png | Creebet
Pool.png | The Pool
Sea.png | Seaside
Sunset.png | sunset_dense
Graham.png | Graham
Wanderer.png | Wanderer
Bust.png | Bust
Match.png | Match
Skull and Roses.png | Skull and Roses
Stage.png | The Stage Is Set
Void.png | The void
Wither (painting).png | Wither
Fighters.png | Fighters
Donkey Kong.png | Kong
Skeleton (painting).png | Mortal Coil
Burning Skull.png | Skull On Fire
Pigscene.png | Pigscene
Pointer.png | Pointer
Earth BE2.png | Earth
Fire BE2.png | Fire
Water BE2.png | Water
Wind BE2.png | Wind
</gallery>

== See also ==
* [[Item Frame]]
* [[Bedrock Edition unused features#Paintings|Unused paintings]]
* [[Kz.png]]
* [[Kristoffer Zetterstrand]]

== References ==
{{reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-painting Taking Inventory: Painting] – Minecraft.net on January 18, 2019

{{items}}
{{entities}}

[[cs:Obraz]]
[[de:Gemälde]]
[[es:Cuadro]]
[[fr:Tableau]]
[[hu:Festmény]]
[[it:Quadro]]
[[ja:絵画]]
[[ko:그림]]
[[nl:Schilderij]]
[[pl:Obraz]]
[[pt:Quadro]]
[[ru:Картина]]
[[th:ภาพวาด]]
[[uk:Картина]]
[[zh:画]]</li></ul></nowiki>
alpha 1.0.5.0Added /title.

Notes