Minecraft Wiki
SWinxy (talk | contribs)
mNo edit summary
Tag: 2017 source edit
m (Revert edits by 36.71.240.246 (talk): there are two of them, and the section title would be the same even if there was only one)
Tag: Rollback
(6 intermediate revisions by 6 users not shown)
Line 168: Line 168:
 
|
 
|
 
|}
 
|}
Use of a resource pack can be forced by naming its zip file to {{cd|resources.zip}} and placing it in the root folder of the world save.<ref>https://www.mojang.com/2014/02/minecraft-snapshot-14w07a/</ref> This feature is single-player only;<ref>{{Cite bug|MC|73716|Resources.zip doesn't work for servers (and possibly LAN worlds)|date=October 27, 2014}}</ref> however, there is another way for servers to ask clients if they want to use the server resource pack.
+
Use of a resource pack can be forced by naming its zip file to {{cd|resources.zip}} and placing it in the root folder of the world save.<ref>[https://web.archive.org/web/20140221073128/https://www.mojang.com/2014/02/minecraft-snapshot-14w07a/ Minecraft snapshot 14w07a] – Dinnerbone on mojang.com; February 14, 2014</ref> This feature is single-player only;<ref>{{Cite bug|MC|73716|Resources.zip doesn't work for servers (and possibly LAN worlds)|date=October 27, 2014}}</ref> however, there is another way for servers to ask or force clients to use the server resource pack.
   
 
For windows OS and linux, the contents of {{Cd|nativelog.txt}} and {{Cd|nativeUpdaterLog.txt}} can be found within {{Cd|launcher_log.txt}} when applicable (i.e. the contents of{{Cd|nativeUpdaterLog.txt}} will only be present in {{Cd|latest_log.txt}} after the launcher is updated / launched for the first time).
 
For windows OS and linux, the contents of {{Cd|nativelog.txt}} and {{Cd|nativeUpdaterLog.txt}} can be found within {{Cd|launcher_log.txt}} when applicable (i.e. the contents of{{Cd|nativeUpdaterLog.txt}} will only be present in {{Cd|latest_log.txt}} after the launcher is updated / launched for the first time).

Revision as of 00:18, 23 June 2022

For the Bedrock Edition folder, see com.mojang.
Information icon
This feature is exclusive to Java Edition. 

.minecraft (or simply minecraft in macOS) is the folder Minecraft: Java Edition creates to run from. This folder includes the .jar files, sound, music, resource packs, personal options, worlds, etc.

Locating .minecraft

Below is a table showing the default directory for .minecraft.

OS Location
Windows %APPDATA%\.minecraft
macOS ~/Library/Application Support/minecraft
Linux ~/.minecraft

Locating the .minecraft folder can be vital for installing a resource pack or to locate any made screenshots.

The Windows location in the table above is just the default case. Launchers can set the .minecraft at any path.

If you're a Windows user and are unfamiliar with how to find your appdata folder, follow these steps:

  1. Click Start → Run. If you don't see "Run", press ⊞ Windows + R.
  2. Type %APPDATA%\.minecraft and click "OK".

If you're a Mac user, you can open the folder through Spotlight:

  1. Open Finder and press ⇧ Shift + ⌘ Command + G or open the Spotlight popup through the magnifying glass icon on the right of the Menu Bar.
  2. Type ~/Library/Application Support/minecraft and hit ↵ Enter.

On Linux or macOS, the ~ in the path refers to the home directory. Folders starting with a . are hidden by default. In most file managers, hitting Ctrl + H toggles their hidden status. In macOS specifically, since version 10.12 (Sierra), the shortcut ⌘ Command + ⇧ Shift + . toggles the hidden status of files.


If you want to change directory of the .minecraft folder, see Tutorials/Custom Minecraft directory.

.minecraft file hierarchy

List
  • .minecraft
    • assets
      • indexes
        • version.json
      • log_configs
        • client-version.xml
      • objects
      • skinpacks
      • virtual
    • bin
      • jinput.jar
      • lwjgl.jar
      • lwjgl_util.jar
      • minecraft.jar (it is the client.jar for 1.5.2. The game doesn't use it after the launcher update, though; it uses the "versions" folder instead.)
      • natives
        • (.dll files)
      • [Random ID]
        • (.dll files)
    • debug
      • year-month-day_hour.minute.second.zip
        • deviations
          • <tick_number>@year-month-day_hour.minute.second.txt
        • metrics
          • eventloops.csv
          • frame_times_ms_.csv
          • jvm.csv
          • mailboxes.csv
          • rendering_chunk_dispatching.csv
          • rendering_chunk_stats.csv
          • task_total_duration_ms.csv
        • profiling.txt
    • libraries
      • [Various libraries packaged per Maven convention (without POM files)]
    • logs
      • year-month-day-sessionNumber.log.gz
      • latest.log
    • resourcepacks
    • saves
    • screenshots
      • year-month-day_hour.minute.second.png (or, ...second_instance.png)
    • stats
      • stats_player_unsent.dat
      • stats_player_unsent.old
    • texturepacks
    • texturepacks-mp-cache
    • versions
    • webcache
      • Cache
        • data_0
        • data_1
        • data_2
        • data_3
        • f_<hexa>
      • Cookies
      • Cookies-journal
      • GPUCache
        • data_0
        • data_1
        • data_2
        • data_3
        • index
      • Visited Links
    • debug.stitched_items.png
    • debug.stitched_terrain.png
    • hotbar.nbt
    • lastlogin
    • nativelog.txt (macOS only)
    • nativeUpdaterLog.txt (macOS only)
    • launcher_cef_log.txt
    • launcher_entitlements.json
    • launcher_gamer_pics.json
    • launcher_msa_credentials.json
    • launcher_profiles.json
    • launcher_settings.json
    • launcher_skins.json
    • launcher_ui_state.json
    • options.txt
    • output-client.log
    • output-server.log
    • realms_persistence.json
    • servers.dat
    • textures_0.png
    • textures_1.png
    • textures_2.png
    • textures_3.png
    • textures_4.png
    • usercache.json

Use of a resource pack can be forced by naming its zip file to resources.zip and placing it in the root folder of the world save.[1] This feature is single-player only;[2] however, there is another way for servers to ask or force clients to use the server resource pack.

For windows OS and linux, the contents of nativelog.txt and nativeUpdaterLog.txt can be found within launcher_log.txt when applicable (i.e. the contents ofnativeUpdaterLog.txt will only be present in latest_log.txt after the launcher is updated / launched for the first time).

History

Java Edition Infdev
June 29, 2010
{{Extension DPL}}<ul><li>[[Cooked Rabbit|Cooked Rabbit]]<br/>{{Item
| title = Cooked Rabbit
| image = Cooked Rabbit.png
| heals = {{hunger|5}}
| renewable = Yes
| stackable = Yes (64)
}}

'''Cooked rabbit''' is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==

=== Mob loot ===

{{IN|Bedrock}}, adult [[rabbit]]s drop 0–1 cooked rabbit if killed while on fire. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 0–4 with Looting III.

{{IN|Java}}, adult [[rabbit]]s drop 1 cooked rabbit if killed while on fire. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–4 with Looting III.

=== Cooking ===

Cooked rabbit can be obtained by cooking [[raw rabbit]] in a [[furnace]], [[smoker]], or [[campfire]].
{{Smelting
  |showname=1
  |Raw Rabbit
  |Cooked Rabbit
  |0,35
}}

=== Villagers ===
{{IN|java}}, butcher villagers may give players with the [[Hero of the Village]] effect cooked rabbit.

{{IN|bedrock}}, apprentice-level butcher villagers have 25% chance to sell 5 cooked rabbit for an emerald.

== Usage ==

=== Food ===

To eat a cooked rabbit, press and hold {{control|use}} while it is selected in the [[hotbar]]. Eating one restores {{hunger|5}} [[hunger]] and 6 hunger [[Hunger#Mechanics|saturation]].

=== Crafting ingredient ===
Cooked rabbit can be used to craft rabbit stew.

{{crafting usage}}

=== Wolves ===

Cooked rabbit can be used to [[breed]] and heal tamed [[wolves]], lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Rabbit
|spritetype=item
|nameid=cooked_rabbit
|id=289
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Rabbit Season}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}

== History ==

{{History|java}}
{{History||1.8|snap=June 30, 2014|slink=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweeted images of cooked rabbits and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Cooked Rabbit JE1.png|32px]] Added cooked rabbit. It is used to craft [[rabbit stew]].}}
{{History|||snap=14w33b|[[File:Cooked Rabbit JE2 BE1.png|32px]] The texture of cooked rabbit has been changed. The new texture was created by [[wikipedia:Reddit|Reddit]] user [http://www.reddit.com/u/zeldahuman zeldahuman].<ref>{{reddit|2bjzes/a_reminder_of_the_blocks_and_items_added_in_18_so|cj69zie|context=3}}</ref><ref>{{reddit|2c5f35/minecraft_snapshot_14w31a_has_been_released|cjct7gb}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 412.}}
{{History||1.14|snap=18w43a|[[File:Cooked Rabbit JE3 BE2.png|32px]] The texture of cooked rabbit has been changed.}}
{{History|||snap=19w13a|Butcher [[villager]]s now give cooked rabbit to players under the [[Hero of the Village]] effect.}}
{{History||1.19.3|snap=22w42a|Rabbits now always drop at least 1 coooked rabbit when killed while on fire.}}

{{History|pocket alpha}}
{{History||v0.13.0|snap=build 1|[[File:Cooked Rabbit JE2 BE1.png|32px]] Added cooked rabbit.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Rabbit JE3 BE2.png|32px]] The texture of cooked rabbit has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked rabbit can now be [[trading|bought]] from butcher [[villager]]s.}}
{{History||1.12.0|snap=beta 1.12.0.3|The [[trading]] price of cooked rabbit has been lowered to one [[emerald]].}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Cooked Rabbit JE2 BE1.png|32px]] Added cooked rabbit.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Rabbit JE3 BE2.png|32px]] The texture of cooked rabbit has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cooked Rabbit JE2 BE1.png|32px]] Added cooked rabbit.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Rabbit Items 2 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
</gallery>

== References ==
{{reflist}}

{{items}}

[[Category:Food]]
[[Category:Renewable resources]]

[[de:Gebratenes Kaninchen]]
[[es:Conejo asado]]
[[it:Coniglio cotto]]
[[fr:Lapin cuit]]
[[ja:焼き兎肉]]
[[ko:익힌 토끼고기]]
[[nl:Gebraden konijnenvlees]]
[[pl:Pieczony królik]]
[[pt:Coelho assado]]
[[ru:Жареная крольчатина]]
[[zh:熟兔肉]]</li><li>[[Brick|Brick]]<br/>{{about|the item|the crafted block|Bricks|other uses}}
{{Item
| image = [[File:Brick JE2 BE2.png|32px]]
| stackable = Yes (64)
| renewable = Yes 
}}

A '''brick''' is an item used to craft [[bricks|brick]] blocks, [[flower pot]]s, and [[decorated pot]]s.

== Obtaining ==

=== Smelting ===
A brick can be obtained by smelting a [[clay ball]].
{{Smelting
|Clay Ball
|Brick
|0,3
}}

=== Mining ===

When [[breaking]] a [[decorated pot]] with a tool without [[Silk Touch]] on the main hand, the decorated pot can drops 0-4 brick(s) depend on the material that the decorated pot make of.

=== Loot ===

{{LootChestItem|brick}}

=== Trading ===

Novice-level stone mason [[villager]]s sell 16{{only|bedrock}} or 10{{only|java}} bricks for one [[emerald]].

== Usage ==
Brick can be used to craft [[bricks]], [[flower pot]]s, and [[decorated pot]]s.
=== Crafting ingredient ===

{{crafting usage}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Brick
|spritetype=item
|nameid=brick
|id=383
|form=item
|foot=1}}

== History ==

{{History|java alpha}}
{{History||v1.0.11|[[File:Brick JE1 BE1.png|32px]] Added bricks as an item.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Bricks are now used for [[flower pot]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this item's numeral ID was 336.}}
{{History||1.14|snap=18w43a|[[File:Brick JE2 BE2.png|32px]] The texture of bricks has been changed.}}
{{History|||snap=19w11a|Bricks are now [[trading|sold]] by [[villager]]s of the new mason profession, making them [[renewable resource|renewable]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Bricks can now be used for crafting [[decorated pot]]s.|Bricks now drop when brushing [[suspicious sand]] in [[desert well]]s.|Bricks now drop when mining [[decorated pot]] with a tool on the main hand.}}
{{History||1.20|snap=23w12a|The probability for the brick to generate in the [[suspicious sand]] in [[desert well]] has been changed from 1/7 to 1/8.|Brick can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Brick no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; brick now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Brick JE1 BE1.png|32px]] Added bricks as an item. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.2|Bricks can now be obtained by smelting clay balls.
|Bricks are now used to craft [[brick block]]s.}}
{{History||v0.12.1|snap=build 1|Bricks are now used to craft [[flower pot]]s.}}
{{History||v0.16.0|snap=build 5|Added bricks to the [[Creative]] [[inventory]].<ref name="missing brick">{{Bug|MCPE-16556}}</ref>}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|16 bricks can now be obtained via trading with stone mason [[villager]]s for 1-2 [[emerald]]s.
|[[File:Brick JE2 BE2.png|32px]] The texture of bricks has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Trading has been changed; bricks sold by stone mason villagers now cost only one emerald.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Bricks now drop when brushing [[suspicious sand]] in [[desert well]]s and can be used to craft decorated pots.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Brick JE1 BE1.png|32px]] Added bricks.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Brick JE2 BE2.png|32px]] The texture of bricks has been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Brick JE1 BE1.png|32px]] Added bricks.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Cihla]]
[[de:Ziegel]]
[[es:Ladrillo]]
[[fr:Brique]]
[[hu:Tégla]]
[[it:Mattone]]
[[ja:レンガ]]
[[ko:벽돌 (아이템)]]
[[nl:Baksteen]]
[[pl:Cegła]]
[[pt:Tijolo]]
[[ru:Кирпич]]
[[th:อิฐ]]
[[uk:Цеглина]]
[[zh:红砖]]</li></ul>
Added level.dat_old
Java Edition Alpha
v1.0.11
{{Extension DPL}}<ul><li>[[Fish|Fish]]<br/>{{About|the type of mob|the action|Fishing}}
'''Fish''' are aquatic creatures that are found in [[river]] and [[ocean]] biomes.

== Mobs ==
There are four categories of fish mobs in ''Minecraft'': 
*{{EntityLink|Cod}}
*{{EntityLink|Salmon}}
*{{EntityLink|Pufferfish}}
*{{EntityLink|Tropical Fish}} - many color and pattern varieties

In addition, there are other fish-like mobs that have different characteristics from fish: {{EntityLink|Axolotl}}, {{EntityLink|Guardian}}, and {{EntityLink|Elder Guardian}}.

==Obtaining and transporting==
A live fish can be captured by using a [[water bucket]] on a fish, to obtain a [[bucket of fish]], which is the only way to obtain the live mob in item form. Using the bucket of fish on a water source block transfers the fish from the bucket to the body of water. A water bucket may also be used on [[axolotl]]s in this manner.

==Items==
Fish exist in several different item forms. Upon death, fish drop their item form equivalent (cooked if on fire), with a chance to drop a [[bone]]{{only|bedrock}} or [[bone meal]].{{only|java}}

;Non-living
*{{ItemLink|Raw Cod}}
*{{ItemLink|Cooked Cod}}
*{{ItemLink|Raw Salmon}}
*{{ItemLink|Cooked Salmon}}
*{{ItemLink|Pufferfish|link=Pufferfish (item)}}
*{{ItemLink|Tropical Fish|link=Tropical Fish (item)}}
;Living
*{{ItemLink|Bucket of Cod}}
*{{ItemLink|Bucket of Salmon}}
*{{ItemLink|Bucket of Pufferfish}}
*{{ItemLink|Bucket of Tropical Fish}}

== Spawning ==
Various fish can be found in different [[ocean]] [[biomes]], but only [[salmon]] appear in rivers. Fish can also spawn in player-created bodies of water, as long as they are within a river or ocean biome.

{| class="wikitable sortable" style="text-align:left" data-description="Fish biomes"
!'''Fish'''
! style="text-align:left" |{{BiomeLink|Warm Ocean}}
! style="text-align:left" |{{BiomeLink|Lukewarm Ocean}}<br>{{BiomeLink|Deep Lukewarm Ocean}}
! style="text-align:left" |{{BiomeLink|Ocean}}<br>{{BiomeLink|Deep Ocean}}
! style="text-align:left" |{{BiomeLink|Cold Ocean}}<br>{{BiomeLink|Deep Cold Ocean}}
! style="text-align:left" |{{BiomeLink|Frozen Ocean}}<br>{{BiomeLink|Deep Frozen Ocean}}
! style="text-align:left" |{{BiomeLink|River}}<br>{{BiomeLink|Frozen River}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Cod}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Salmon}}
| rowspan=2 {{tc|no}}
| {{tc|no|No{{only|je|short=1}}}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
| {{tc|yes|Yes{{only|be|short=1}}}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Pufferfish}}
| rowspan=2 {{tc|yes}}
| {{tc|yes|Yes{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
|-
| {{tc|no|No{{only|be|short=1}}}}
|-
! style="text-align:left" |{{EntityLink|Tropical Fish}}<ref group="note">Also spawns in {{BiomeLink|Lush Caves}} at any Y-level.</ref>
| {{tc|yes}}
| {{tc|yes}}
| {{tc|no}}
| {{tc|no}}
| {{tc|no}}
| {{tc|no}}
|-
! style="text-align:left" |{{EntityLink|Squid}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Dolphin}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
|}
{{notelist}}

In ''Java Edition'', fish can spawn inside a water block at Y-level 50 to 63 (from 13 blocks below sea level up to inside the block one above it), that also has water above and below it. The spawn block and the block below can be any kind of water, such as a source block, falling water, bubble column, kelp, or even a waterlogged block (as long as the fish can be placed at the bottom center of the spawn block without colliding with anything solid). The block above must be pure water, such as a source block, falling water, or flowing water of any depth. Particularly, the block above cannot also be a bubble column, so fish no longer spawn inside bubble elevators.<ref>{{cite bug|MC|244683|Tropical fish spawn in bubble columns (fixed in 22w07a)}}</ref> 

''Bedrock Edition'' does permit fish to spawn in bubble columns.<ref>{{cite bug|MCPE|73967|Squids, Dolphins, and fish not spawning in bubble columns (fixed in 1.16.20)}}</ref>

Fish can spawn between 24 and 64 block spherical range away from the player.{{only|java}} 

=== Despawning ===
As of [[1.16]], fish can despawn at range of 40 blocks or more from the player, and will instantly despawn more than 64 blocks away, except when spawned using a [[bucket of fish]].

{{Items}}
{{Entities}}

[[cs:Ryba]]
[[de:Fisch (Begriffsklärung)]]
[[es:Pez]]
[[fr:Poisson]]
[[it:Pesce]]
[[ja:魚]]
[[ko:물고기]]
[[nl:Vis]]
[[pl:Ryba (ujednoznacznienie)]]
[[pt:Peixe]]
[[ru:Рыба]]
[[th:ปลา (แก้ความกำกวม)]]
[[uk:Риба]]
[[zh:鱼]]</li><li>[[Cake|Cake]]<br/>{{Distinguish|Pumpkin Pie}}
{{Block
| title = Cake
| image = <gallery>
Cake.png|0 bites
Cake (1 bite).png|1 bite
Cake (2 bites).png|2 bites
Cake (3 bites).png|3 bites
Cake (4 bites).png|4 bites
Cake (5 bites).png|5 bites
Cake (6 bites).png|6 bites
</gallery>
|image2 = <gallery>
Cake with Candle.png|Unlit
Candle Cake (lit).png|Lit
</gallery>
| extratext = [[#Gallery|View all renders]]
| transparent = Yes
| light = '''Candle Cake''': Yes (3) when lit<br>'''Cake''': No
| tool = any
| renewable = Yes
| stackable = Yes (64){{only|bedrock|short=1}}<br>No{{only|java|short=1}}
| flammable = No
| lavasusceptible = No
}}

'''Cake''' is a [[food]] and a block that can be eaten by the player.

A '''cake with candle''' is a light-producing variation created when a [[candle]] is used on an uneaten cake.

== Obtaining ==

=== Breaking ===

Once the cake is placed, it cannot be recollected even with the use of [[Silk Touch]]. Candle cakes always drop their respective [[candle]] when broken.
{{breaking row|horizontal=1|Cake|drop=0}}

=== Chest loot ===
{{LootChestItem|cake}}

=== Crafting ===

{{Crafting
|A1=Milk Bucket
|B1=Milk Bucket
|C1=Milk Bucket
|A2=Sugar
|B2=Egg
|C2=Sugar
|A3=Wheat
|B3=Wheat
|C3=Wheat
|Output=Cake
|type=Foodstuff
|showdescription=1
|description= Empty [[bucket]]s remain in the crafting grid after crafting the cake.
}}

=== Trading ===

Expert-level farmer [[villager]]s can [[trading|sell]] cake for a single [[emerald]] each. The chance is {{frac|2|7}} {{in|je}}.

== Usage ==

{{see also|Tutorials/Hunger management}}

Unlike most [[food]], the cake cannot be eaten as an [[item]] in the hotbar. Before being eaten, it must first be placed on top of a solid [[block]]. Placing the cake on a slab also works, as the slab acts like a solid block. The cake instead floats half a block on top of the slab.

Each cake has seven "slices"; each use consumes one slice progressing inward from the west. A single slice restores {{hunger|2}} hunger and 0.4 hunger [[Hunger#Mechanics|saturation]]. Eating all seven slices of a cake restores {{hunger|14}} hunger and 2.8 hunger saturation.

Since eating a cake comes with no animation, the cake can be eaten at a rate of one slice per [[tick]]. Multiple [[player]]s can eat from the same cake at the same time. {{IN|java}}, eating cake makes no [[sound]], unlike other foods.

As a [[redstone]] component, when connected to a [[comparator]], a whole cake emits a signal strength of 14. The signal strength decreases two units with each slice.

Cake destroys [[Entity#Falling Blocks|falling blocks]] if placed under them, similar to a [[torch]].

=== Pandas ===
Some [[panda]]s move toward a dropped cake to pick up and eat it. Some may not, depending on the cake's location. 

=== Composting ===
Placing a cake into a [[composter]] raises the compost level by 1.

=== Piston interactivity ===
A cake is broken when pushed by a [[piston]], and it drops nothing.

=== Cakes with candles ===
[[File:Cake with Candle.png|thumb|upright|A cake with candle created by placing a candle on an uneaten cake.]]
{{control|Using}} a [[candle]] on an uneaten cake creates a candle cake of that color (including uncolored). Eating the cake causes the candle to drop. 

{{control|Using}} [[flint and steel]], [[fire charge]], or any flaming projectile on an unlit candle cake lights its candle. Lit candle cakes emit light level of 3. Clicking on the lit candle (but not the cake) extinguishes it.

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

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Cake add_candle1.ogg
|sound2=Cake add_candle2.ogg
|sound3=Cake add_candle3.ogg
|subtitle=Cake squishes
|source=Blocks
|description=When a [[candle]] is placed on a cake
|id=block.cake.add_candle
|translationkey=subtitles.block.cake.add_candle
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Cake add_candle1.ogg
|sound2=Cake add_candle2.ogg
|sound3=Cake add_candle3.ogg
|source=block
|description=When a candle is placed on a cake
|id=cake.add_candle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Burp.ogg
|source=player
|description=After a player eats a cake
|id=random.burp
|volume=0.5
|pitch=0.9-1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cake
|spritetype=block
|nameid=cake}}
{{ID table
|displayname=Cake with Candle
|spritename=candle-cake
|spritetype=block
|nameid=candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with White Candle
|spritename=white-candle-cake
|spritetype=block
|nameid=white_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Orange Candle
|spritename=orange-candle-cake
|spritetype=block
|nameid=orange_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Magenta Candle
|spritename=magenta-candle-cake
|spritetype=block
|nameid=magenta_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Light Blue Candle
|spritename=light-blue-candle-cake
|spritetype=block
|nameid=light_blue_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Yellow Candle
|spritename=yellow-candle-cake
|spritetype=block
|nameid=yellow_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Lime Candle
|spritename=lime-candle-cake
|spritetype=block
|nameid=lime_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Pink Candle
|spritename=pink-candle-cake
|spritetype=block
|nameid=pink_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Gray Candle
|spritename=gray-candle-cake
|spritetype=block
|nameid=gray_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Light Gray Candle
|spritename=light-gray-candle-cake
|spritetype=block
|nameid=light_gray_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Cyan Candle
|spritename=cyan-candle-cake
|spritetype=block
|nameid=cyan_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Purple Candle
|spritename=purple-candle-cake
|spritetype=block
|nameid=purple_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Blue Candle
|spritename=blue-candle-cake
|spritetype=block
|nameid=blue_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Brown Candle
|spritename=brown-candle-cake
|spritetype=block
|nameid=brown_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Green Candle
|spritename=green-candle-cake
|spritetype=block
|nameid=green_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Red Candle
|spritename=red-candle-cake
|spritetype=block
|nameid=red_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Black Candle
|spritename=black-candle-cake
|spritetype=block
|nameid=black_candle_cake
|blocktags=candle_cakes
|form=block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Cake
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=cake
|spritetype=block
|nameid=cake
|id=92
|form=block
|itemform=item.cake}}
{{ID table
|displayname=Item
|spritename=cake
|spritetype=item
|nameid=cake
|id=417
|form=item}}
{{ID table
|displayname=Cake with Candle
|spritename=candle-cake
|spritetype=block
|nameid=candle_cake
|blocktags=candle_cakes
|form=block
|id=684}}
{{ID table
|displayname=Cake with White Candle
|spritename=white-candle-cake
|spritetype=block
|nameid=white_candle_cake
|blocktags=candle_cakes
|form=block
|id=685}}
{{ID table
|displayname=Cake with Orange Candle
|spritename=orange-candle-cake
|spritetype=block
|nameid=orange_candle_cake
|blocktags=candle_cakes
|form=block
|id=686}}
{{ID table
|displayname=Cake with Magenta Candle
|spritename=magenta-candle-cake
|spritetype=block
|nameid=magenta_candle_cake
|blocktags=candle_cakes
|form=block
|id=687}}
{{ID table
|displayname=Cake with Light Blue Candle
|spritename=light-blue-candle-cake
|spritetype=block
|nameid=light_blue_candle_cake
|blocktags=candle_cakes
|form=block
|id=688}}
{{ID table
|displayname=Cake with Yellow Candle
|spritename=yellow-candle-cake
|spritetype=block
|nameid=yellow_candle_cake
|blocktags=candle_cakes
|form=block
|id=689}}
{{ID table
|displayname=Cake with Lime Candle
|spritename=lime-candle-cake
|spritetype=block
|nameid=lime_candle_cake
|blocktags=candle_cakes
|form=block
|id=690}}
{{ID table
|displayname=Cake with Pink Candle
|spritename=pink-candle-cake
|spritetype=block
|nameid=pink_candle_cake
|blocktags=candle_cakes
|form=block
|id=691}}
{{ID table
|displayname=Cake with Gray Candle
|spritename=gray-candle-cake
|spritetype=block
|nameid=gray_candle_cake
|blocktags=candle_cakes
|form=block
|id=692}}
{{ID table
|displayname=Cake with Light Gray Candle
|spritename=light-gray-candle-cake
|spritetype=block
|nameid=light_gray_candle_cake
|blocktags=candle_cakes
|form=block
|id=693}}
{{ID table
|displayname=Cake with Cyan Candle
|spritename=cyan-candle-cake
|spritetype=block
|nameid=cyan_candle_cake
|blocktags=candle_cakes
|form=block
|id=694}}
{{ID table
|displayname=Cake with Purple Candle
|spritename=purple-candle-cake
|spritetype=block
|nameid=purple_candle_cake
|blocktags=candle_cakes
|form=block
|id=695}}
{{ID table
|displayname=Cake with Blue Candle
|spritename=blue-candle-cake
|spritetype=block
|nameid=blue_candle_cake
|blocktags=candle_cakes
|form=block
|id=696}}
{{ID table
|displayname=Cake with Brown Candle
|spritename=brown-candle-cake
|spritetype=block
|nameid=brown_candle_cake
|blocktags=candle_cakes
|form=block
|id=697}}
{{ID table
|displayname=Cake with Green Candle
|spritename=green-candle-cake
|spritetype=block
|nameid=green_candle_cake
|blocktags=candle_cakes
|form=block
|id=698}}
{{ID table
|displayname=Cake with Red Candle
|spritename=red-candle-cake
|spritetype=block
|nameid=red_candle_cake
|blocktags=candle_cakes
|form=block
|id=699}}
{{ID table
|displayname=Cake with Black Candle
|spritename=black-candle-cake
|spritetype=block
|nameid=black_candle_cake
|blocktags=candle_cakes
|form=block
|id=700
|foot=1}}

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

== Achievements ==
{{load achievements|The Lie;Birthday Song}}

== Advancements ==
{{load advancements|Birthday Song}}

== History ==
{{info needed section|{{bug|MC-45375}}}}
{{History|java beta}}
{{History||November 23, 2010|link={{tweet|notch|7118994444124160}}|[[Notch]] stated if ''Minecraft'' won the [[2010 Indie of the Year Awards]], he would add cake to ''Minecraft''.}}
{{History||1.2|[[File:Cake JE1.png|32px]] [[File:Cake (1 bite) JE1.png|32px]] [[File:Cake (2 bites) JE1.png|32px]] [[File:Cake (3 bites) JE1.png|32px]] [[File:Cake (4 bites) JE1.png|32px]] [[File:Cake (5 bites) JE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Since ''Minecraft'' won the title, cake has been added.
|Cake heals {{hp|18}}.
|[[File:Cake (6 bites) JE1.png|32px]] [[File:Cake (7 bites) JE1.png|32px]] Cakes with six and seven bites exist, but are not accessible.
|[[File:Cake (8 bites) JE1.png|32px]] [[File:Cake (9 bites) JE1.png|32px]] [[File:Cake (10 bites) JE1.png|32px]] [[File:Cake (11 bites) JE1.png|32px]] [[File:Cake (12 bites) JE1.png|32px]] [[File:Cake (13 bites) JE1.png|32px]] [[File:Cake (14 bites) JE1.png|32px]] [[File:Cake (15 bites) JE1.png|32px]]<br>[[File:Cake (8 bites) JE1 (facing NWU).png|32px]] [[File:Cake (9 bites) JE1 (facing NWU).png|32px]] [[File:Cake (10 bites) JE1 (facing NWU).png|32px]] [[File:Cake (11 bites) JE1 (facing NWU).png|32px]] [[File:Cake (12 bites) JE1 (facing NWU).png|32px]] [[File:Cake (13 bites) JE1 (facing NWU).png|32px]] [[File:Cake (14 bites) JE1 (facing NWU).png|32px]] [[File:Cake (15 bites) JE1 (facing NWU).png|32px]]<br>Cakes with eight through fifteen bites also exist. These have a glitched appearance, with misaligned cake textures as well as the block [[placeholder texture]] on the bottom (as the texture next to the bottom of the cake on [[terrain.png]], which it overflows to, is itself a placeholder).}}
{{History||1.5|[[Achievements/Java Edition|Achievements]] have been added, including "The Lie", which is rewarded when the [[player]] crafts a cake.}}
{{History||1.7|[[File:Cake (8 bites) JE2 (facing NWU).png|32px]] [[File:Cake (9 bites) JE2 (facing NWU).png|32px]] [[File:Cake (10 bites) JE2 (facing NWU).png|32px]] [[File:Cake (11 bites) JE2 (facing NWU).png|32px]] [[File:Cake (12 bites) JE2 (facing NWU).png|32px]] [[File:Cake (13 bites) JE2 (facing NWU).png|32px]] [[File:Cake (14 bites) JE2 (facing NWU).png|32px]] [[File:Cake (15 bites) JE2 (facing NWU).png|32px]]<br>The cake side texture shown from underneath has flipped to the other side.}}
{{History||1.8|snap=Pre-release|Cake now restores {{hunger|12}}.
|[[File:Cake (8 bites) JE3.png|32px]] [[File:Cake (9 bites) JE3.png|32px]] [[File:Cake (10 bites) JE3.png|32px]] [[File:Cake (11 bites) JE3.png|32px]] [[File:Cake (12 bites) JE3.png|32px]] [[File:Cake (13 bites) JE3.png|32px]] [[File:Cake (14 bites) JE3.png|32px]] [[File:Cake (15 bites) JE3.png|32px]]<br>Cakes with data 8 through 15 now use the red mushroom block texture with the addition of the red [[mushroom block]].
|Dropped cake items{{info needed|the proper item form, or the unobtainable one?}} no longer appear larger than normal blocks.}}
{{History|||snap=?|Cake is available both in item and block forms in the creative inventory.}}
{{History|java}}
{{History||1.0.0|snap=?|Cake blocks have been removed from creative.}}
{{History||1.2.1|snap=?|When cake is crafted, the empty [[bucket]]s are now moved to the [[player]]'s [[inventory]], rather than staying in the [[crafting]] grid.}}
{{History||1.5|snap=13w02a|[[File:Cake JE2.png|32px]] [[File:Cake (1 bite) JE2.png|32px]] [[File:Cake (2 bites) JE2.png|32px]] [[File:Cake (3 bites) JE2.png|32px]] [[File:Cake (4 bites) JE2.png|32px]] [[File:Cake (5 bites) JE2.png|32px]] [[File:Cake (6 bites) JE2.png|32px]] Cakes now use the inside texture for all orthogonal faces.
|[[File:Cake (8 bites) JE4.png|32px]] [[File:Cake (9 bites) JE4.png|32px]] [[File:Cake (10 bites) JE4.png|32px]] [[File:Cake (11 bites) JE4.png|32px]] [[File:Cake (12 bites) JE4.png|32px]] [[File:Cake (13 bites) JE4.png|32px]] [[File:Cake (14 bites) JE4.png|32px]] [[File:Cake (15 bites) JE4.png|32px]]<br>[[File:Cake (8 bites) JE4 (facing NWU).png|32px]] [[File:Cake (9 bites) JE4 (facing NWU).png|32px]] [[File:Cake (10 bites) JE4 (facing NWU).png|32px]] [[File:Cake (11 bites) JE4 (facing NWU).png|32px]] [[File:Cake (12 bites) JE4 (facing NWU).png|32px]] [[File:Cake (13 bites) JE4 (facing NWU).png|32px]] [[File:Cake (14 bites) JE4 (facing NWU).png|32px]] [[File:Cake (15 bites) JE4 (facing NWU).png|32px]]<br>With the advent of major changes in texture storage and architecture, overeaten cakes now display other parts of cakes as well as part of a crop texture.
|From this version up until 14w08a, overeaten cakes start to draw from the textures next to 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, overeaten cakes change the texture they draw from every time new textures are added, which includes when textures added by [[mods]].}}
{{History|||snap=13w03a|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] Cakes now use the outside side texture for the sides again.<ref>{{bug|MC-7119}}</ref>
|[[File:Cake (8 bites) JE5.png|32px]] [[File:Cake (9 bites) JE5.png|32px]] [[File:Cake (10 bites) JE5.png|32px]] [[File:Cake (11 bites) JE5.png|32px]] [[File:Cake (12 bites) JE5.png|32px]] [[File:Cake (13 bites) JE5.png|32px]] [[File:Cake (14 bites) JE5.png|32px]] [[File:Cake (15 bites) JE5.png|32px]]<br>[[File:Cake (8 bites) JE5 (facing NWU).png|32px]] [[File:Cake (9 bites) JE5 (facing NWU).png|32px]] [[File:Cake (10 bites) JE5 (facing NWU).png|32px]] [[File:Cake (11 bites) JE5 (facing NWU).png|32px]] [[File:Cake (12 bites) JE5 (facing NWU).png|32px]] [[File:Cake (13 bites) JE5 (facing NWU).png|32px]] [[File:Cake (14 bites) JE5 (facing NWU).png|32px]] [[File:Cake (15 bites) JE5 (facing NWU).png|32px]]<br>Overeaten cakes now display a different part of the cake texture than before.}}
{{History|||snap=13w09a|[[File:Cake (8 bites) JE6.png|32px]] [[File:Cake (9 bites) JE6.png|32px]] [[File:Cake (10 bites) JE6.png|32px]] [[File:Cake (11 bites) JE6.png|32px]] [[File:Cake (12 bites) JE6.png|32px]] [[File:Cake (13 bites) JE6.png|32px]] [[File:Cake (14 bites) JE6.png|32px]] [[File:Cake (15 bites) JE6.png|32px]]<br>[[File:Cake (8 bites) JE6 (facing NWU).png|32px]] [[File:Cake (9 bites) JE6 (facing NWU).png|32px]] [[File:Cake (10 bites) JE6 (facing NWU).png|32px]] [[File:Cake (11 bites) JE6 (facing NWU).png|32px]] [[File:Cake (12 bites) JE6 (facing NWU).png|32px]] [[File:Cake (13 bites) JE6 (facing NWU).png|32px]] [[File:Cake (14 bites) JE6 (facing NWU).png|32px]] [[File:Cake (15 bites) JE6 (facing NWU).png|32px]]<br>Overeaten cakes now display a crop texture on the side.}}
{{History||1.6.1|snap=13w17a|[[File:Cake (8 bites) JE7.png|32px]] [[File:Cake (9 bites) JE7.png|32px]] [[File:Cake (10 bites) JE7.png|32px]] [[File:Cake (11 bites) JE7.png|32px]] [[File:Cake (12 bites) JE7.png|32px]] [[File:Cake (13 bites) JE7.png|32px]] [[File:Cake (14 bites) JE7.png|32px]] [[File:Cake (15 bites) JE7.png|32px]]<br>[[File:Cake (8 bites) JE7 (facing NWU).png|32px]] [[File:Cake (9 bites) JE7 (facing NWU).png|32px]] [[File:Cake (10 bites) JE7 (facing NWU).png|32px]] [[File:Cake (11 bites) JE7 (facing NWU).png|32px]] [[File:Cake (12 bites) JE7 (facing NWU).png|32px]] [[File:Cake (13 bites) JE7 (facing NWU).png|32px]] [[File:Cake (14 bites) JE7 (facing NWU).png|32px]] [[File:Cake (15 bites) JE7 (facing NWU).png|32px]]<br>Overeaten cakes now display a part of the powered [[redstone comparator]] texture.}}
{{History|||snap=13w18a|[[File:Cake (8 bites) JE8.png|32px]] [[File:Cake (9 bites) JE8.png|32px]] [[File:Cake (10 bites) JE8.png|32px]] [[File:Cake (11 bites) JE8.png|32px]] [[File:Cake (12 bites) JE8.png|32px]] [[File:Cake (13 bites) JE8.png|32px]] [[File:Cake (14 bites) JE8.png|32px]] [[File:Cake (15 bites) JE8.png|32px]]<br>[[File:Cake (8 bites) JE8 (facing NWU).png|32px]] [[File:Cake (9 bites) JE8 (facing NWU).png|32px]] [[File:Cake (10 bites) JE8 (facing NWU).png|32px]] [[File:Cake (11 bites) JE8 (facing NWU).png|32px]] [[File:Cake (12 bites) JE8 (facing NWU).png|32px]] [[File:Cake (13 bites) JE8 (facing NWU).png|32px]] [[File:Cake (14 bites) JE8 (facing NWU).png|32px]] [[File:Cake (15 bites) JE8 (facing NWU).png|32px]]<br>Overeaten cakes now display the [[carrots]] texture. The inside underside also uses the feet of the [[cauldron]].}}
{{History||1.7.2|snap=13w41a|[[File:Cake (8 bites) JE9.png|32px]] [[File:Cake (9 bites) JE9.png|32px]] [[File:Cake (10 bites) JE9.png|32px]] [[File:Cake (11 bites) JE9.png|32px]] [[File:Cake (12 bites) JE9.png|32px]] [[File:Cake (13 bites) JE9.png|32px]] [[File:Cake (14 bites) JE9.png|32px]] [[File:Cake (15 bites) JE9.png|32px]]<br>[[File:Cake (8 bites) JE9 (facing NWU).png|32px]] [[File:Cake (9 bites) JE9 (facing NWU).png|32px]] [[File:Cake (10 bites) JE9 (facing NWU).png|32px]] [[File:Cake (11 bites) JE9 (facing NWU).png|32px]] [[File:Cake (12 bites) JE9 (facing NWU).png|32px]] [[File:Cake (13 bites) JE9 (facing NWU).png|32px]] [[File:Cake (14 bites) JE9 (facing NWU).png|32px]] [[File:Cake (15 bites) JE9 (facing NWU).png|32px]]<br>Overeaten cakes now display a part of the block breaking texture, and the texture of the [[block of diamond]] inside.}}
{{History||1.8|snap=14w02a|Farmer [[villager]]s now [[trading|sell]] 1 cake for 1 [[emerald]].}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] Cakes with data values 7 and above now [[Missing model|have no model]].}}
{{History|||snap=14w28a|Cake slices available when eating cakes have been increased from 6 to 7, allowing the 6-bites cake to be obtained legitimately.
|Cake now emits a [[redstone comparator|comparator]] signal.
|When cake is crafted, empty [[bucket]]s now stay in the [[crafting table]].}}
{{History||1.9|snap=15w37a|Cake can no longer be eaten in survival with the primary attack (left-click).}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 92, and the item's 354.}}
{{History||1.14|snap=18w43a|[[File:Cake JE4.png|32px]] [[File:Cake (1 bite) JE4.png|32px]] [[File:Cake (2 bites) JE4.png|32px]] [[File:Cake (3 bites) JE4.png|32px]] [[File:Cake (4 bites) JE4.png|32px]] [[File:Cake (5 bites) JE4.png|32px]] [[File:Cake (6 bites) JE4.png|32px]]<br>[[File:Cake (item) JE2 BE2.png|32px]] The texture of cake has been changed.
|Cakes can now be eaten by [[panda]]s when they are thrown to them.}}
{{History|||snap=19w03a|Placing a cake into the new [[composter]] now raises the compost level by 1.}}
{{History|||snap=19w08a|[[File:Cake (item) JE3 BE3.png|32px]] The texture of cake [[item]]s have been changed, this time to have a large cherry in the middle to match its block counterpart.}}
{{History||May 17–20, 2019|link=none|[[File:10 years cake render.png|32px]] Cakes now display a "10" above them, textured with [[white concrete]], to celebrate the 10 year anniversary of the first public version of ''Minecraft'' ([[0.0.11a]]) being released.}}
{{History||1.17|snap=20w45a|[[File:Cake with Candle JE1.png|32px]] [[File:Cake with White Candle JE1.png|32px]] [[File:Cake with Light Gray Candle JE1.png|32px]] [[File:Cake with Gray Candle JE1.png|32px]] [[File:Cake with Black Candle JE1.png|32px]] [[File:Cake with Brown Candle JE1.png|32px]] [[File:Cake with Red Candle JE1.png|32px]] [[File:Cake with Orange Candle JE1.png|32px]] [[File:Cake with Yellow Candle JE1.png|32px]] [[File:Cake with Lime Candle JE1.png|32px]] [[File:Cake with Green Candle JE1.png|32px]] [[File:Cake with Cyan Candle JE1.png|32px]] [[File:Cake with Light Blue Candle JE1.png|32px]] [[File:Cake with Blue Candle JE1.png|32px]] [[File:Cake with Purple Candle JE1.png|32px]] [[File:Cake with Magenta Candle JE1.png|32px]] [[File:Cake with Pink Candle JE1.png|32px]] [[File:Candle Cake (lit) JE1.png|32px]] [[File:White Candle Cake (lit) JE1.png|32px]] [[File:Light Gray Candle Cake (lit) JE1.png|32px]] [[File:Gray Candle Cake (lit) JE1.png|32px]] [[File:Black Candle Cake (lit) JE1.png|32px]] [[File:Brown Candle Cake (lit) JE1.png|32px]] [[File:Red Candle Cake (lit) JE1.png|32px]] [[File:Orange Candle Cake (lit) JE1.png|32px]] [[File:Yellow Candle Cake (lit) JE1.png|32px]] [[File:Lime Candle Cake (lit) JE1.png|32px]] [[File:Green Candle Cake (lit) JE1.png|32px]] [[File:Cyan Candle Cake (lit) JE1.png|32px]] [[File:Light Blue Candle Cake (lit) JE1.png|32px]] [[File:Blue Candle Cake (lit) JE1.png|32px]] [[File:Purple Candle Cake (lit) JE1.png|32px]] [[File:Magenta Candle Cake (lit) JE1.png|32px]] [[File:Pink Candle Cake (lit) JE1.png|32px]] Added candle cakes.}}
{{History||1.17|snap=21w19a|The name of "Candle Cake" has been changed to "Cake with Candle".}}
{{History||1.17|snap=Pre-release 3|[[File:Candle Cake (lit) JE2.png|32px]] [[File:White Candle Cake (lit) JE2.png|32px]] [[File:Light Gray Candle Cake (lit) JE2.png|32px]] [[File:Gray Candle Cake (lit) JE2.png|32px]] [[File:Black Candle Cake (lit) JE2.png|32px]] [[File:Brown Candle Cake (lit) JE2.png|32px]] [[File:Red Candle Cake (lit) JE2.png|32px]] [[File:Orange Candle Cake (lit) JE2.png|32px]][[File:Yellow Candle Cake (lit) JE2.png|32px]] [[File:Lime Candle Cake (lit) JE2.png|32px]] [[File:Green Candle Cake (lit) JE2.png|32px]] [[File:Cyan Candle Cake (lit) JE2.png|32px]]  [[File:Light Blue Candle Cake (lit) JE2.png|32px]] [[File:Blue Candle Cake (lit) JE2.png|32px]] [[File:Purple Candle Cake (lit) JE2.png|32px]] [[File:Magenta Candle Cake (lit) JE2.png|32px]] [[File:Pink Candle Cake (lit) JE2.png|32px]] Changed lit cake with candle textures.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.
|Cake restores {{hp|18}}.}}
{{History||v0.12.1|snap=build 1|Cake now restore {{hunger|12}}.}}
{{History||v0.14.0|snap=build 1|Cake can now be used to emit a [[redstone comparator|comparator]] signal.}}
{{History||v0.15.0|snap=?|Cake currently does not show its inside texture on two or more bites.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer villagers now [[trading|sell]] cake for one [[emerald]].}}
{{History|bedrock}}
{{History||unknown|Cake is now stackable.}}
{{History||1.4.0|snap=beta 1.2.14.2|Cake can now be found inside [[buried treasure]] [[chest]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Cake, as a dropped [[item]], can now be eaten by [[panda]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cake BE2.png|32px]] [[File:Cake (1 bite) BE2.png|32px]] [[File:Cake (2 bites) BE2.png|32px]] [[File:Cake (3 bites) BE2.png|32px]] [[File:Cake (4 bites) BE2.png|32px]] [[File:Cake (5 bites) BE2.png|32px]] [[File:Cake (6 bites) BE2.png|32px]] <br>[[File:Cake (item) JE2 BE2.png|32px]] The texture of cake has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cake can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Cake [[trading|sold]] by farmers now has a 50% chance to cost 8 [[emerald]]s.}}
{{History|||snap=beta 1.11.0.5|[[File:Cake (item) JE3 BE3.png|32px]] The texture of cake [[item]]s has been changed, once again.}}
{{History|||snap=beta 1.11.0.7|Cake [[trading|trades]] from farmer [[villager]]s have been reverted.}}
{{History||1.16.0|snap=beta 1.15.0.53|Cake now shows its inside texture on two or more bites.}}
{{History||1.17.10|snap=beta 1.17.10.22|[[File:Cake with Candle JE1.png|32px]] [[File:Cake with White Candle JE1.png|32px]] [[File:Cake with Light Gray Candle JE1.png|32px]] [[File:Cake with Gray Candle JE1.png|32px]] [[File:Cake with Black Candle JE1.png|32px]] [[File:Cake with Brown Candle JE1.png|32px]] [[File:Cake with Red Candle JE1.png|32px]] [[File:Cake with Orange Candle JE1.png|32px]] [[File:Cake with Yellow Candle JE1.png|32px]] [[File:Cake with Lime Candle JE1.png|32px]] [[File:Cake with Green Candle JE1.png|32px]] [[File:Cake with Cyan Candle JE1.png|32px]] [[File:Cake with Light Blue Candle JE1.png|32px]] [[File:Cake with Blue Candle JE1.png|32px]] [[File:Cake with Purple Candle JE1.png|32px]] [[File:Cake with Magenta Candle JE1.png|32px]] [[File:Cake with Pink Candle JE1.png|32px]] [[File:Candle Cake (lit) JE2.png|32px]] [[File: White Candle Cake (lit) JE2.png|32px]] [[File:Light Gray Candle Cake (lit) JE2.png|32px]] [[File:Gray Candle Cake (lit) JE2.png|32px]] [[File:Black Candle Cake (lit) JE2.png|32px]] [[File:Brown Candle Cake (lit) JE2.png|32px]] [[File:Red Candle Cake (lit) JE2.png|32px]] [[File:Orange Candle Cake (lit) JE2.png|32px]] [[File:Yellow Candle Cake (lit) JE2.png|32px]] [[File:Lime Candle Cake (lit) JE2.png|32px]] [[File:Green Candle Cake (lit) JE2.png|32px]] [[File:Cyan Candle Cake (lit) JE2.png|32px]] [[File:Light Blue Candle Cake (lit) JE2.png|32px]] [[File:Blue Candle Cake (lit) JE2.png|32px]] [[File:Purple Candle Cake (lit) JE2.png|32px]] [[File:Magenta Candle Cake (lit) JE2.png|32px]] [[File:Pink Candle Cake (lit) JE2.png|32px]] Added candle cakes.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.}}
{{History||xbox=TU6|Cake has been made stackable, as a then-version exclusive.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cake JE4.png|32px]] [[File:Cake (1 bite) JE4.png|32px]] [[File:Cake (2 bites) JE4.png|32px]] [[File:Cake (3 bites) JE4.png|32px]] [[File:Cake (4 bites) JE4.png|32px]] [[File:Cake (5 bites) JE4.png|32px]] [[File:Cake (6 bites) JE4.png|32px]]{{verify|Are these the textures/models used?}}<br>[[File:Cake (item) JE2 BE2.png|32px]] The single, lone texture of cake has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.}}
{{History|foot}}

=== Cake "item" ===
{{:Technical blocks/Cake}}

== Issues ==

{{issue list}}

== Trivia ==

=== Interaction ===

* Because cake is only {{frac|7|8}} blocks wide, it is possible to stand on the edge of a [[block]] beneath a cake.
* It is possible to place cake on top of another cake by placing a cake on the ground, then placing another cake on the side of a block above and to the side of the first cake, similar to placing [[torch]]es on a [[chest]]. Eating the lower cake causes the upper cake to disappear, as does mining out the block of cake it is sitting on.
* It is also possible to place any block on top of cakes (including another cake) by [[sneaking]] and placing the block on top of a cake.
* [[Mob]]s on top of cakes rotate while attempting to move, a pathfinding oversight shared with [[fence]]s.
* If cake is placed in a hole one block deep, players can get across the hole without jumping, although a player standing on the cake must jump to get out of the hole.
* Cake can be used to create a functioning staircase, by placing a cake on each level of a 1 block by 1 block incline. This would be one of the most labor-intensive staircases available, given the requirements to craft a cake, compared to any other method of creating a staircase. This staircase is also extremely overpowered when combined with a horse being one of the fastest forms of travel.
*At some point, it was possible to push cakes into the void using pistons.<ref>https://www.youtube.com/watch?v=GxniEMGBXC4&t=340s</ref>

=== Miscellaneous ===
[[File:IOTY.png|thumb|100px|The 2010 Indie of the Year Awards logo.]]
* Cake was added to ''[[Minecraft]]'' following the ModDB [[2010 Indie of the Year Awards]]. [[Notch]] agreed to add cake to ''Minecraft'' if it won, which led to a campaign called "The Quest For Cake". ''Minecraft'' won 3 of the 7 awards, including the "Indie of the Year" award.
* Placing a cake makes the same sound as placing [[wool]].
* The player can place cake on top of a [[bed]], and while [[sleeping]], the cake shows on the player's screen as if it were on top of their head.
* The name of the achievement for crafting a cake is a reference to the internet meme "The Cake is a Lie", which originated from [[wikipedia:Valve Corporation|Valve Software's]] game, ''[[wikipedia:Portal (video game)#Plot|Portal]]''.
* On May 17, 2019, for the [https://www.minecraft.net/en-us/10th-anniversary 10th anniversary] of ''Minecraft'', the cake [[model]] was changed to display a "10" above it, made of [[white concrete]].
* Unlike most foods, cakes don't count towards the advancement "[[A Balanced Diet]]" {{in|java}}.<ref>{{bug|MC-117561}}</ref>

== Gallery ==
=== Renders ===
{{hidden begin}}
<div style="clear: both"></div>
<gallery>
Cake.png
Cake (1 bite).png
Cake (2 bites).png
Cake (3 bites).png
Cake (4 bites).png
Cake (5 bites).png
Cake (6 bites).png
</gallery>
<gallery>
Cake with Candle.png
Cake with White Candle.png
Cake with Light Gray Candle.png
Cake with Gray Candle.png
Cake with Black Candle.png
Cake with Brown Candle.png
Cake with Red Candle.png
Cake with Orange Candle.png
Cake with Yellow Candle.png
Cake with Lime Candle.png
Cake with Green Candle.png
Cake with Cyan Candle.png
Cake with Light Blue Candle.png
Cake with Blue Candle.png
Cake with Purple Candle.png
Cake with Magenta Candle.png
Cake with Pink Candle.png
</gallery>
<gallery>
Candle Cake (lit).png
White Candle Cake (lit).png
Light Gray Candle Cake (lit).png
Gray Candle Cake (lit).png
Black Candle Cake (lit).png
Brown Candle Cake (lit).png
Red Candle Cake (lit).png
Orange Candle Cake (lit).png
Yellow Candle Cake (lit).png
Lime Candle Cake (lit).png
Green Candle Cake (lit).png
Cyan Candle Cake (lit).png
Light Blue Candle Cake (lit).png
Blue Candle Cake (lit).png
Purple Candle Cake (lit).png
Magenta Candle Cake (lit).png
Pink Candle Cake (lit).png
</gallery>
{{hidden end}}
=== In-game ===
<gallery>
Cakes stacked.png|A cake placed on top of another.
Cakeeating.png|The sizes of cake when eaten.
10 Years Cake.jpg|The 10-years cake [[model]] placed in the world.
</gallery>

== References ==
{{Reflist}}

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

[[Category:Food]]
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]

[[cs:Dort]]
[[de:Kuchen]]
[[es:Tarta]]
[[fr:Gâteau]]
[[hu:Torta]]
[[it:Torta]]
[[ja:ケーキ]]
[[ko:케이크]]
[[nl:Taart]]
[[pl:Ciasto]]
[[pt:Bolo]]
[[ru:Торт]]
[[th:เค้ก]]
[[tr:Pasta]]
[[uk:Торт]]
[[zh:蛋糕]]</li></ul>
Added session.lock
Java Edition
1.13
{{Extension DPL}}<ul><li>[[Totem of Undying|Totem of Undying]]<br/>{{redirect|Totem}}
{{Item
| image = Totem_of_Undying_JE2_BE2.png
| renewable = Yes
| stackable = No
| rarity = Uncommon
|effects=: {{EffectLink|Absorption}} II (0:05)
: {{EffectLink|Regeneration}} II (0:45){{only|java|short=yes}}/ II (0:40){{only|bedrock|short=yes}}
: {{EffectLink|Fire Resistance}} I (0:40)
}}
A '''totem of undying''' is an uncommon [[combat]] item that can save holders from death. It is dropped by [[Evoker|evokers]], which spawn in [[woodland mansion]]s and [[raid]]s.

== Obtaining ==
=== Mob loot ===
Evokers always drop one totem of undying upon death. The drop rate is not affected by [[Looting]].

== Usage ==
[[File:Totem of Undying Animation.gif|alt=The totem animation in Java Edition.|thumb|Animation of the totem activating {{in|java}}.]]
[[File:Totem of Undying Bedrock Animation.gif|alt=The totem animation in Bedrock Edition.|thumb|Animation of the totem activating {{in|bedrock}}.]]
If the [[player]] is holding a totem of undying in their [[off-hand]] or main-hand slot and receives otherwise fatal [[damage]], the totem saves the player from [[death]]. The totem of undying must be in the player's hand (main hand or offhand) for it to work—it does not work if it is in the [[Heads-up display#Hotbar|hotbar]], unless selected. Any [[mob]] that can hold a totem of undying (in a hand or in the mouth) can use it while holding it.{{only|JE}} The totem can be used only once; it disappears after use. It does not save the player from death caused by [[void]] damage, the {{cmd|kill}} [[command]]s or even a [[tipped arrow]] with [[Instant Damage|harming]] effect damage.<ref>{{bug|MC-206307}}</ref>

== Effect ==
When activated, the totem of undying restores {{hp|1}}, removes all existing [[status effect]]s, then grants 40{{only|bedrock|short=1}} or 45{{only|java|short=1}} seconds<ref>{{bug|MCPE-90716}}</ref> of [[Regeneration]] II, 40 seconds of [[Fire Resistance]] I and 5 seconds of [[Absorption]] II. An animation shows the totem of undying appearing to hover in front of the [[player]]'s screen, similar to the animation seen when a player receives the [[Bad Omen]] or [[Hero of the Village]] effect{{only|bedrock|short=1}} or encounters an [[elder guardian]]. When killed by an [[Instant Damage]] tipped [[arrow]], the arrow's instant damage takes effect after the totem has been activated.

The totem of undying also works in [[Hardcore]] mode.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Totem of Undying.ogg
|subtitle=Totem activates
|source=dependent
|description=When something dies, using a totem of undying
|id=item.totem.use
|translationkey=subtitles.item.totem.use
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Totem of Undying.ogg
|source=player
|description=When something dies, using a totem of undying
|id=random.totem
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Totem of Undying
|spritetype=item
|nameid=totem_of_undying
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Totem of Undying
|spritetype=item
|nameid=totem_of_undying
|aliasid=totem
|id=568
|form=item
|translationkey=item.totem.name
|foot=1}}

== Achievements ==
{{load achievements|Cheating Death}}

== Advancements ==
{{load advancements|Postmortal}}

== History ==
{{History||2016|[[File:Totem of Undying (pre-release).png|32px]] An early version of the totem of undying was seen during Minecon shortly before its reveal.}}
{{History|java}}
{{History||1.11|snap=16w39a|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History||1.11.1|snap=16w50a|The ID name has now been changed from <code>totem</code> to <code>totem_of_undying</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 449.}}
{{History||1.14|snap=18w43a|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History|||snap=18w47a|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History||1.16.2|snap=20w28a|The totem of undying now gives the [[Fire Resistance]] II status effect for 40 seconds.}}
{{History|||snap=20w29a|The level of Fire Resistance given by the totem of undying is now reduced from II to I.<ref>{{bug|MC-194220}}</ref>}}
{{History||1.20.2|snap=23w31a|Totems of undying now trigger [[sculk sensor]]s when they activate.<ref>{{bug|MC-261427||Sculk sensors and calibrated sculk sensors don't detect totem of undying activating|Fixed}}</ref>}}

{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History||1.16.100|snap=beta 1.16.100.54|The level of Fire Resistance given by the totem of undying is now reduced from II to I.<ref>{{bug|MCPE-52364}}</ref>}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of totems of undying has been changed from <code>totem</code> to <code>totem_of_undying</code>.}}

{{History|console}}
{{History||xbox=TU54|xbone=CU44|ps=1.52|wiiu=Patch 24|switch=1.0.4|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History||xbox=TU56|xbone=CU48|ps=1.55|wiiu=Patch 26|switch=1.0.6|The totem of undying now applies [[Fire Resistance]] II when used.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}

{{History|new3ds}}
{{History||1.9.19|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* If a [[mob]] holds a totem of undying, the mob also resurrects upon [[Health#Death|death]] and the [[sound]] effect plays. However, the animation does not appear.
* In the {{el|ds}}, the totem of undying can be put in any hotbar slot to activate it, due to the lack of an [[Dual wield|off-hand slot]] in that version.
* Being able to obtain totems of undying in [[raids]] without exploring [[woodland mansions]] is considered a "massive game play design flaw" by Mojang.<ref>{{ytl|YRPlscod34Y}}</ref>

== Gallery ==
<gallery>
File:Particle totem of undying.png|Screenshot of the totem of undying being used mid-animation after a [[drowned]] deals otherwise fatal damage to the player.
File:Totem of Undying activating.gif|Animation of the totem activating.
File:Totem animation in third person mode.png|The totem animation in third person mode.
</gallery>

== References ==
{{reflist}}

{{Items}}

[[de:Totem der Unsterblichkeit]]
[[fr:Totem d'immortalité]]
[[ja:不死のトーテム]]
[[ko:불사의 토템]]
[[lzh:保命符]]
[[nl:Totem der onsterfelijkheid]]
[[pl:Totem nieśmiertelności]]
[[pt:Totem da imortalidade]]
[[ru:Тотем бессмертия]]
[[th:Totem of Undying]]
[[zh:不死图腾]]
[[Category:Renewable resources]]</li><li>[[Chalkboard|Chalkboard]]<br/>{{Education feature}}
{{unobtainable|edition=be}}{{Block
|image=<gallery>
Chalkboard Slate.png|Slate
Chalkboard Poster.png|Poster
Chalkboard Board.png|Board
</gallery>
|invimage=Slate
|invimage2=Poster
|invimage3=Board
|transparent=Yes
|renewable=No
|light=No
|tool=None
|stackable=Yes (16)
|flammable=No
}}
A '''chalkboard''' is a [[block]] that can display more text than a [[sign]].<ref>https://education.minecraft.net/support/knowledge-base/using-slates-posters-boards/</ref> Three sizes are available: 1×1 (slate), 2×1 (poster), and 3×2 (board).

== Obtaining ==
In ''[[Education Edition]]'', chalkboards can be obtained in the [[Creative inventory]] or through the {{cmd|give}} command.
In ''[[Bedrock Edition]]'', chalkboards cannot be obtained by commands or the creative inventory, and can only be obtained by using glitches or inventory editors.

== Usage ==
A chalkboard can be used similarly to a [[sign]], to display text. Once placed, select the chalkboard and enter the desired text and click the "OK" button. The "×" in the upper right corner of the board closes the edit screen.

=== Placement ===
Chalkboards may be placed on the top or side of other blocks (including non-solid blocks like [[fence]]s, [[glass]], [[rail]]s, and other chalkboards). To place a chalkboard, {{control|use}} a chalkboard item while pointing at the block the chalkboard should be attached to. To place a chalkboard on a block that can be interacted with by the {{control|use}} control (for example, [[chest]]s, [[note block]]s, etc.), {{control|sneak}} while placing the chalkboard.

1×1 slates placed on the top of a block stand on a short post, facing in the direction of the player who placed it, in any of 16 different directions. 2×1 posters and 2×3 boards can be placed in any of 4 different directions. Chalkboards placed on the side of a block simply float there, even if the block doesn't make contact with the chalkboards.

=== Text ===
When entering text, six lines of text are available for the slates and posters, while fifteen lines of text are available for the 2×3 boards. To switch between lines, the player can press Enter or the up/down arrow keys. The location of text currently selected has a flashing cursor.

While editing, typing and backspacing can occur at any point in the line by moving the cursor using the left and right arrow keys. Once the end of the line has been reached, the word is hyphenated and is continued on the next line.

After the editing window is closed, right-clicking on a chalkboard reopens the editing menu. Copy and paste can be performed, and no more than the basic/shifted keyboard characters may be entered.

=== Interaction ===
Chalkboards act as though they have a {{control|use}} action, so {{control|sneaking}} is required to place blocks or use items while the cursor is pointed at them.

Unlike signs, boards block a [[piston]] from moving.

Boards have no collision box (they are completely non-solid), so [[item]]s and [[mob]]s can move through boards blocks. Other blocks (including other boards) can be placed on any edge of a board.

[[Water]] and [[lava]] flow around boards. Lava can create [[fire]] in [[air]] blocks next to boards as if the boards were flammable, but the boards do not burn.

== Sounds ==
{{Sound table/Block/Stone/BE}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=chalkboard
|spritetype=block
|nameid=chalkboard
|id=230
|form=block
|translationkey=tile.chalkboard.oneByOne.name, tile.chalkboard.twoByOne.name, tile.chalkboard.threeByTwo.name}}
{{ID table
|displayname=Item
|spritename=board
|spritetype=item
|nameid=board
|translationkey=tile.chalkboard.oneByOne.name, tile.chalkboard.twoByOne.name, tile.chalkboard.threeByTwo.name
|id=454
|form=item
|foot=1}}

=== Metadata ===
{{see also|Data values}}
Chalkboards uses the following data values:

*Slate: 1
*Board: 2
*Poster: 3
<!--{{/DV}}-->

=== Block states ===
{{see also|Block states}}
{{info needed}}
<!--{{/BS}}-->

== History ==
{{History|pocket alpha}}
{{History||v0.16.0|snap=build 1|[[File:Chalkboard Slate.png|32px]] [[File:Chalkboard Poster.png|32px]] [[File:Chalkboard Board.png|32px]]<br>[[File:Chalkboard_Slate_(item)_BE1.png|32px]] [[File:Chalkboard_Poster_(item)_BE1.png|32px]] [[File:Chalkboard_Board_(item)_BE1.png|32px]] Added chalkboards, likely as an accidental addition.
|Chalkboards can be obtained and placed using the {{cmd|give}} and {{cmd|setblock}} [[command]]s respectively. However, they serve no purpose.}}
{{History|||snap=build 2|Chalkboards have now been removed. However, the textures still exist.}}
{{History|bedrock}}
{{History||1.11.0|snap=beta 1.11.0.1|Re-added chalkboards. They still exist as entities, but can't be spawned. The items can't be spawned either.}}
{{h||1.17.30|snap=beta 1.17.30.20|Chalkboards can now be placed consistently.}} 

{{History|education}}
{{History||MinecraftEdu|link=MinecraftEdu|[[File:Oak Sign JE1 BE1.png|30px]] [[MinecraftEdu]], Education Edition's predecessor, had "[[Big Sign]]s", 3 block wide signs that served a similar purpose.}}
{{History||1.0|[[File:Chalkboard Slate.png|32px]] [[File:Chalkboard Poster.png|32px]] [[File:Chalkboard Board.png|32px]]<br>[[File:Chalkboard_Slate_(item)_BE1.png|32px]] [[File:Chalkboard_Poster_(item)_BE1.png|32px]] [[File:Chalkboard_Board_(item)_BE1.png|32px]] Added chalkboards.}}
{{History||1.0.2|The UI of chalkboards now has a locked option.
|[[Player|Students]] now can place their own chalkboards even without a worldbuilder ability.}}
{{History|foot}}

== Gallery ==
<gallery>
Education Edition Exclusive Features.png|The chalkboard placed in a world along with other Education Edition features.
Chalkboardsingamepe.png|The chalkboard in [[Pocket Edition v0.16.0 alpha build 1]].
</gallery>

== References ==
{{Reflist}}

{{Blocks|Utility}}
{{Items}}
{{Education Edition}}

[[Category:Utility blocks]]
[[Category:Block entities]]
[[Category:Education Edition blocks]]
[[Category:Education Edition items]]

[[pt:Lousa]]
[[de:Tafel]]
[[fr:Ardoise]]
[[ja:黒板]]
[[pl:Tablica kredowa]]
[[ru:Доска]]
[[uk:Дошка]]
[[zh:黑板]]</li></ul>
17w43aRemoved structure data.
Added datapacks folder.
1.14
{{Extension DPL}}<ul><li>[[Amethyst Shard|Amethyst Shard]]<br/>{{Item
| title = Amethyst Shard
| image = Amethyst Shard.png
| renewable = Yes
| stackable = Yes (64)
}}

An '''amethyst shard''' is a crystal ore obtained from mining a fully grown [[amethyst cluster]] or can be obtained from chests in [[Ancient City|ancient cities]].

== Obtaining ==

=== Mining ===
An [[amethyst cluster]] mined using a non-[[Silk Touch]], non-[[Fortune]] [[pickaxe]] drops 4 amethyst shards. When mined using any other tool, [[item]] or mechanism (such as [[explosion]]s or [[piston]]s) it drops 2 shards. The maximum amount of amethyst shards dropped can be increased with Fortune. Fortune I gives a {{frac|1|3}} chance for eight shards, averaging 5.33 shards; Fortune II gives a 25% chance (each) to give eight or 12 shards, averaging 7 shards, and Fortune III gives a 20% chance (each) to give 8, 12, or 16 shards, averaging 8.8 shards.

If the amethyst cluster in any of its growth stages is mined using a pickaxe enchanted with [[Silk Touch]], it drops itself rather than amethyst shards.

=== Chest loot ===
{{LootChestItem|amethyst-shard}} 

== Usage ==
=== Crafting ingredient ===
{{Crafting usage}}
=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Amethyst Shard
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Amethyst Shard
|Amethyst Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe;<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}

;Trim color palette
The following color palette is shown on the designs on trimmed armor:
*{{TrimPalette|amethyst shard}}

=== Allay duplication ===
If an amethyst shard is given to an [[allay]] that is currently dancing to an active [[jukebox]], the allay emits heart particles, consumes the amethyst shard and duplicates into another allay. After this, there is a 5 minute cool down until both allays can be duplicated like this again.



== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Amethyst shimmer.ogg
|subtitle=Amethyst chimes
|source=neutral
|description=When an amethyst shard duplicates an allay
|id=block.amethyst_block.chime
|translationkey=subtitles.block.amethyst_block.chime
|volume=0.4
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Amethyst shimmer.ogg
|source=block
|description=When an amethyst shard duplicates an allay
|id=chime.amethyst_block
|volume=1.0
|pitch=0.5-1.7
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Amethyst Shard
|spritetype=item
|nameid=amethyst_shard
|form=item
|id=625
|foot=1}}

==History==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=23m14s}}|Amethyst shards are mentioned, but not shown at [[Minecraft Live 2020]].}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Amethyst Shard JE1.png|32px]] Added amethyst shards.}}
{{History|||snap=20w46a|[[File:Amethyst Shard JE2 BE1.png|32px]] The texture for amethyst shards has changed.}}
{{History||1.19|snap=22w13a|Amethyst shards can now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.1|snap=22w24a|Amethyst shards can now be used to duplicate [[allay]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Amethyst shards can now be used as an armor trim material.}}
{{History||1.20|snap=23w12a|Amethyst shards can now be used to craft [[calibrated sculk sensor]]s.}}

{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Amethyst Shard JE2 BE1.png|32px]] Added amethyst shards.}}
{{History|||snap=beta 1.17.0.52|Amethyst shards are now available without enabling [[Experimental Gameplay]].}}
{{History||1.19.0|snap=beta 1.19.0.26|Amethyst shards can now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.10|snap=beta 1.19.10.22|Amethyst shards can now be used to duplicate allays.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Amethyst shards can now be used as an armor trim material.}}
{{History|||snap=beta 1.19.80.22|Amethyst shards can now be used to craft calibrated sculk sensors.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
* Although in real life {{w|amethyst}} is a variety of {{w|quartz}} like [[Nether Quartz|nether quartz]], the two resources are not interchangeable.
* besides netherite, amethyst is the only or to be attempted not from an ore in caves

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--amethyst-shard Taking Inventory: Amethyst Shard] – Minecraft.net on May 20, 2021

{{Items}}

[[Category:Renewable resources]]

[[de:Amethystscherbe]]
[[es:Fragmento de amatista]]
[[fr:Éclat d'améthyste]]
[[it:Scheggia di ametista]]
[[ja:アメジストの欠片]]
[[lzh:紫水玉片]]
[[pl:Odłamek ametystu]]
[[pt:Fragmento de ametista]]
[[ru:Осколок аметиста]]
[[uk:Уламок аметисту]]
[[zh:紫水晶碎片]]
[[Category:Ore]]</li><li>[[:Category:Minecraft Earth items|Category:Minecraft Earth items]]<br/>All items in ''[[Minecraft Earth]]''.
[[Category:Items]]
[[Category:Minecraft Earth|Items]]</li></ul>
18w47aAdded raids.dat
19w13aRemoved villages.dat and added poi region files.

References