Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition. 

Functions allow players to run lists of commands using text files with the extension .mcfunction. It is recommended to use UTF-8 encoding (without BOM) for function files to prevent any problems.

Usage

To utilize functions, the text files must first be placed into a top-level folder within [WORLD_NAME]/data/functions[upcoming] or [WORLD_NAME]/datapacks/functions.‌[upcoming: Lua error in Module:Version_link at line 112: attempt to concatenate local 'text' (a nil value).] For single player, the world folders can be found in .minecraft/saves. For multiplayer, functions must be placed in every world folder that wants to utilize them. The name of the new top-level folder will be the namespace used when running the functions inside. Functions can also be placed into subfolders within the top-level folder.

For example, running the function custom:example/test will refer to the file located at functions/custom/example/test.mcfunction. If the namespace is left out when trying to call a function, it will default to the minecraft: namespace. Using a custom namespace is recommended in order to prevent unintended behavior in the case of future additions to the default namespace.[1]

Functions, being text files, are easily modifiable and less likely than command blocks to induce lag when used in large quantities. If a function is modified or added, using the /reload command will reload the function files from disk. This allows Minecraft to recognize any changes to the function files, without the need to quit and re-enter the world.

Upon successfully running a function, a message will display in the chat: Executed [amount] command(s) from function '[function file directory]'. The successful output of the commands inside a function cannot be measured with a comparator (although the same effect could be accomplished with the use of /stats and /scoreboard commands).

Function syntax

TestingFunctions

Testing the function system. Three /tellraw messages and one /give command were used in this simple function.

Within the .mcfunction file, one valid command is placed per line, without the usual forward slash (/). Players can add comments within the function text file by preceding them with a #.

Individual commands in functions can be longer than the 32,500 character limit in command blocks but the total number of commands run inside a function will still obey /gamerule maxCommandChainLength, which is 65,536 commands by default; any commands beyond this limit will be ignored.

Running a function

Functions will run all of their commands in a single tick and functions called from within other functions will also run their commands in the same tick as their parent.

Position changes that happen within a function will not affect the relative coordinates used in other commands within that function (or within its child functions) until the next iteration, regardless of the order of commands. The /execute command circumvents this.

For example:

tp @s ~ ~5 ~
setblock ~ ~-1 ~ emerald_block
execute @s ~ ~ ~ setblock ~ ~-1 ~ diamond_block

Note - the third line syntax is invalid when used in a datapack in version 1.13 snapshot

When called through a player this function will teleport that player 5 blocks up, place an emerald block one block below their original position before the teleport, and place a diamond block one block below their new position after the teleport. This behavior does not affect position arguments within selectors, which will always test for the current position at the time of execution.

There are several methods of running a function file in-game:

Commands

/function
  • Allows players to run a function once.
  • The commands in the function are run through the entity or command block that ran the /function command.
  • The optional arguments if and unless will make the function only run when the selector was found or not found in the world respectively.
  • Usage: /function <name>
/gamerule gameLoopFunction[upcoming]
  • Runs a function every tick.
  • The commands in the function are run through the server.
    • The coordinates from which the "server" executes commands are (0, 0, 0).
  • If multiple functions need to be looped, it is possible to insert function commands into this looped function file, put function commands in those functions, etc.
  • Usage: /gamerule gameLoopFunction <namespace:path/to/function/file>
  • To stop the loop just point gameLoopFunction to a non-existing function: /gamerule gameLoopFunction -, this value is also the default.

Advancements

Advancements can run a function once as a reward for completing them. The commands in the function are run through the player who completed the advancement.

Reward functions are called within advancement JSON files using the following format:

{
    "rewards": {
        "function": "namespace:path/to/function/file"
    }
}

Tags‌[upcoming: Lua error in Module:Version_link at line 112: attempt to concatenate local 'text' (a nil value).]

Functions can be grouped together using tags in data packs. These tags can then be called to run all the functions inside that tag with /function #(namespace):tag.

Functions tagged in minecraft:tick will automatically run every tick at the beginning of the tick. Functions tagged in minecraft:load will run after (re)loading the datapack.

History

release
1.12
{{Extension DPL}}<ul><li>[[Feather|Feather]]<br/>{{about|a item|a enchantent|Feather Falling}}
{{Item
| image = Feather.png
| stackable = Yes (64)
| renewable = Yes
}}
'''Feathers''' are items dropped by [[chicken]]s and [[parrot]]s, as well as tamed [[cats]] as morning gifts.

== Obtaining ==

=== Mob loot ===

Adult [[chicken]]s drop 0–2 feathers upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 0–5 with Looting III.

[[Parrot]]s drop 1–2 feathers upon death. The maximum is increased by 1 per level of Looting, for a maximum of 1–5 with Looting III.

A [[fox]] sometimes spawns holding a feather, which always drops upon death. Alternatively, the player can drop a [[food]] item, causing the fox to drop the feather in favor of the food.

=== Natural generation ===

{{LootChestItem|feather}}

=== Cat gifts ===
{{main|Cat#Gifts}}

Tamed [[cat]]s have a 70% chance of giving the [[player]] a "morning gift", and the gift has a 16.13% chance to be a feather.

== Usage ==

=== Helmet ===
<div style='float:right'></div>
While a feather cannot be equipped in the head slot in [[Survival]] mode, equipping it using commands causes it to appear completely upright unlike other items.

[[File:Steve wearing Feather.png|75px]]
[[File:Alex wearing Feather.png|75px]]

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===

Expert-level fletcher [[villager]]s buy 24 feathers for an [[emerald]] as part of their trade.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Feather
|spritetype=item
|nameid=feather
|id=327
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100130|[[File:Feather JE1.png|32px]] Added feathers.|Feathers can be used to [[craft]] [[arrow]]s.
|Feathers are [[drop]]ped by every [[mob]] in quantities of 0 to 2.}}
{{History||20100206|[[File:Feather JE2 BE1.png|32px]] The feather's texture has been changed; it is now not as straight anymore.}}
{{History||20100219|[[Zombie]]s are now the only [[mob]] that can drop feathers. This was a placeholder as [[Notch]] has stated he currently doesn't know what else they should drop.<ref>{{tweet|notch|21723172931895296}}</ref>}}
{{History|java alpha}}
{{History||v1.0.14|[[Chicken]]s now [[drop]] 0–2 feathers upon death.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[Zombie]]s now drop [[rotten flesh]], instead of feathers.
|[[Chicken]]s are now the only source of feathers.}}
{{History|java}}
{{History||1.3.1|snap=12w17a|Feathers are now used to craft [[book and quill]]s.}}
{{History||1.4.6|snap=12w49a|Feathers are now used to craft a [[firework star]] with a burst effect.}}
{{History||1.12|snap=17w13a|[[Parrot]]s now [[drop]] feathers.}}
{{History||1.13|snap=17w47a|Prior to ''[[The Flattening]]'', this [[item]]'s numeral ID was 288.}}
{{History|||snap=18w11a|Feathers now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer feathers as [[Cat#Gifts|gift]]s.}}
{{History|||snap=18w48a|Feathers can now be found in chests in plains [[village]] houses.}}
{{History|||snap=18w50a|Feathers can now be found in chests in fletcher houses.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with feather in their mouths.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|buy]] feathers.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=1.19.4 Pre-release 1|Feathers can now be used to craft [[brush]]es.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Feather JE2 BE1.png|32px]] Added feathers. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.3|Chickens now drop 0–2 feathers upon death.|Feathers can now be used to [[craft]] [[arrow]]s.}}
{{History||v0.5.0|Feathers can now be obtained after activating the [[nether reactor]].}}
{{History||v0.11.0|snap=build 1|[[Zombie]]s now drop [[rotten flesh]], instead of feathers.}}
{{History||v0.12.1|snap=build 1|Feathers are no longer available from the [[nether reactor]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Feathers can now be used to craft [[book and quill]]s.|Added [[parrot]]s, which [[drop]] feathers.|Feathers can now be used as an ingredient to craft a [[firework star]].}}
{{History||1.4.0|snap=beta 1.2.14.2|Feathers can now be found in [[shipwreck]] [[chest]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Feathers can now be given as a gift to the [[player]] by tamed [[cat]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.|Feathers can now be found in the new [[plains]] [[village]] house.}}
{{History||1.11.0|snap=beta 1.11.0.1|Feathers can now be found in village fletcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Feathers can now be [[trading|sold]] to fletcher [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] feathers.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|Feathers can now be used to craft [[brush]]es.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Feather JE2 BE1.png|32px]] Added feathers.}}
{{History|Ps4}}
{{History||1.90|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Feather JE2 BE1.png|32px]] Added feathers.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--feather Taking Inventory: Feather] – Minecraft.net on March 3, 2019

{{Items}}

[[Category:Renewable resources]]

[[cs:Pírko]]
[[de:Feder]]
[[es:Pluma]]
[[fr:Plume]]
[[hu:Toll]]
[[it:Piuma]]
[[ja:羽根]]
[[ko:깃털]]
[[nl:Veer]]
[[pl:Pióro]]
[[pt:Pena]]
[[ru:Перо]]
[[uk:Перо]]
[[zh:羽毛]]</li><li>[[Pumpkin Seeds|Pumpkin Seeds]]<br/>{{Block
| image = <gallery>
Pumpkin Stem Age 0.png | Age 0
Pumpkin Stem Age 1.png | Age 1
Pumpkin Stem Age 2.png | Age 2
Pumpkin Stem Age 3.png | Age 3
Pumpkin Stem Age 4.png | Age 4
Pumpkin Stem Age 5.png | Age 5
Pumpkin Stem Age 6.png | Age 6
Pumpkin Stem Age 7.png | Age 7
</gallery>
|image2 = <gallery>
Attached Pumpkin Stem (N).png | North
Attached Pumpkin Stem (E).png | East
Attached Pumpkin Stem (S).png | South
Attached Pumpkin Stem (W).png | West
</gallery>
| transparent = Yes
| light = No
| tool = none
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Pumpkin seeds''' are items obtained from pumpkins that can be used to grow pumpkin stems.

'''Pumpkin stems''' are plants grown on [[farmland]] that, over time, grow [[pumpkin]]s on dirt, mud and moss blocks adjacent to them.

== Obtaining ==
=== Breaking ===
When broken, a pumpkin stem drops 0–3 pumpkin seeds. The chance for pumpkin seeds to drop increases with the stem's age.
{| class="wikitable"
! rowspan="3" |[[Resource location]]
! rowspan="3" | Source
! colspan="4" | Default
|-
| colspan="1" rowspan="2" style="text-align:center" | Nothing || colspan="3" style="text-align:center" |{{ItemLink|Pumpkin Seeds|Pumpkin seeds}}
|-
| style="text-align:center" | 1 || style="text-align:center" | 2 || style="text-align:center" | 3
|-
| rowspan="8" |<code>blocks/pumpkin_stem</code>
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 0</code>
| style="text-align:center" |81.3%|| style="text-align:center" |17.42%|| style="text-align:center" |1.24%|| style="text-align:center" |0.03%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 1</code>
| style="text-align:center" |65.1%|| style="text-align:center" |30.04%|| style="text-align:center" |4.62%|| style="text-align:center" |0.24%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 2</code>
| style="text-align:center" |51.2%|| style="text-align:center" |38.4%|| style="text-align:center" |9.6%|| style="text-align:center" |0.8%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 3</code>
| style="text-align:center" |39.44%|| style="text-align:center" |43.02%|| style="text-align:center" |15.64%|| style="text-align:center" |1.9%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 4</code>
| style="text-align:center" |29.13%|| style="text-align:center" |44.44%|| style="text-align:center" |22.22%|| style="text-align:center" |3.7%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 5</code>
| style="text-align:center" |21.6%|| style="text-align:center" |43.2%|| style="text-align:center" |28.8%|| style="text-align:center" |6.4%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 6</code>
| style="text-align:center" |15.17%|| style="text-align:center" |39.82%|| style="text-align:center" |34.84%|| style="text-align:center" |10.16%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 7</code>
| style="text-align:center" |10.16%|| style="text-align:center" |34.84%|| style="text-align:center" |39.82%|| style="text-align:center" |15.17%
|-
| rowspan="1" |<code>blocks/attached_pumpkin_stem</code>
|{{BlockLink|Attached Pumpkin Stem|Attached Pumpkin stem}}
| style="text-align:center" |10.16%|| style="text-align:center" |34.84%|| style="text-align:center" |39.82%|| style="text-align:center" |15.17%
|}

=== Natural generation ===
Pumpkin stems generate naturally in stem farm rooms in [[woodland mansion]]s.

Pumpkin stems generate in [[taiga]] and [[snowy taiga]]{{only|be|short=1}} [[village]] farms.

=== Chest loot ===
{{LootChestItem|pumpkin-seeds}}

=== Crafting ===
{{Crafting
|Pumpkin
|Output= Pumpkin Seeds,4
|type= Material
}}

=== Trading ===
[[Wandering trader]]s sell pumpkin seeds for 1 [[emerald]].

=== Post-generation ===
Shearing an uncarved pumpkin yields 4 pumpkin seeds {{in|java}} or 1 unit of pumpkin seeds {{in|bedrock}}.

== Usage ==
=== Farming ===
{{see also|Tutorials/Pumpkin and melon farming}}
Pumpkin seeds can be planted only on [[farmland]], as stems. Over time, a stem grows through several stages{{Needs testing}} and, at its final growth stage, will produce [[pumpkin]]s on any adjacent [[dirt]], [[Coarse Dirt|coarse dirt]], [[Rooted Dirt|rooted dirt]], [[Grass Block|grass block]], [[farmland]], [[podzol]], [[mycelium]], [[Moss Block|moss block]], [[mud]] or [[Muddy Mangrove Roots|muddy mangrove roots]]. If a pumpkin is already occupying a spot adjacent to a stem it does not grow more pumpkins until the pumpkin is removed. A single stem can grow an unlimited number of pumpkins. Pumpkin stems need a minimum light level of 10 in the block above the stem to grow and give pumpkins. Pumpkin seeds are affected by [[bone meal]] only with respect to stem growth; bone meal does not help produce the actual pumpkins.

=== Breeding ===
Like other seeds, pumpkin seeds can be used to [[breed]] [[chicken]]s, lead chickens around, and make baby chickens grow up faster by 10% of the remaining time.

=== Taming ===
Like other seeds, pumpkin seeds can be used to tame [[parrot]]s.

=== Composting ===
Placing pumpkin seeds into a [[composter]] has a 30% chance of raising the compost level by 1.

== Pumpkin stem ==
A '''pumpkin stem''' is the block that is planted on [[farmland]] when pumpkin seeds are used on it. It starts underground, and rises up as the plant grows. The stem is colored green when young, and then yellow once fully grown.

The stem curves once a pumpkin has grown from it. A fully-grown single stem connects to any [[pumpkin]] in an adjacent square, thus there are 5 possible appearances to a stem. If there are multiple pumpkins it can connect to, it favors the east, then west, north, and south. When the pumpkin is removed, the stem returns to its straight shape.

== Sounds ==
{{Sound table/Block/Hard crop}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Stem
|spritetype=block
|nameid=pumpkin_stem
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Attached Pumpkin Stem
|spritetype=block
|nameid=attached_pumpkin_stem
|form=block}}
{{ID table
|displayname=Pumpkin Seeds
|spritetype=item
|nameid=pumpkin_seeds
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Stem
|spritetype=block
|nameid=pumpkin_stem
|id=104
|form=block}}
{{ID table
|displayname=Pumpkin Seeds
|spritetype=item
|nameid=pumpkin_seeds
|id=292
|form=item
|foot=1}}

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

{{/BS}}

== Advancements ==
{{load advancements|A Seedy Place}}

== History ==
{{info needed section|check if stems floated above farmland upon initial implementation}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] Added the pumpkin stem, with seven stages of growth.
|Pumpkin seeds can be found in the new [[mineshaft]] [[chest]]s.
|[[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]] The pumpkin stem has four slightly visually distinct appearances for each facing direction - the bent part of the stem rotates, but the other two planes do not.
|[[File:Pumpkin Stem Age 8 JE1.png|32px]] [[File:Pumpkin Stem Age 9 JE1.png|32px]] [[File:Pumpkin Stem Age 10 JE1.png|32px]] [[File:Pumpkin Stem Age 11 JE1.png|32px]] [[File:Pumpkin Stem Age 12 JE1.png|32px]] [[File:Pumpkin Stem Age 13 JE1.png|32px]] [[File:Pumpkin Stem Age 14 JE1.png|32px]] [[File:Pumpkin Stem Age 15 JE1.png|32px]] Pumpkin stem data values from 8 through 15 now show a glitched formation, with a floating stem with an attached stem cross eventually emerging below.
|[[File:Attached Stem Age 8 JE1.png|32px]] [[File:Attached Stem Age 9 JE1.png|32px]] [[File:Attached Stem Age 10 JE1.png|32px]] [[File:Attached Stem Age 11 JE1.png|32px]] [[File:Attached Stem Age 12 JE1.png|32px]] [[File:Attached Stem Age 13 JE1.png|32px]] [[File:Attached Stem Age 14 JE1.png|32px]] [[File:Attached Stem Age 15 JE1.png|32px]] Pumpkin stem blocks with data values higher than 7 can attach to adjacent fruits, which results in buggy stem textures with [[vines]] in the mix due to vines being below attached stems in [[terrain.png]].}}
{{History|||snap=Pre-release 2 ;)|Pumpkin stems can now be grown faster using [[bone meal]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Pumpkins can now be [[crafting|crafted]] into [[pumpkin seeds]].}}
{{History||1.3.1|snap=1.3|The texture of pumpkin stems has been moved one pixel to the left in [[terrain.png]].
|[[File:Pumpkin Stem Age 0 JE2.png|32px]] [[File:Pumpkin Stem Age 1 JE2.png|32px]] [[File:Pumpkin Stem Age 2 JE2.png|32px]] [[File:Pumpkin Stem Age 3 JE2.png|32px]] [[File:Pumpkin Stem Age 4 JE2.png|32px]] [[File:Pumpkin Stem Age 5 JE2.png|32px]] [[File:Pumpkin Stem Age 6 JE2.png|32px]] [[File:Pumpkin Stem Age 7 JE2.png|32px]] Stems now appear slightly different.
|[[File:Pumpkin Stem Age 8 JE2.png|32px]] [[File:Pumpkin Stem Age 9 JE2.png|32px]] [[File:Pumpkin Stem Age 10 JE2.png|32px]] [[File:Pumpkin Stem Age 11 JE2.png|32px]] [[File:Pumpkin Stem Age 12 JE2.png|32px]] [[File:Pumpkin Stem Age 13 JE2.png|32px]] [[File:Pumpkin Stem Age 14 JE2.png|32px]] [[File:Pumpkin Stem Age 15 JE2.png|32px]] Overgrown attached pumpkin stems now appear slightly different.
|[[File:Attached Pumpkin Stem (N) JE2.png|32px]] [[File:Attached Pumpkin Stem (E) JE2.png|32px]] [[File:Attached Pumpkin Stem (S) JE2.png|32px]] [[File:Attached Pumpkin Stem (W) JE2.png|32px]] Attached pumpkin stems now appear slightly different.
|[[File:Attached Stem Age 8 JE2.png|32px]] [[File:Attached Stem Age 9 JE2.png|32px]] [[File:Attached Stem Age 10 JE2.png|32px]] [[File:Attached Stem Age 11 JE2.png|32px]] [[File:Attached Stem Age 12 JE2.png|32px]] [[File:Attached Stem Age 13 JE2.png|32px]] [[File:Attached Stem Age 14 JE2.png|32px]] [[File:Attached Stem Age 15 JE2.png|32px]] Overgrown attached pumpkin stems now appear slightly different.}}
{{History||1.4.2|snap=12w36a|[[Chicken]]s now use [[wheat seeds]], [[melon seeds]] and pumpkin seeds, instead of [[wheat]] to [[breeding|breed]].}}
{{History||1.5|snap=13w02a|[[File:Pumpkin Stem Age 0 JE3.png|32px]] [[File:Pumpkin Stem Age 1 JE3.png|32px]] [[File:Pumpkin Stem Age 2 JE3.png|32px]] [[File:Pumpkin Stem Age 3 JE3.png|32px]] [[File:Pumpkin Stem Age 4 JE3.png|32px]] [[File:Pumpkin Stem Age 5 JE3.png|32px]] [[File:Pumpkin Stem Age 6 JE3.png|32px]] Pumpkin stems now use a squished version of their texture for immature stems, depending on age.
|[[File:Pumpkin Stem Age 8 JE3.png|32px]] [[File:Pumpkin Stem Age 9 JE3.png|32px]] [[File:Pumpkin Stem Age 10 JE3.png|32px]] [[File:Pumpkin Stem Age 11 JE3.png|32px]] [[File:Pumpkin Stem Age 12 JE3.png|32px]] [[File:Pumpkin Stem Age 13 JE3.png|32px]] [[File:Pumpkin Stem Age 14 JE3.png|32px]] [[File:Pumpkin Stem Age 15 JE3.png|32px]] This also affects pumpkin stems of ages 8-15, which are likewise stretched to accommodate its predicted size.
|[[File:Attached Stem Age 8 JE3.png|32px]] [[File:Attached Stem Age 9 JE3.png|32px]] [[File:Attached Stem Age 10 JE3.png|32px]] [[File:Attached Stem Age 11 JE3.png|32px]] [[File:Attached Stem Age 12 JE3.png|32px]] [[File:Attached Stem Age 13 JE3.png|32px]] [[File:Attached Stem Age 14 JE3.png|32px]] [[File:Attached Stem Age 15 JE3.png|32px]] Pumpkin stems of extreme ages, which are attached to adjacent fruits, now show a stretched and tinted stem appearance.}}
{{History|||snap=13w03a|[[File:Pumpkin Stem Age 0 JE4.png|32px]] [[File:Pumpkin Stem Age 1 JE4.png|32px]] [[File:Pumpkin Stem Age 2 JE4.png|32px]] [[File:Pumpkin Stem Age 3 JE4.png|32px]] [[File:Pumpkin Stem Age 4 JE4.png|32px]] [[File:Pumpkin Stem Age 5 JE4.png|32px]] [[File:Pumpkin Stem Age 6 JE4.png|32px]] [[File:Pumpkin Stem Age 7 JE4.png|32px]] Pumpkin stems are no longer squished or stretched to account for age.<ref>{{bug|MC-7111}}</ref>
|[[File:Pumpkin Stem Age 8 JE4.png|32px]] [[File:Pumpkin Stem Age 9 JE4.png|32px]] [[File:Pumpkin Stem Age 10 JE4.png|32px]] [[File:Pumpkin Stem Age 11 JE4.png|32px]] [[File:Pumpkin Stem Age 12 JE4.png|32px]] [[File:Pumpkin Stem Age 13 JE4.png|32px]] [[File:Pumpkin Stem Age 14 JE4.png|32px]] [[File:Pumpkin Stem Age 15 JE4.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[trapdoor]] texture.
|From this version up until 14w08a, overgrown pumpkin stems start to draw from the texture below them on the [[texture atlas]], in much the same way they previously did with terrain.png. However, as texture atlases are unstable and textures tend to change positions as new blocks and textures are added, overgrown stems change the texture they draw from every time new textures are added, which includes when textures added by [[mods]].}}
{{History|||snap=13w09a|[[File:Pumpkin Stem Age 8 JE5.png|32px]] [[File:Pumpkin Stem Age 9 JE5.png|32px]] [[File:Pumpkin Stem Age 10 JE5.png|32px]] [[File:Pumpkin Stem Age 11 JE5.png|32px]] [[File:Pumpkin Stem Age 12 JE5.png|32px]] [[File:Pumpkin Stem Age 13 JE5.png|32px]] [[File:Pumpkin Stem Age 14 JE5.png|32px]] [[File:Pumpkin Stem Age 15 JE5.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[birch wood]] texture.}}
{{History||1.6.1|snap=13w24a|Melon and pumpkin stems have now been assigned separate textures.
|[[File:Pumpkin Stem Age 8 JE6.png|32px]] [[File:Pumpkin Stem Age 9 JE6.png|32px]] [[File:Pumpkin Stem Age 10 JE6.png|32px]] [[File:Pumpkin Stem Age 11 JE6.png|32px]] [[File:Pumpkin Stem Age 12 JE6.png|32px]] [[File:Pumpkin Stem Age 13 JE6.png|32px]] [[File:Pumpkin Stem Age 14 JE6.png|32px]] [[File:Pumpkin Stem Age 15 JE6.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted curving [[rail]] texture.}}
{{History||1.7.2|snap=13w37a|Added the {{cmd|setblock}} command, allowing for invalid pumpkin stem ages to be placed in the world without using external editors. This also allows them to be obtained in earlier versions via backdating.}}
{{History|||snap=13w41a|[[File:Pumpkin Stem Age 8 JE7.png|32px]] [[File:Pumpkin Stem Age 9 JE7.png|32px]] [[File:Pumpkin Stem Age 10 JE7.png|32px]] [[File:Pumpkin Stem Age 11 JE7.png|32px]] [[File:Pumpkin Stem Age 12 JE7.png|32px]] [[File:Pumpkin Stem Age 13 JE7.png|32px]] [[File:Pumpkin Stem Age 14 JE7.png|32px]] [[File:Pumpkin Stem Age 15 JE7.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted lit [[furnace]] texture.}}
{{History|||snap=13w43a|[[File:Pumpkin Stem Age 8 JE8.png|32px]] [[File:Pumpkin Stem Age 9 JE8.png|32px]] [[File:Pumpkin Stem Age 10 JE8.png|32px]] [[File:Pumpkin Stem Age 11 JE8.png|32px]] [[File:Pumpkin Stem Age 12 JE8.png|32px]] [[File:Pumpkin Stem Age 13 JE8.png|32px]] [[File:Pumpkin Stem Age 14 JE8.png|32px]] [[File:Pumpkin Stem Age 15 JE8.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[pumpkin]] top texture.}}
{{History||1.8|snap=14w10a|[[File:Pumpkin Stem Age 8 JE9.png|32px]] [[File:Pumpkin Stem Age 9 JE9.png|32px]] [[File:Pumpkin Stem Age 10 JE9.png|32px]] [[File:Pumpkin Stem Age 11 JE9.png|32px]] Pumpkin stems with data values 8-11 now display a tinted attached stem, with 8 facing west, 9 facing east, 10 facing north and 11 facing south.
|Invalid pumpkin stems with data values 12-15 now crash the game.}}
{{History|||snap=14w25a|[[File:Pumpkin Stem Age 0 JE5.png|32px]] [[File:Pumpkin Stem Age 1 JE5.png|32px]] [[File:Pumpkin Stem Age 2 JE5.png|32px]] [[File:Pumpkin Stem Age 3 JE5.png|32px]] [[File:Pumpkin Stem Age 4 JE5.png|32px]] [[File:Pumpkin Stem Age 5 JE5.png|32px]] [[File:Pumpkin Stem Age 6 JE5.png|32px]] [[File:Pumpkin Stem Age 7 JE5.png|32px]] Pumpkin stems now render as a single diagonal plane, or, in the case of attached stems, a diagonal and orthogonal plane.
|[[File:Attached Pumpkin Stem (N) JE3.png|32px]] [[File:Attached Pumpkin Stem (E) JE3.png|32px]] [[File:Attached Pumpkin Stem (S) JE3.png|32px]] [[File:Attached Pumpkin Stem (W) JE3.png|32px]] The attached pumpkin stem [[model]] now fully rotates to the direction the stem points. Prior to this update, the base of the pumpkin stem would stay the same while the long attaching section would differ, resulting in four possible attached stem appearances.
|Invalid overgrown pumpkin stems have now effectively been removed from the game, as attempting to place an out of range stem via {{cmd|setblock}} creates a stem of age 0 and loading a world with existing such stems cause a game crash.}}
{{History|||snap=14w26a|[[File:Pumpkin Stem Age 0 JE6.png|32px]] [[File:Pumpkin Stem Age 1 JE6.png|32px]] [[File:Pumpkin Stem Age 2 JE6.png|32px]] [[File:Pumpkin Stem Age 3 JE6.png|32px]] [[File:Pumpkin Stem Age 4 JE6.png|32px]] [[File:Pumpkin Stem Age 5 JE6.png|32px]] [[File:Pumpkin Stem Age 6 JE6.png|32px]] [[File:Pumpkin Stem Age 7 JE6.png|32px]] [[File:Attached Pumpkin Stem (N) JE4.png|32px]] [[File:Attached Pumpkin Stem (E) JE4.png|32px]] [[File:Attached Pumpkin Stem (S) JE4.png|32px]] [[File:Attached Pumpkin Stem (W) JE4.png|32px]] Pumpkin stems now correctly render as crosses again.<ref>{{bug|MC-58136}}</ref>}}
{{History|||snap=14w27a|[[File:Attached Stem Age 0 14w27a.png|32px]] [[File:Attached Stem Age 1 14w27a.png|32px]] [[File:Attached Stem Age 2 14w27a.png|32px]] [[File:Attached Stem Age 3 14w27a.png|32px]] [[File:Attached Stem Age 4 14w27a.png|32px]] [[File:Attached Stem Age 5 14w27a.png|32px]] [[File:Attached Stem Age 6 14w27a.png|32px]] Due to a bug, all pumpkin stems now appear attached regardless of age or any actual attachment.<ref>{{bug|MC-60208}}</ref>}}
{{History|||snap=14w28a|All pumpkin stems appearing attached regardless of the age of any actual attachment has been fixed. However, pumpkin stems still appear attached to adjacent fruits regardless of age due to a similar bug.<ref>{{bug|MC-61716}}</ref>}}
{{History|||snap=14w34d|Pumpkin seeds no longer can be used to breed [[chicken]]s.}}
{{History||1.9|snap=15w31a|Chickens can now use pumpkin seeds to [[breeding|breed]] again.}}
{{History|||snap=15w44a|Pumpkin seeds have been added to [[dungeon]] [[chest]]s.
|The average yield of pumpkin seeds in [[mineshaft]] chests has been decreased.}}
{{History|||snap=15w45a|Pumpkin stems must now be fully grown again to attach.}}
{{History||1.11|snap=16w39a|Pumpkin seeds are now found in the new [[woodland mansion]] chests.
|Pumpkin stems now generate inside [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|The different [[block]] states for the <code>pumpkin_stem</code> ID have been split up into their own IDs.
|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved pumpkin.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 104, and the [[item]]'s 361.}}
{{History|||snap=17w48a|Attached pumpkin stems no longer [[drops|drop]] seeds.}}
{{History||1.14|snap=18w43a|[[File:Pumpkin Stem Age 0 JE7.png|32px]] [[File:Pumpkin Stem Age 1 JE7.png|32px]] [[File:Pumpkin Stem Age 2 JE7.png|32px]] [[File:Pumpkin Stem Age 3 JE7.png|32px]] [[File:Pumpkin Stem Age 4 JE7.png|32px]] [[File:Pumpkin Stem Age 5 JE7.png|32px]] [[File:Pumpkin Stem Age 6 JE7.png|32px]] [[File:Pumpkin Stem Age 7 JE7.png|32px]] The stem texture has changed.
|[[File:Attached Pumpkin Stem (N) JE5.png|32px]] [[File:Attached Pumpkin Stem (E) JE5.png|32px]] [[File:Attached Pumpkin Stem (S) JE5.png|32px]] [[File:Attached Pumpkin Stem (W) JE5.png|32px]] The pumpkin stem texture change also affects the base cross on pumpkin stems.}}
{{History|||snap=18w50a|Pumpkin stems now generate in the updated [[taiga]] [[village]] farms.
|Pumpkin seeds can now be found in [[chest]]s in taiga village houses.}}
{{History|||snap=19w03a|Placing pumpkin seeds into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Pumpkin seeds now have a 30% chance of increasing the compost level in a composter by 1.
|Added [[Wandering Trader|wandering trader]]s, which sell pumpkin seeds.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate pumpkin stems.}}
{{History|||snap=19w39a|Attached pumpkin stems now [[drops|drop]] seeds again.<ref>{{bug|MC-136360}}</ref>}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.
|Pumpkin seeds are obtainable from the [[Nether reactor]].}}
{{History||v0.12.1|snap=build 1|Pumpkin seeds are no longer available from the Nether reactor.}}
{{History||v0.14.0|snap=build 1|Pumpkin seeds can now be found in [[minecart with chest]]s inside [[mineshaft]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Pumpkin stems now generate inside [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Pumpkin seeds are now used to tame [[parrot]]s.}}
{{History||1.4.0|snap=beta 1.2.13.8|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved [[pumpkin]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Attached Pumpkin Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached pumpkin stems has been changed.
|Pumpkin seeds can now be [[trading|bought]] from [[wandering trader]]s.
|A single pumpkin crop now generates in the new [[taiga]] and [[snowy taiga]] [[village]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|A single pumpkin seed can now be used to fill the [[composter]].
|Pumpkin seeds can now be found in [[taiga]] and [[snowy taiga]] [[village]] house [[chest]]s.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved [[pumpkin]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Attached Pumpkin Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached pumpkin stems has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.}}
{{History|foot}}

<gallery>
Pumpkin Stem with data value 15.png|The final version of the pumpkin stem with age 15, as seen in-game.
Pumpkinstems.png|Pumpkin stems of ages 1 to 15 on a modded version of [[Java Edition 1.7.2|1.7.2]], hence the nearby melon stems using the melon top texture.
Stems of 13w02a.png|All 16 stem sizes in [[Java Edition 13w02a|13w02a]], with accompanying data values.
</gallery>

=== Pumpkin stem "item" ===
{{:Technical blocks/Pumpkin Stem}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
Stem All Ages.png|All stages of growth.
AllSeeds.png|All the [[seeds]] that exist in the game.
</gallery>

== References ==
{{reflist}}

{{Blocks|vegetation}}
{{Items}}

[[Category:Plants]]
[[Category:Food]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]

[[cs:Dýňová semínka]]
[[de:Kürbiskerne]]
[[es:Semillas de calabaza]]
[[fr:Graines de citrouille]]
[[hu:Tökmagok]]
[[ja:カボチャの種]]
[[ko:호박씨]]
[[nl:Pompoenpitten]]
[[pl:Nasiona dyni]]
[[pt:Sementes de abóbora]]
[[ru:Семена тыквы]]
[[th:เมล็ดฝักทอง]]
[[zh:南瓜种子]]</li></ul>
pre1Added functions.
pre3Commands are no longer allowed to begin with a / (forward slash)
Comments can now only be preceded with #; using // is no longer allowed
pre4Added new arguments to the /function command: [if|unless] [selector]
pre6Skipped functions (when a conditional fails) are now considered failures when used in commands.
upcoming
1.13
{{Extension DPL}}<ul><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 ==
There are 26 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]]
|}

=== 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|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><li>[[Spyglass|Spyglass]]<br/>{{Item
| title = Spyglass
| image = Spyglass.png
| durability = 
| rarity = Common
| renewable = Yes
| stackable = No
}}
 
A '''spyglass''' is a [[tool]] used to zoom in on distant objects.

== Obtaining ==
=== Crafting ===
{{Crafting
  |B1=Amethyst Shard
  |B2=Copper Ingot
  |B3=Copper Ingot
  |Output=Spyglass
  |type=Tool
}}

== Usage ==
[[File:Steve scoping Spyglass.png|right|100px]] [[File:Alex scoping Spyglass.png|right|100px]]

To use a spyglass, the player selects it from the hotbar and clicks {{control|use}} while looking in the desired direction.

Spyglasses are used to zoom in on a specific location in the player's field of view (FOV). The spyglass changes the FOV to {{frac|1|10}} of the FOV set in [[options]]. By default, the FOV is set to 70° in ''Java Edition'' and 60° in Bedrock Edition, resulting in an FOV of 7° in ''Java Edition'' and 6° in Bedrock Edition through the spyglass. The player's FOV can be set from 30° to 110°, so the spyglass FOV can  range from 3° to 11°. Regardless of the situation, or status effects the player has, using the Spyglass always shows a FOV {{frac|1|10}} of the FOV set in [[options]].

A square vignette is applied when in use, similar to the effect when wearing a [[carved pumpkin]]. Pressing {{key|F1}} removes the vignette,{{only|java}}<ref>{{bug|MC-203575||The spyglass overlay goes away when pressing F1|WAI}}</ref><ref>{{bug|MCPE-125869||Spyglass's overlay don't go away even if the player toggles Hide GUI on/ Pressing F1|}}</ref> similar to a carved pumpkin. 

Hazy distant objects remain hazy when viewed in the spyglass. Mobs too distant to render also do not render in the spyglass. The spyglass shows a magnified view of what the player already sees.

The player is slowed down while watching through the spyglass. When the player uses the spyglass continuously for {{convert|1|minute|game tick}}, the interface is automatically closed.

If the player has a certain effect on their screen like [[fire]], the spyglass does not remove that effect on the player's screen.

[[File:Spyglass Zooming.gif|thumb|center|A spyglass being used to zoom in on a [[block of gold]] starting from normal FOV (70°).]]

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Spyglass use.ogg
|subtitle=Spyglass expands
|source=player
|description=When a player uses a spyglass
|id=item.spyglass.use
|translationkey=subtitles.item.spyglass.use
|volume=0.5
|pitch=''varies'' <ref group=sound>Can be 1.15, 1.33, 1.4, or 1.55</ref>
|distance=16}}
{{Sound table
|sound=Spyglass stop.ogg
|subtitle=Spyglass retracts
|source=player
|description=When a player stops using a spyglass
|id=item.spyglass.stop_using
|translationkey=subtitles.item.spyglass.stop_using
|volume=0.5
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 0.9</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Spyglass use.ogg
|source=player
|description=When a player uses a spyglass
|id=item.spyglass.use
|volume=0.5
|pitch=1.15-1.55}}
{{Sound table
|sound=Spyglass stop.ogg
|source=player
|description=When a player stops using a spyglass
|id=item.spyglass.stop_using
|volume=0.5
|pitch=0.8-1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Spyglass
|spritetype=item
|nameid=spyglass
|form=item
|foot=1|id=626}}

== Advancements ==
{{load advancements|Is it a Bird?;Is it a Balloon?;Is it a Plane?}}

== History ==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=25m21s}}|[[File:Spyglass JE1.png|32px]]<!-- [[File:Spyglass scope (pre-release).png|32px]]--> Spyglasses are revealed at [[Minecraft Live 2020]]. They were originally named "telescopes" and had an oval vignette.}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Spyglass JE1.png|32px]] Added spyglasses.
|[[File:Spyglass scope JE1.png|32px]] The scope texture is currently a circle with glare spots.}}
{{History|||snap=20w46a|[[File:Spyglass scope JE2.png|32px]] The scope texture is now a [[glass]] square with a [[copper]] border.}}
{{History|||snap=20w48a|[[File:Spyglass JE2 BE1.png|32px]] The spyglass is now a 3D model instead of a flat sprite.
|[[File:Spyglass (texture) JE2.png|32px]] The texture of the spyglass has changed.
|A spyglass in use is anchored better to the player's "eye" when viewed in 3rd person.}}
{{History|||snap=21w05a|Copper ingots are now renewable via [[drowned]], making spyglasses renewable.}}
{{History|||snap=21w10a|[[File:Spyglass (item) JE3 BE1.png|32px]] Spyglasses have a new texture in the inventory. The 3D model is still used in the hand, similar to [[tridents]].}}
{{History||1.17.1|snap=Pre-release 1|[[File:Spyglass (texture) JE3.png|32px]] The texture of the spyglass model has changed.}}
{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Spyglass JE2 BE1.png|32px]] [[File:Spyglass (item) JE3 BE1.png|32px]] Added spyglasses.}}
{{History|||snap=beta 1.17.0.52|Spyglasses are now available without enabling [[experimental gameplay]].}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
*If {{command|item replace}} is used to place a spyglass on a player's head, the item appears stuck to the center of the player's face.

== Gallery ==
<gallery>
Villager Spyglass.png|Spying on [[villager]]s through a spyglass.
After using the spyglass at FOV 30 F1.png|Hiding the HUD removes the spyglass overlay.
Panda eating a spyglass.png|When eaten by a [[panda]], spyglasses cause [[missing texture]] particles to be produced.<ref>{{bug|MC-206684}}</ref>
JE 1.17 Development Telescope.jpg|The spyglass was originally called the telescope.
JE 1.17 Development Telescope 2.jpg|The telescope's overlay was originally round instead of square.
File:Ari Spyglass.jpg|How the spyglass looks in the third person.
Steve scoping Spyglass JE1.png|Steve using a spyglass before its 3D model was added.
Alex scoping Spyglass JE1.png|Alex using a spyglass before its 3D model was added.
File:Mangrove Portal.jpg|An [[allay]] peeking into view of [[Noor]]’s spyglass.
</gallery>

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--spyglass Taking Inventory: Spyglass] – Minecraft.net on February 17, 2022

{{Items}}

[[Category:Renewable resources]]

[[de:Fernrohr]]
[[es:Catalejo]]
[[fr:Longue-vue]]
[[it:Cannocchiale]]
[[ja:望遠鏡]]
[[pl:Luneta]]
[[pt:Luneta]]
[[ru:Подзорная труба]]
[[zh:望远镜]]</li></ul>
17w43aCustom functions have been moved into data packs.
17w45aFunctions are now completely parsed and cached on load.
17w49bFunction can now be tagged.
Functions tagged in minecraft:tick now run every tick in the beginning of the tick.

Issues

Issues relating to "Function (Java Edition)" are maintained on the bug tracker. Report issues there.

References

Advertisement