Minecraft Wiki
(Undo revision 807225 by Impossybull (talk) Already mentioned in Redstone Component)
Noreplyz (talk | contribs)
(cleanup)
Tag: Undo
 
(249 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
  +
{{Block
{{BlockTileEntity
 
|image=Daylight Sensor.png
+
|image=<gallery>
|image2=Inverted Daylight Sensor.png
+
Daylight Detector.png|Daylight detector
  +
Inverted Daylight Detector.png|Inverted daylight detector
|invimage= Daylight Sensor
 
  +
</gallery>
|invimage2= Inverted Daylight Sensor
 
|type=Block Entity
 
|dirt=No
 
|gravity=No
 
 
|transparent=Yes
 
|transparent=Yes
 
|light=No
 
|light=No
 
|tool=axe
 
|tool=axe
|renewable=No
+
|renewable=Yes
 
|stackable=Yes (64)
 
|stackable=Yes (64)
  +
|flammable=No
|multiplevers= See [[#History|History]]
 
  +
|lavasusceptible=Yes
|multipledata=
 
{{dv|151|Daylight Sensor}}
 
{{dv|178|Inverted Daylight Sensor}}
 
|entityid=DLDetector
 
|nameid= See [[#Data values|Data values]]
 
 
}}
 
}}
  +
A '''daylight detector'''{{efn|Known as '''Daylight Detector''' {{in|java}} and '''Daylight Sensor''' {{in|bedrock}}.}} is a [[block]] that outputs a [[Redstone Dust|redstone]] signal based on [[Sun|sunlight]].
   
A '''daylight sensor''' is a [[Blocks|block]] that outputs a [[redstone]] signal based on sunlight (or lack thereof).
+
{{Control|use|text=Using}} it inverts it, causing it instead to output a redstone signal based on the darkness of the sky.
   
 
== Obtaining ==
 
== Obtaining ==
  +
=== Breaking ===
  +
Daylight detectors can be broken fairly easily by hand, but can be broken faster by using an [[axe]]. Inverted daylight detectors cannot be collected directly; they drop a regular daylight detector. {{IN|BE}}, the inverted sensor may be obtained via inventory editing or add-ons.
  +
{{breaking row|horizontal=1|Daylight Detector|Axe|foot=1}}
   
  +
===Crafting ===
Daylight sensors can be broken fairly easily by hand, but can be broken faster by using an axe. Inverted daylight sensors cannot be collected, they will drop a regular daylight sensor.
 
{{breaking row|horizontal=1|Daylight Sensor|Axe|foot=1}}
 
 
=== Crafting ===
 
 
 
{{Crafting
 
{{Crafting
 
|A1= Glass |B1= Glass |C1= Glass
 
|A1= Glass |B1= Glass |C1= Glass
 
|A2= Nether Quartz |B2= Nether Quartz |C2= Nether Quartz
 
|A2= Nether Quartz |B2= Nether Quartz |C2= Nether Quartz
|A3= Any Wood Slab |B3= Any Wood Slab |C3= Any Wood Slab
+
|A3= Any wood Slab |B3= Any wood Slab |C3= Any wood Slab
|Output= Daylight Sensor
+
|Output= Daylight Detector
 
|type= Redstone
 
|type= Redstone
 
}}
 
}}
   
== Usage ==
 
{{see also|Tutorials/Daylight sensor}}
 
 
A daylight sensor can be used as a [[Redstone_components#Power_components|redstone power source]] and as fuel for a [[furnace]].
 
 
=== Fuel ===
 
{{see also|Smelting}}
 
 
A daylight sensor can be used as fuel in a [[furnace]]. Each daylight sensor lasts 15 seconds, or 1.5 operations.
 
   
  +
==Usage==
=== Redstone component ===
 
  +
===Redstone component===
[[File:Daylight sensor output clear.png|Graphed daylight sensor output in clear weather.|thumb]]
 
  +
[[File:Daylight sensor output clear.png|Graphed daylight detector output in clear weather.|thumb]]
 
{{see also|Redstone circuit}}
 
{{see also|Redstone circuit}}
   
A daylight sensor can be used to produce redstone power in proportion to the daylight or night time.
+
A daylight detector can be used to produce redstone power in proportion to the [[daylight cycle]].
   
A daylight sensor is 0.375 blocks high (3/8ths of a block). Daylight sensors cannot be moved by [[piston]]s, and [[water]] and [[lava]] will flow around daylight sensors without affecting them.
+
A daylight detector is 0.375 blocks high (3/8ths of a block). Daylight detectors can be moved by [[piston]]s.{{only|bedrock}} [[Water]] and [[lava]] flow around daylight detectors without affecting them.
   
 
;Placement
 
;Placement
  +
:To place a daylight detector, use the "Use Item/Place Block" control.
   
: To place a daylight sensor, use the "Use Item/Place Block" control (right-click, by default).
+
:A daylight detector can be "inverted", which reverses the power levels produced by the daylight detector. To invert a daylight detector, aim at the placed daylight detector and use the "Use Item/Place Block" control.
 
: A daylight sensor can be "inverted", which reverses the power levels produced by the daylight sensor. To invert a daylight sensor, use the "Use Item/Place Block" control (right-click, by default).
 
   
 
;Activation
 
;Activation
  +
:A daylight detector activates when exposed to sufficient daylight ([[#Daylight detector|daylight detector]] mode) or when exposure to daylight is low enough ([[#Inverted Daylight Detector|inverted daylight detector]] mode).
   
  +
:Sources of block light ([[torch]]es, [[glowstone]], etc.) cannot activate a daylight detector.
: A daylight sensor activates when exposed to sufficient daylight ([[#Daylight detector|daylight detector]] mode) or when its sky light level drop to 0 ([[#Night time detector|night time detector]] mode).
 
 
: An inverted daylight sensor activates when exposure to daylight is low enough ([[#Inverted daylight detector|inverted daylight detector]] mode).
 
 
: Sources of block light ([[torch]]es, [[glowstone]], etc.) cannot activate a daylight sensor.
 
   
 
;Behavior
 
;Behavior
  +
:An active daylight detector:
  +
:*powers adjacent [[redstone dust]], including below it, and [[redstone comparator]]s facing away from the daylight detector, to a power level that depends on the time of day, the weather, and the [[Light#Internal light-level|internal sky light level]] (see tables below)
  +
:*powers adjacent [[redstone repeater]]s facing away from the daylight detector to power level 15
  +
:*activates adjacent [[Redstone components#Mechanism components|redstone mechanisms]], including above and below, such as [[piston]]s, [[redstone lamp]]s, etc.
   
  +
: A daylight detector has no effect on other adjacent blocks (for example, it cannot power a block the way a repeater can).
: An active daylight sensor:
 
:* powers adjacent [[redstone dust]], including below it, and [[redstone comparator]]s facing away from the daylight sensor, to a power level that depends on the time of day, the weather, and the daylight sensor's sky light level (see tables below)
 
:* powers adjacent [[redstone repeater]]s facing away from the daylight sensor to power level 15
 
:* activates adjacent [[Redstone_components#Mechanism_components|redstone mechanisms]], including above and below, such as [[piston]]s, [[redstone lamp]]s, etc.
 
   
  +
:The output signal of daylight detectors in the loaded chunk is updated every 20 gametime{{only|java|short=1}}/daytime{{only|bedrock|short=1}}. Block update have no effect on daylight detectors.
: A daylight sensor has no effect on other adjacent blocks (for example, it cannot power a block the way a repeater can).
 
   
  +
====Daylight Detector====
;Removal
 
  +
The daylight detector power level depends on the time of day, the weather, and the [[Light#Internal light level|'''internal sky light level''']].
   
  +
{| class="wikitable" style="text-align:center"
: To remove a daylight sensor, use the "Attack/Destroy" control (left-click, by default). A daylight sensor takes 0.3 seconds to remove (or faster with an [[axe]]) and will drop itself as an item.
 
  +
|+Daylight detector power levels when '''sky light level''' is 15
 
  +
! rowspan="2" |Power
==== Daylight detector ====
 
  +
! colspan="2" |Clear
 
  +
! colspan="2" |Rain or Snowfall
If a daylight sensor has an [[opaque]] block above it, then it will emit a weaker signal, or none at all, as it is directly proportional to the sky light.
 
  +
! colspan="2" |Thunder
 
{| class="wikitable" style="text-align:right"
 
|+ Daylight sensor power levels
 
! rowspan=2 | Power
 
! colspan=3 | Clear
 
! colspan=3 | Rain
 
! colspan=3 | Thunder
 
 
|-
 
|-
! Time reached !! Time dissipates !! Light levels
+
!Time !!Time
! Time reached !! Time dissipates !! Light levels
+
!Time !!Time
! Time reached !! Time dissipates !! Light levels
+
!Time !!Time
 
|-
 
|-
| 0
+
|0
  +
| colspan="2" |{{ClockPhase|18000}} 13,670–(Midnight/18,000)-22,330
| N/A || N/A || 4–5
 
  +
(8,660 Gtk/7:13)
| N/A || N/A || 4–5
 
  +
| colspan="2" |{{ClockPhase|18000}} 13,670-(Midnight/18,000)–22,330
| N/A || N/A || 4–5
 
  +
(8,660 Gtk/7:13)
  +
| colspan="2" |{{ClockPhase|18000}} 13,670-(Midnight/18,000)–22,330
  +
(8,660 Gtk/7:13)
 
|-
 
|-
| 1
+
|1
  +
| style="text-align: left;" |{{ClockPhase|22556}} 22,331–22,781
| 22340 || 13680 || 4–7
 
  +
(450 Gtk/22.5 sec)
| 22340 || 13680 || 4–7
 
  +
| style="text-align: left;" |{{ClockPhase|13444}} 13,219–13,669
| 22340 || 13680 || 4–6
 
  +
(450 Gtk/22.5 sec)
  +
| style="text-align: left;" |{{ClockPhase|22564}} 22,331–22,798
  +
(467 Gtk/23.35 sec)
  +
| style="text-align: left;" |{{ClockPhase|13436}} 13,203–13,669
  +
(466 Gtk/23.3 sec)
  +
| style="text-align: left;" |{{ClockPhase|22637}} 22,331–22,943
  +
(612 Gtk/30.6 sec)
  +
| style="text-align: left;" |{{ClockPhase|13363}} 13,058–13,669
  +
(611 Gtk/30.55 sec)
 
|-
 
|-
| 2
+
|2
  +
| style="text-align: left;" |{{ClockPhase|22925}} 22,782–23,069{{only|short=1|java}}/23,070{{only|short=1|bedrock}} J: (287 Gtk/14.35 sec)
| 22800 || 13220 || 7–9
 
  +
| 22800 || 13220 || 6–8
 
  +
B: (288 Gtk/14.4 sec)
| 22960 || 13060 || 6–8
 
  +
| style="text-align: left;" |{{ClockPhase|13074}} 12,931–13,218
  +
(287 Gtk/14.35 sec)
  +
| style="text-align: left;" |{{ClockPhase|23015}} 22,799–23,231
  +
(432 Gtk/21.6 sec)
  +
| style="text-align: left;" |{{ClockPhase|12985}} 12,769{{only|short=1|java}}/12,770{{only|short=1|bedrock}}-13,202
  +
J: (433 Gtk/21.65 sec)
  +
  +
B: (432 Gtk/21.6 sec)
  +
| style="text-align: left;" |{{ClockPhase|23148}} 22,944–23,352
  +
(408 Gtk/20.4 sec)
  +
| style="text-align: left;" |{{ClockPhase|12852}} 12,648–13,057
  +
(409 Gtk/20.45 sec)
 
|-
 
|-
| 3
+
|3
  +
| style="text-align: left;" |{{ClockPhase|23183}} 23,070{{only|short=1|java}}/23,071{{only|short=1|bedrock}}-23,296
| 23080 || 12940 || 9–11
 
  +
J: (226 Gtk/11.3 sec)
| 23240 || 12780 || 8–10
 
| 23360 || 12660 || 7–8
 
|-
 
| 4
 
| 23300 || 12720 || 11–12
 
| 23520 || 12500 || 9–11
 
| 23700 || 12300 || 8–10
 
|-
 
| 5
 
| 23540 || 12480 || 12–13
 
| 23760 || 12260 || 10–12
 
| 60 || 11940 || 10
 
|-
 
| 6
 
| 23780 || 12240 || 13–14
 
| 0 || 12020 || 11–12
 
| 460 || 11560 || 10
 
|-
 
| 7
 
| 23960 || 12040 || 15
 
| 400 || 11620 || 12
 
| 1040 || 10980 || 10
 
|-
 
| 8
 
| 180 || 11840 || 15
 
| 900 || 11120 || 12
 
| 1740 || 10280 || 10
 
|-
 
| 9
 
| 540 || 11480 || 15
 
| 1440 || 10580 || 12
 
| 2620 || 9400 || 10
 
|-
 
| 10
 
| 940 || 11080 || 15
 
| 2080 || 9940 || 12
 
| 3960 || 8060 || 10
 
|-
 
| 11
 
| 1380 || 10640 || 15
 
| 2880 || 9140 || 12
 
| N/A || N/A || N/A
 
|-
 
| 12
 
| 1880 || 10140 || 15
 
| 4120 || 7900 || 12
 
| N/A || N/A || N/A
 
|-
 
| 13
 
| 2460 || 9560 || 15
 
| N/A || N/A || N/A
 
| N/A || N/A || N/A
 
|-
 
| 14
 
| 3180 || 8840 || 15
 
| N/A || N/A || N/A
 
| N/A || N/A || N/A
 
|-
 
| 15
 
| 4300 || 7720 || 15
 
| N/A || N/A || N/A
 
| N/A || N/A || N/A
 
|}
 
   
  +
B: (225 Gtk/11.25 sec)
==== Night time detector ====
 
  +
| style="text-align: left;" |{{ClockPhase|12817}} 12,705–12,930
  +
(225 Gtk/11.25 sec)
  +
| style="text-align: left;" |{{ClockPhase|23368}} 23,232–23,504
  +
(272 Gtk/13.6 sec)
  +
| style="text-align: left;" |{{ClockPhase|12632}} 12,497–12,768{{only|short=1|java}}/12,769{{only|short=1|bedrock}}J: (271 Gtk/13.55 sec)
   
  +
B: (272 Gtk/13.6 sec)
If a daylight sensor is completely cut off from the sky (its block is at sky light 0), either because it is encased in opaque blocks or because it is too far from sky exposure, then its signal pattern changes: it produces power at night instead of the day, and weather is irrelevant to the signal strength.
 
  +
| style="text-align: left;" |{{ClockPhase|23526}} 23,353–23,700
  +
(347 Gtk/17.35 sec)
  +
| style="text-align: left;" |{{ClockPhase|12473}} 12,300–12,647
  +
(347 Gtk/17.35 sec)
  +
|-
  +
|4
  +
| style="text-align: left;" |{{ClockPhase|23413}} 23,297–23,529
  +
(232 Gtk/11.6 sec)
  +
| style="text-align: left;" |{{ClockPhase|12587}} 12,471–12,704
  +
(233 Gtk/11.65 sec)
  +
| style="text-align: left;" |{{ClockPhase|23625}} 23,505–23,745
  +
(240 Gtk/12 sec)
  +
| style="text-align: left;" |{{ClockPhase|12376}} 12,256–12,496
  +
(240 Gtk/12 sec)
  +
| style="text-align: left;" |{{ClockPhase|23880}} 23,701-(Dawn/24,000/0)–59
  +
(240 Gtk/12 sec)
  +
| style="text-align: left;" |{{ClockPhase|12120}} 11,941{{only|short=1|java}}/11,942{{only|short=1|bedrock}}-(Dusk/12,000)-12,299
  +
J: (358 Gtk/17.9 sec)
   
  +
B: (357 Gtk/17.85 sec)
{| class="wikitable" style="text-align:right"
 
|+ Encased daylight sensor power levels
 
! Power !! Time reached !! Time dissipates
 
 
|-
 
|-
  +
|5
| 1 || 14360 || 21660
 
  +
| style="text-align: left;" |{{ClockPhase|23648}} 23,530–23,767
  +
(237 Gtk/11.85 sec)
  +
| style="text-align: left;" |{{ClockPhase|12351}} 12,233–12,470
  +
(237 Gtk/11.85 sec)
  +
| style="text-align: left;" |{{ClockPhase|23868}} 23,746–23,991
  +
(245 Gtk/12.25 sec)
  +
| style="text-align: left;" |{{ClockPhase|12132}} 12,010–12,255
  +
(245 Gtk/12.25 sec)
  +
| style="text-align: left;" |{{ClockPhase|250}} 60–441
  +
(381 Gtk/19.05 sec)
  +
| style="text-align: left;" |{{ClockPhase|11750}} 11,560–11,940{{only|short=1|java}}/11,941{{only|short=1|bedrock}} J:(380 Gtk/19 sec)
  +
  +
B: (381 Gtk/19.05 sec)
 
|-
 
|-
  +
|6
| 2 || 14740 || 21280
 
  +
| style="text-align: left;" |{{ClockPhase|23864}} 23,768–23,960
  +
(192 Gtk/9.6 sec)
  +
| style="text-align: left;" |{{ClockPhase|12136}} 12,041–12,232
  +
(191 Gtk/9.55 sec)
  +
| style="text-align: left;" |{{ClockPhase|193}} 23,992–(Dawn/24,000/0)-394
  +
(386 Gtk/19.3 sec)
  +
| style="text-align: left;" |{{ClockPhase|11808}} 11,607–(Dusk/12,000)-12,009
  +
(402 Gtk/20.1 sec)
  +
| style="text-align: left;" |{{ClockPhase|740}} 442–1,039
  +
(597 Gtk/29.85 sec)
  +
| style="text-align: left;" |{{ClockPhase|11260}} 10,962–11,559
  +
(597 Gtk/29.85 sec)
 
|-
 
|-
  +
|7
| 3 || 15120 || 20900
 
  +
| style="text-align: left;" |{{ClockPhase|63}} 23,961–(Dawn/24,000/0)-166
  +
(127 Gtk/6.35 sec)
  +
| style="text-align: left;" |{{ClockPhase|11937}} 11,835–(Dusk/12,000)-12,040 (205 Gtk/10.25 sec)
  +
| style="text-align: left;" |{{ClockPhase|638}} 395–882
  +
(487 Gtk/24.35 sec)
  +
| style="text-align: left;" |{{ClockPhase|11362}} 11,119–11,606
  +
(487 Gtk/24.35 sec)
  +
| style="text-align: left;" |{{ClockPhase|1387}} 1,040–1,735
  +
(695 Gtk/34.75 sec)
  +
| style="text-align: left;" |{{ClockPhase|10613}} 10,266–10,961
  +
(695 Gtk/34.75 sec)
 
|-
 
|-
  +
|8
| 4 || 15500 || 20520
 
  +
| style="text-align: left;" |{{ClockPhase|351}} 167–535
|-
 
  +
(368/18.4 sec)
| 5 || 15900 || 20120
 
  +
| style="text-align: left;" |{{ClockPhase|11649}} 11,465{{only|short=1|java}}/11,466{{only|short=1|bedrock}}-11,834
|-
 
  +
J: (369 Gtk/18.45 sec)
| 6 || 16320 || 19700
 
|-
 
| 7 || 16760 || 19260
 
|-
 
| 8 || 17240 || 18780
 
|-
 
| 9 || 17780 || 18240
 
|}
 
   
  +
B: (368 Gtk/18.4 sec)
==== Inverted daylight detector ====
 
  +
| style="text-align: left;" |{{ClockPhase|1156}} 883–1,429{{only|short=1|java}}/1,430{{only|short=1|bedrock}}J: (546 Gtk/27.3 sec)
   
  +
B: (547 Gtk/27.35 sec)
{{control|Using}} a daylight sensor will invert it. The inverted sensor acts contrary to the daylight sensor emitting full redstone strength during night time, weak strength during the day and no redstone strength at high noon. The effects of shade are applied before inverting, so shade ''increases'' the signal strength when it isn't already full, and prevents it from reaching zero.
 
  +
| style="text-align: left;" |{{ClockPhase|10844}} 10,571–11,118
  +
(547 Gtk/27.35 sec)
  +
| style="text-align: left;" |{{ClockPhase|2172}} 1,736–2,608
  +
(872 Gtk/43.6 sec)
  +
| style="text-align: left;" |{{ClockPhase|9828}} 9,392–10,265
  +
(873 Gtk/43.65 sec)
  +
|-
  +
|9
  +
| style="text-align: left;" |{{ClockPhase|734}} 536–933
  +
(397 Gtk/19.85 sec)
  +
| style="text-align: left;" |{{ClockPhase|10250}} 11,067–11,464{{only|short=1|java}}/11,465{{only|short=1|bedrock}} J: (397 Gtk/19.85 sec)
   
  +
B: (398 Gtk/19.9 sec)
The inverted daylight sensor cannot be obtained as an item. Removing an inverted daylight sensor will simply drop a regular daylight sensor.
 
  +
| style="text-align: left;" |{{ClockPhase|1749}} 1,430{{only|short=1|java}}/1,431{{only|short=1|bedrock}}-2,069
  +
J: (639 Gtk/31.95 sec)
   
  +
B: (638 Gtk/31.6 sec)
{| class="wikitable" style="text-align:right"
 
  +
| style="text-align: left;" |{{ClockPhase|10250}} 9,931–10,570
|+ Inverted daylight sensor power levels
 
  +
(639 Gtk/31.95 sec)
! rowspan=2 | Power
 
  +
| style="text-align: left;" |{{ClockPhase|3275}} 2,609–3,942
! colspan=3 | Clear
 
  +
(1,333 Gtk/1:06.65 sec)
! colspan=3 | Rain
 
  +
| style="text-align: left;" |{{ClockPhase|8725}} 8,059–9,391
! colspan=3 | Thunder
 
  +
(1,332 Gtk/1:06.6 sec)
 
|-
 
|-
  +
|10
! Time reached !! Time dissipates !! Light levels
 
  +
| style="text-align: left;" |{{ClockPhase|1152}} 934–1,371
! Time reached !! Time dissipates !! Light levels
 
  +
(437 Gtk/21.85 sec)
! Time reached !! Time dissipates !! Light levels
 
  +
| style="text-align: left;" |{{ClockPhase|10847}} 10,629–11,066
  +
(737 Gtk/36.85 sec)
  +
| style="text-align: left;" |{{ClockPhase|2472}} 2,070–2,875
  +
(805 Gtk/40.25 sec)
  +
| style="text-align: left;" |{{ClockPhase|9527}} 9,125{{only|short=1|java}}/9,126{{only|short=1|bedrock}}-9,930
  +
J: (805 Gtk/40.25 sec)
  +
  +
B: (804 Gtk/40.2 sec)
  +
| colspan="2" |{{ClockPhase|6000}} 3,943–(Noon/6,000)-8,058
  +
(4115 Gtk/3:25)
 
|-
 
|-
| 0
+
|11
  +
| style="text-align: left;" |{{ClockPhase|1618}} 1,372–1,865
| 4300 || 7720 || 15
 
  +
(493 Gtk/24.65 sec)
| N/A || N/A || N/A
 
  +
| style="text-align: left;" |{{ClockPhase|10382}} 10,136–10,628
| N/A || N/A || N/A
 
  +
(492 Gtk/24.6 sec)
|-
 
  +
| style="text-align: left;" |{{ClockPhase|3492}} 2,876–4,108
| 1
 
  +
(1,232 Gtk/1:01.6)
| 3180 || 8840 || 15
 
  +
| style="text-align: left;" |{{ClockPhase|8508}} 7,892–9,124{{only|short=1|java}}/7,893–9,125{{only|short=1|bedrock}}J: (1,232 Gtk/1:01.6)
| N/A || N/A || N/A
 
  +
| N/A || N/A || N/A
 
  +
B: (1,232 Gtk/1:01.6)
|-
 
  +
|N/A|| N/A
| 2
 
| 2460 || 9560 || 15
 
| N/A || N/A || N/A
 
| N/A || N/A || N/A
 
|-
 
| 3
 
| 1880 || 10140 || 15
 
| 4120 || 7900 || 12
 
| N/A || N/A || N/A
 
|-
 
| 4
 
| 1380 || 10640 || 15
 
| 2880 || 9140 || 12
 
| N/A || N/A || N/A
 
|-
 
| 5
 
| 940 || 11080 || 15
 
| 2080 || 9940 || 12
 
| 3960 || 8060 || 10
 
|-
 
| 6
 
| 540 || 11480 || 15
 
| 1440 || 10580 || 12
 
| 2620 || 9400 || 10
 
|-
 
| 7
 
| 180 || 11840 || 15
 
| 900 || 11120 || 12
 
| 1740 || 10280 || 10
 
|-
 
| 8
 
| 23960 || 12040 || 15
 
| 400 || 11620 || 12
 
| 1040 || 10980 || 10
 
|-
 
| 9
 
| 23780 || 12240 || 13–14
 
| 0 || 12020 || 11–12
 
| 460 || 11560 || 10
 
|-
 
| 10
 
| 23540 || 12480 || 12–13
 
| 23760 || 12260 || 10–12
 
| 60 || 11940 || 10
 
|-
 
| 11
 
| 23300 || 12720 || 11–12
 
| 23520 || 12500 || 9–11
 
| 23700 || 12300 || 8–10
 
 
|-
 
|-
 
| 12
 
| 12
  +
| style="text-align: left;" |{{ClockPhase|2155}} 1,866–2,444
| 23080 || 12940 || 9–11
 
  +
(578 Gtk/28.9 sec)
| 23240 || 12780 || 8–10
 
  +
| style="text-align: left;" |{{ClockPhase|9846}} 9,557–10,135
| 23360 || 12660 || 7–8
 
  +
(578 Gtk/28.9 sec)
  +
| colspan="2" |{{ClockPhase|6000}} 4,109–(Noon/6,000)-7,891{{only|short=1|java}}/7,892{{only|short=1|bedrock}} J:(3,410 Gtk/2:50) B: (3,783 Gtk/3:9.15)
  +
|N/A|| N/A
 
|-
 
|-
 
| 13
 
| 13
  +
| style="text-align: left;" |{{ClockPhase|2810}} 2,445–3,175
| 22800 || 13220 || 7–9
 
  +
(730 Gtk/36.5 sec)
| 22800 || 13220 || 6–8
 
  +
| style="text-align: left;" |{{ClockPhase|9191}} 8,826–9,556
| 22960 || 13060 || 6–8
 
  +
(730 Gtk/36.5 sec)
  +
|N/A|| N/A
  +
| N/A || N/A
 
|-
 
|-
| 14
+
|14
  +
| style="text-align: left;" |{{ClockPhase|3735}} 3,176–4,294
| 22340 || 13680 || 4–7
 
  +
(1,118 Gtk/55.9 sec)
| 22340 || 13680 || 4–7
 
  +
| style="text-align: left;" |{{ClockPhase|8265}} 7,706–8,825
| 22340 || 13680 || 4–6
 
  +
(1,119 Gtk/55.95 sec)
  +
|N/A|| N/A
  +
| N/A || N/A
 
|-
 
|-
| 15
+
|15
  +
| colspan="2" |{{ClockPhase|6000}} 4,295–(Noon/6,000)-7,705
| N/A || N/A || 4–5
 
  +
(3,410 Gtk/2:50)
| N/A || N/A || 4–5
 
| N/A || N/A || 4–5
+
|N/A|| N/A
  +
| N/A || N/A
 
|}
 
|}
   
  +
====Inverted Daylight Detector====
== Data values ==
 
  +
{{control|Using}} a daylight detector inverts it. However, the output of the inverted detector is not a simple inversion of the daylight detector's output; it uses a much simpler algorithm that depends only on the [[Light#Internal_light_level|'''internal sky light level''']]. Specifically, it outputs a signal strength of 15 minus the current internal sky light level, where values over 15 or below 0 are taken as 15 or 0 respectively. This means that an inverted daylight detector actually outputs a strength of 11 at midnight when it's clear weather, if it has line of sight with the sky. The effects of shade are applied before inverting, so shade ''increases'' the signal strength when it isn't already full, and prevents it from reaching zero.
{{main|Data values}}
 
   
  +
===Fuel===
A daylight sensor is defined by its ''ID'' and ''block data'', and it also has a [[block entity]]. A daylight sensor also has a ''block state'' which is expected to replace the functionality of block data in a future version.
 
  +
Daylight detectors can be used as a [[fuel]] in [[furnace]]s, smelting 1.5 items per block.
   
=== ID ===
+
===Note Blocks===
  +
Daylight detectors can be placed under [[note block]]s to produce "bass" sounds.
   
  +
==Sounds==
A daylight sensor's ID specifies its mode (regular or inverted).
 
  +
{{Sound table/Block/Wood}}
   
  +
==Data values==
{{/ID}}
 
  +
===ID===
  +
{{edition|java}}:
  +
{{ID table
  +
|edition=java
  +
|showforms=y
  +
|generatetranslationkeys=y
  +
|displayname=Daylight Detector
  +
|spritetype=block
  +
|nameid=daylight_detector
  +
|foot=1}}
  +
{{ID table
  +
|displayname=Block entity
  +
|spritename=daylight-detector
  +
|spritetype=block
  +
|nameid=daylight_detector
  +
|foot=1}}
   
  +
{{edition|bedrock}}:
=== Block data ===
 
  +
{{ID table
  +
|edition=bedrock
  +
|shownumericids=y
  +
|showforms=y
  +
|generatetranslationkeys=y
  +
|displayname=Daylight Sensor
  +
|spritetype=block
  +
|nameid=daylight_detector
  +
|id=151}}
  +
{{ID table
  +
|displayname=Inverted Daylight Sensor
  +
|spritetype=block
  +
|nameid=daylight_detector_inverted
  +
|id=178
  +
|form=block
  +
|translationkey=-
  +
|foot=1}}
  +
{{ID table
  +
|notnamespaced=y
  +
|displayname=Block entity
  +
|spritename=daylight-detector
  +
|spritetype=block
  +
|nameid=DaylightDetector
  +
|foot=1}}
   
  +
===Block states===
A daylight sensor's block data stores its power level:
 
  +
{{see also|Block states}}
   
{{/DV}}
+
{{/BS}}
   
=== Block entity ===
+
===Block data===
  +
A daylight detector has a block entity associated with it which stores only its entity ID and position (the minimum data for a block entity). Although the daylight detector's block entity stores no additional data, the block entity ensures that the daylight detector is updated every game tick.
  +
  +
{{el|java}}:
 
{{see also|Block entity format}}
 
{{see also|Block entity format}}
 
Every daylight sensor has a DLDetector block entity associated with it which stores only its entity id and position (the minimum data for a block entity). Although the daylight sensor's block entity stores no additional data, the block entity ensures that the daylight sensor is updated every game tick.
 
 
 
{{/BE}}
 
{{/BE}}
   
  +
{{el|bedrock}}:
=== Block state ===
 
  +
:See [[Bedrock Edition level format/Block entity format]].
{{see also|Block states}}
 
   
  +
==History ==
{{/BS}}
 
  +
{{History||July 6, 2010|link=wordofnotch:776816446|[[Notch]] suggests that he may implement daylight sensors (in the blog post mentioning [[Java Edition Alpha v1.0.2_01|Alpha 1.0.2_01]]).}}
  +
{{History||November 24, 2012|link=Redstone Update|[[Jeb]] stated that there may be a daylight sensor.}}
  +
{{History||January 2, 2013|link={{tweet|jeb_|286493347756011520}}|Jeb tweeted an [https://web.archive.org/web/20230330102904/https://imgur.com/DmHt3 image] of the daylight sensor.}}
  +
{{History|java}}
  +
{{History||1.5|snap=13w01a|[[File:Daylight Detector JE1 BE1.png|32px]] Added daylight sensors.}}
  +
{{History||1.8|snap=14w31a|[[File:Inverted Daylight Detector JE1 BE1.png|32px]] Daylight sensors can now be toggled between [[Daylight cycle#Daytime|day]] and [[Daylight cycle#Nighttime|night]] by {{control|using}} them.}}
  +
{{History||1.9|snap=15w47a|Daylight sensors no longer emit signal during the night when sufficiently shaded.
  +
|Inverted daylight sensors now emit a variable signal at night.}}
  +
{{History||1.11|snap=16w32a|The [[block]] [[entity]] ID has now been changed from <code>DLDetector</code> to <code>daylight_detector</code>.}}
  +
{{History||1.13|snap=17w47a|"Daylight Sensor" has been renamed to "Daylight Detector".
  +
|The different block IDs for the daylight detector have now been merged into one ID.
  +
|Added an inverted [[block]] state to daylight detectors.
  +
|Prior to [[1.13/Flattening|''The Flattening'']], these [[block]]s' numeral IDs were 151 and 178.}}
   
  +
{{History|pocket alpha}}
== Video ==
 
  +
{{History||v0.13.0|snap=build 1|[[File:Daylight Detector JE1 BE1.png|32px]] [[File:Inverted Daylight Detector JE1 BE1.png|32px]] Added daylight sensors.}}
{{/video}}
 
  +
{{History||v0.15.0|snap=build 1|Daylight sensors can now be moved by [[piston]]s.}}
   
== History ==
+
{{History|console}}
  +
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|[[File:Daylight Detector JE1 BE1.png|32px]] Added daylight sensors.}}
[[File:13w01a mojang release.png|The 13w01a snapshot image released by [[Mojang]].|thumb]]
 
  +
{{History||xbox=TU25|xbone=CU14|ps=1.17|[[File:Inverted Daylight Detector JE1 BE1.png|32px]] Daylight sensors can now be toggled between [[Daylight cycle#Daytime|day]] and [[Daylight cycle#Nighttime|night]] by {{control|using}} them.}}
   
{{History|r}}
+
{{History|new 3ds}}
{{History||24 November, 2012|link=Redstone Update|Jeb stated that there may be a daylight sensor.}}
+
{{History||0.1.0|[[File:Daylight Detector JE1 BE1.png|32px]] [[File:Inverted Daylight Detector JE1 BE1.png|32px]] Added daylight detectors.}}
{{History||2 January, 2013|link=http://twitter.com/jeb_/status/286493347756011520|Jeb tweeted an [http://i.imgur.com/DmHt3.png image] of the daylight sensors.}}
 
{{History||1.5|snap=13w01a|Daylight sensors were added to the game.}}
 
{{History||1.8|snap=14w31a|Daylight sensors can now be toggled between day/night by {{control|use|text=using}} on them.}}
 
{{History|console}}
 
{{History||TU19|Added daylight sensors.}}
 
 
{{History|foot}}
 
{{History|foot}}
<!-- Add: Daylight sensors are no longer instantly broken -->
+
<!-- Add: Daylight detectors are no longer instantly broken -->
   
== Issues ==
+
== Gallery ==
  +
<gallery>
  +
Jeb Daylight Detector.png|First image of a daylight detector.
  +
13w01a_Banner.png|The 13w01a snapshot image released by [[Mojang]].
  +
MCTimegraph.png|A graph visualising the states of a Daylight Detector under different weather conditions (ends rounded to the nearest quarter of a thousand Game-ticks)
  +
</gallery>
   
  +
==Issues==
{{issue list}}
 
  +
{{Issue list|Daylight Sensor|Daylight Detector}}
   
  +
==Notes==
  +
{{fnlist}}
   
  +
==References==
{{redstone}}
 
{{blocks}}
+
{{Reflist}}
  +
  +
{{Redstone}}
  +
{{Blocks|Utility}}
   
 
[[Category:Mechanics]]
 
[[Category:Mechanics]]
 
[[Category:Redstone mechanics]]
 
[[Category:Redstone mechanics]]
 
[[Category:Redstone]]
 
[[Category:Redstone]]
  +
[[Category:Mechanisms]]
 
[[Category:HESI-Block-Unchecked]]
+
[[Category:Manufactured blocks]]
[[Category:Rewritten block]]
+
[[Category:Block entities]]
   
 
[[de:Tageslichtsensor]]
 
[[de:Tageslichtsensor]]
 
[[es:Sensor de luz solar]]
 
[[es:Sensor de luz solar]]
 
[[fr:Capteur de lumière]]
 
[[fr:Capteur de lumière]]
  +
[[ja:日照センサー]]
  +
[[ko:햇빛 감지기]]
 
[[nl:Daglichtsensor]]
 
[[nl:Daglichtsensor]]
 
[[pl:Detektor światła dziennego]]
 
[[pl:Detektor światła dziennego]]
  +
[[pt:Detector de luz solar]]
 
[[ru:Датчик дневного света]]
 
[[ru:Датчик дневного света]]
[[zh:阳光传感器]]
+
[[zh:阳光探测器]]

Latest revision as of 00:52, 13 November 2023

A daylight detector[a] is a block that outputs a redstone signal based on sunlight.

Using it inverts it, causing it instead to output a redstone signal based on the darkness of the sky.

Obtaining

Breaking

Daylight detectors can be broken fairly easily by hand, but can be broken faster by using an axe. Inverted daylight detectors cannot be collected directly; they drop a regular daylight detector. In Bedrock Edition, the inverted sensor may be obtained via inventory editing or add-ons.

Block Daylight Detector
Hardness 0.2
Tool
Breaking time[A]
Default 0.3
Wooden 0.15
Stone 0.1
Iron 0.05
Diamond 0.05
Netherite 0.05
Golden 0.05
  1. Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.

Crafting

Ingredients Crafting recipe
Glass +
Nether Quartz +
Any wood Slab


Usage

Redstone component

Daylight sensor output clear

Graphed daylight detector output in clear weather.

See also: Redstone circuit

A daylight detector can be used to produce redstone power in proportion to the daylight cycle.

A daylight detector is 0.375 blocks high (3/8ths of a block). Daylight detectors can be moved by pistons.‌[Bedrock Edition only] Water and lava flow around daylight detectors without affecting them.

Placement
To place a daylight detector, use the "Use Item/Place Block" control.
A daylight detector can be "inverted", which reverses the power levels produced by the daylight detector. To invert a daylight detector, aim at the placed daylight detector and use the "Use Item/Place Block" control.
Activation
A daylight detector activates when exposed to sufficient daylight (daylight detector mode) or when exposure to daylight is low enough (inverted daylight detector mode).
Sources of block light (torches, glowstone, etc.) cannot activate a daylight detector.
Behavior
An active daylight detector:
A daylight detector has no effect on other adjacent blocks (for example, it cannot power a block the way a repeater can).
The output signal of daylight detectors in the loaded chunk is updated every 20 gametime‌[JE only]/daytime‌[BE only]. Block update have no effect on daylight detectors.

Daylight Detector

The daylight detector power level depends on the time of day, the weather, and the internal sky light level.

Daylight detector power levels when sky light level is 15
Power Clear Rain or Snowfall Thunder
Time ↓ Time ↑ Time ↓ Time ↑ Time ↓ Time ↑
0 13,670–(Midnight/18,000)-22,330

(8,660 Gtk/7:13)

13,670-(Midnight/18,000)–22,330

(8,660 Gtk/7:13)

13,670-(Midnight/18,000)–22,330

(8,660 Gtk/7:13)

1 22,331–22,781

(450 Gtk/22.5 sec)

13,219–13,669

(450 Gtk/22.5 sec)

22,331–22,798

(467 Gtk/23.35 sec)

13,203–13,669

(466 Gtk/23.3 sec)

22,331–22,943

(612 Gtk/30.6 sec)

13,058–13,669

(611 Gtk/30.55 sec)

2 22,782–23,069‌[JE only]/23,070‌[BE only] J: (287 Gtk/14.35 sec)

B: (288 Gtk/14.4 sec)

12,931–13,218

(287 Gtk/14.35 sec)

22,799–23,231

(432 Gtk/21.6 sec)

12,769‌[JE only]/12,770‌[BE only]-13,202

J: (433 Gtk/21.65 sec)

B: (432 Gtk/21.6 sec)

22,944–23,352

(408 Gtk/20.4 sec)

12,648–13,057

(409 Gtk/20.45 sec)

3 23,070‌[JE only]/23,071‌[BE only]-23,296

J: (226 Gtk/11.3 sec)

B: (225 Gtk/11.25 sec)

12,705–12,930

(225 Gtk/11.25 sec)

23,232–23,504

(272 Gtk/13.6 sec)

12,497–12,768‌[JE only]/12,769‌[BE only]J: (271 Gtk/13.55 sec)

B: (272 Gtk/13.6 sec)

23,353–23,700

(347 Gtk/17.35 sec)

12,300–12,647

(347 Gtk/17.35 sec)

4 23,297–23,529

(232 Gtk/11.6 sec)

12,471–12,704

(233 Gtk/11.65 sec)

23,505–23,745

(240 Gtk/12 sec)

12,256–12,496

(240 Gtk/12 sec)

23,701-(Dawn/24,000/0)–59

(240 Gtk/12 sec)

11,941‌[JE only]/11,942‌[BE only]-(Dusk/12,000)-12,299

J: (358 Gtk/17.9 sec)

B: (357 Gtk/17.85 sec)

5 23,530–23,767

(237 Gtk/11.85 sec)

12,233–12,470

(237 Gtk/11.85 sec)

23,746–23,991

(245 Gtk/12.25 sec)

12,010–12,255

(245 Gtk/12.25 sec)

60–441

(381 Gtk/19.05 sec)

11,560–11,940‌[JE only]/11,941‌[BE only] J:(380 Gtk/19 sec)

B: (381 Gtk/19.05 sec)

6 23,768–23,960

(192 Gtk/9.6 sec)

12,041–12,232

(191 Gtk/9.55 sec)

23,992–(Dawn/24,000/0)-394

(386 Gtk/19.3 sec)

11,607–(Dusk/12,000)-12,009

(402 Gtk/20.1 sec)

442–1,039

(597 Gtk/29.85 sec)

10,962–11,559

(597 Gtk/29.85 sec)

7 23,961–(Dawn/24,000/0)-166

(127 Gtk/6.35 sec)

11,835–(Dusk/12,000)-12,040 (205 Gtk/10.25 sec) 395–882

(487 Gtk/24.35 sec)

11,119–11,606

(487 Gtk/24.35 sec)

1,040–1,735

(695 Gtk/34.75 sec)

10,266–10,961

(695 Gtk/34.75 sec)

8 167–535

(368/18.4 sec)

11,465‌[JE only]/11,466‌[BE only]-11,834

J: (369 Gtk/18.45 sec)

B: (368 Gtk/18.4 sec)

883–1,429‌[JE only]/1,430‌[BE only]J: (546 Gtk/27.3 sec)

B: (547 Gtk/27.35 sec)

10,571–11,118

(547 Gtk/27.35 sec)

1,736–2,608

(872 Gtk/43.6 sec)

9,392–10,265

(873 Gtk/43.65 sec)

9 536–933

(397 Gtk/19.85 sec)

11,067–11,464‌[JE only]/11,465‌[BE only] J: (397 Gtk/19.85 sec)

B: (398 Gtk/19.9 sec)

1,430‌[JE only]/1,431‌[BE only]-2,069

J: (639 Gtk/31.95 sec)

B: (638 Gtk/31.6 sec)

9,931–10,570

(639 Gtk/31.95 sec)

2,609–3,942

(1,333 Gtk/1:06.65 sec)

8,059–9,391

(1,332 Gtk/1:06.6 sec)

10 934–1,371

(437 Gtk/21.85 sec)

10,629–11,066

(737 Gtk/36.85 sec)

2,070–2,875

(805 Gtk/40.25 sec)

9,125‌[JE only]/9,126‌[BE only]-9,930

J: (805 Gtk/40.25 sec)

B: (804 Gtk/40.2 sec)

3,943–(Noon/6,000)-8,058

(4115 Gtk/3:25)

11 1,372–1,865

(493 Gtk/24.65 sec)

10,136–10,628

(492 Gtk/24.6 sec)

2,876–4,108

(1,232 Gtk/1:01.6)

7,892–9,124‌[JE only]/7,893–9,125‌[BE only]J: (1,232 Gtk/1:01.6)

B: (1,232 Gtk/1:01.6)

N/A N/A
12 1,866–2,444

(578 Gtk/28.9 sec)

9,557–10,135

(578 Gtk/28.9 sec)

4,109–(Noon/6,000)-7,891‌[JE only]/7,892‌[BE only] J:(3,410 Gtk/2:50) B: (3,783 Gtk/3:9.15) N/A N/A
13 2,445–3,175

(730 Gtk/36.5 sec)

8,826–9,556

(730 Gtk/36.5 sec)

N/A N/A N/A N/A
14 3,176–4,294

(1,118 Gtk/55.9 sec)

7,706–8,825

(1,119 Gtk/55.95 sec)

N/A N/A N/A N/A
15 4,295–(Noon/6,000)-7,705

(3,410 Gtk/2:50)

N/A N/A N/A N/A

Inverted Daylight Detector

Using a daylight detector inverts it. However, the output of the inverted detector is not a simple inversion of the daylight detector's output; it uses a much simpler algorithm that depends only on the internal sky light level. Specifically, it outputs a signal strength of 15 minus the current internal sky light level, where values over 15 or below 0 are taken as 15 or 0 respectively. This means that an inverted daylight detector actually outputs a strength of 11 at midnight when it's clear weather, if it has line of sight with the sky. The effects of shade are applied before inverting, so shade increases the signal strength when it isn't already full, and prevents it from reaching zero.

Fuel

Daylight detectors can be used as a fuel in furnaces, smelting 1.5 items per block.

Note Blocks

Daylight detectors can be placed under note blocks to produce "bass" sounds.

Sounds

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
Block placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
Block breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.wood.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokendig.wood1.00.8-1.0
BlocksWhen the block is placeddig.wood1.00.8
BlocksWhile the block is in the process of being brokenhit.wood0.230.5
PlayersFalling on the block with fall damagefall.wood0.41.0
PlayersWalking on the blockstep.wood0.31.0
PlayersJumping from the blockjump.wood0.121.0
PlayersFalling on the block without fall damageland.wood0.181.0

Data values

ID

Java Edition:

NameIdentifierFormTranslation key
Daylight Detectordaylight_detectorBlock & Itemblock.minecraft.daylight_detector
NameIdentifier
Block entitydaylight_detector

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1]Translation key
Daylight Sensordaylight_detector151Block & Giveable Item[i 2]Identical[i 3]tile.daylight_detector.name
Inverted Daylight Sensordaylight_detector_inverted178Block & Ungiveable Item[i 4]Identical[i 3]
  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Available with /give command.
  3. a b The block's direct item form has the same id as the block.
  4. Unavailable with /give command
NameSavegame ID
Block entityDaylightDetector

Block states

See also: Block states

Java Edition:

Name Default value Allowed values Description
invertedfalsefalse
true
If true, the daylight detector is inverted.
power00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The current redstone power level produced by the daylight sensor.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
redstone_signal0x1
0x2
0x4
0x8
00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The current redstone power level produced by the daylight sensor.

Block data

A daylight detector has a block entity associated with it which stores only its entity ID and position (the minimum data for a block entity). Although the daylight detector's block entity stores no additional data, the block entity ensures that the daylight detector is updated every game tick.

Java Edition:

  • Block entity data
    • Tags common to all block entities

Bedrock Edition:

See Bedrock Edition level format/Block entity format.

History

July 6, 2010Notch suggests that he may implement daylight sensors (in the blog post mentioning Alpha 1.0.2_01).
November 24, 2012Jeb stated that there may be a daylight sensor.
January 2, 2013Jeb tweeted an image of the daylight sensor.
Java Edition
1.5
{{Extension DPL}}<ul><li>[[Banner Pattern|Banner Pattern]]<br/>{{Item
| image = Banner Pattern.png
| rarity = 
* '''Flower Charge, Field Masoned, Bordure Indented, Globe, Snout'''
* Common
* '''Creeper Charge, Skull Charge'''
* Uncommon
* '''Thing'''
* Epic
| renewable = 
* '''Snout, Thing''': No
* '''All others''': Yes
| stackable = No
}}
'''Banner patterns''' are [[item]]s used to customize [[banner]]s inside [[loom]]s.
There are six patterns {{in|java}} and eight {{in|bedrock}}.

== Obtaining ==
[[File:Banner Patterns 20w15a.png|thumb|All six banner patterns {{in|java}} with their various sources.]]

=== Crafting ===
{{see also|Banner/Patterns|title1=List of patterned banners}}
4 out of 6 banner patterns {{only|JE}} and 2 more {{only|BE}} can be obtained by crafting. They are crafted by combining one [[paper]] along with a certain material.
{{Crafting
|head=1
|Paper
|Creeper Head
|Output=Banner Pattern Creeper
|type=Miscellaneous
|description=Creeper face
}}
{{Crafting
|Paper
|Wither Skeleton Skull
|Output=Banner Pattern Skull
|type=Miscellaneous
|description=Skeleton skull and crossbones
}}
{{Crafting
|Paper
|Oxeye Daisy
|Output=Banner Pattern Flower
|type=Miscellaneous
|description=Daisy
}}
{{Crafting
|Paper
|Enchanted Golden Apple
|Output=Banner Pattern Thing
|type=Miscellaneous
|showdescription=true
|description=Former [[Mojang Studios]] logo
}}
{{Crafting
|Paper
|Bricks
|Output=Banner Pattern Field Masoned
|type=Miscellaneous
|description={{only|bedrock}}
}}
{{Crafting
|Paper
|Vines
|Output=Banner Pattern Bordure Indented
|type=Miscellaneous
|description={{only|bedrock}}
|foot=1
}}

=== Trading ===
'''Globe banner pattern''' is obtained by trading with a master-level [[Trading#Cartographer|cartographer villager]] for a price of 8 emeralds.

=== Chest loot ===
'''Snout banner pattern''' is obtained in the [[Bastion Remnant]] as loot.
{{LootChestItem|snout-banner-pattern}}

== Usage ==
=== Loom ingredient ===
Banner patterns are used in [[loom]]s to add customization to [[banner]]s. The pattern must be combined with 1 banner and 1 [[dye]]. Upon usage in the loom, the banner pattern is not consumed.

{{Looming
|head=1
|showdescription=1
|name=[[Banner|Flower Charge Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Flower Charge
|Flower Charge
|{{:Banner/recipe|output|Flower Charge}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a flower charge (flower icon)
}}

{{Looming
|name=[[Banner|Creeper Charge Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Creeper Charge
|Creeper Charge
|{{:Banner/recipe|output|Creeper Charge}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a creeper charge (creeper face)
}}

{{Looming
|name=[[Banner|Skull Charge Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Skull Charge
|Skull Charge
|{{:Banner/recipe|output|Skull Charge}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a skull charge (skull and crossbones)
}}

{{Looming
|name=[[Banner|Thing Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Thing
|Thing
|{{:Banner/recipe|output|Thing}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a thing (old Mojang logo)}}

{{Looming
|name=[[Banner|Snout Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Snout
|Snout
|{{:Banner/recipe|output|Snout}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a piglin snout
}}

{{Looming
|name=[[Banner|Globe Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Globe
|Globe
|{{:Banner/recipe|output|Globe}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a globe (cube shaped earth)
}}

{{Looming
|name=[[Banner|Bordure Indented Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Bordure Indented
|Bordure Indented
|{{:Banner/recipe|output|Bordure Indented}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a bordure indented (fancy border){{only|bedrock}}
}}

{{Looming
|name=[[Banner|Field Masoned Banner]]
|ingredients={{:Banner/recipe|ingredients}}
|{{:Banner/recipe|banner}}
|Matching Dye
|Banner Pattern Field Masoned
|Field Masoned
|{{:Banner/recipe|output|Field Masoned}}
|Blink=Banner
|Olink=Banner
|description=Emblazons a field masoned (brick pattern)‌{{only|bedrock}}
|foot=1
}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Banner Pattern
|showforms=y
|generatetranslationkeys=y
|displayname=Flower Charge
|spritename=banner-pattern
|spritetype=item
|nameid=flower_banner_pattern
|form=item}}
{{ID table
|displayname=Creeper Charge
|spritename=banner-pattern
|spritetype=item
|nameid=creeper_banner_pattern
|form=item}}
{{ID table
|displayname=Skull Charge
|spritename=banner-pattern
|spritetype=item
|nameid=skull_banner_pattern
|form=item}}
{{ID table
|displayname=Thing
|spritename=banner-pattern
|spritetype=item
|nameid=mojang_banner_pattern
|form=item}}
{{ID table
|displayname=Globe
|spritename=banner-pattern
|spritetype=item
|nameid=globe_banner_pattern
|form=item}}
{{ID table
|displayname=Snout
|spritename=banner-pattern
|spritetype=item
|nameid=piglin_banner_pattern
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Banner Pattern
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Creeper Charge
|spritename=banner-pattern
|spritetype=item
|nameid=creeper_banner_pattern
|aliasid=banner_pattern / 0
|id=582
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.creeper}}
{{ID table
|displayname=Skull Charge
|spritename=banner-pattern
|spritetype=item
|nameid=skull_banner_pattern
|aliasid=banner_pattern / 1
|id=583
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.skull}}
{{ID table
|displayname=Flower Charge
|spritename=banner-pattern
|spritetype=item
|nameid=flower_banner_pattern
|aliasid=banner_pattern / 2
|id=581
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.flower}}
{{ID table
|displayname=Thing
|spritename=banner-pattern
|spritetype=item
|nameid=mojang_banner_pattern
|aliasid=banner_pattern / 3
|id=584
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.thing}}
{{ID table
|displayname=Field Masoned
|spritename=banner-pattern
|spritetype=item
|nameid=field_masoned_banner_pattern
|aliasid=banner_pattern / 4
|id=585
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.bricks}}
{{ID table
|displayname=Bordure Indented
|spritename=banner-pattern
|spritetype=item
|nameid=bordure_indented_banner_pattern
|aliasid=banner_pattern / 5
|id=586
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.vines}}
{{ID table
|displayname=Snout
|spritename=banner-pattern
|spritetype=item
|nameid=piglin_banner_pattern
|aliasid=banner_pattern / 6
|id=587
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.piglin}}
{{ID table
|displayname=Globe
|spritename=banner-pattern
|spritetype=item
|nameid=globe_banner_pattern
|aliasid=banner_pattern / 7
|id=588
|form=item
|translationkey=item.banner_pattern.name, item.banner_pattern.globe
|foot=1}}

== Achievements ==
{{load achievements|Fruit on the Loom}}

== History ==
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] Added banner patterns for flower charge, creeper charge, skull charge and thing patterns.}}
{{History|||snap=19w11a|[[File:Banner Pattern JE1 BE1.png|32px]] Added banner pattern for globe.
|The banner pattern for globe can be [[trading|bought]] from master-level cartographer [[villager]]s for 8 [[emerald]]s.}}
{{History||1.16|snap=20w15a|[[File:Banner Pattern JE1 BE1.png|32px]] Added the piglin banner pattern.}}
{{History|||snap=20w16a|The piglin banner pattern can now be found in [[chest]]s in [[bastion remnants]].}}
{{History|||snap=20w18a|The piglin pattern has now been renamed to "Snout".}}
{{History||1.16.2|snap=20w30a|The chance of finding the "Snout" banner pattern in bastion remnant chests has been increased from 5.5% to 10.1%.}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] Added banner patterns for creeper charge, skull charge, flower charge, thing, field masoned and bordure indented patterns.}}
{{History||1.11.0|snap=beta 1.11.0.4|The banner patterns flower charge, field masoned and bordure indented can now be [[trading|bought]] from cartographer [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Banner Pattern JE1 BE1.png|32px]] Added the piglin banner pattern.}}
{{History|||snap=beta 1.16.0.59|The piglin pattern has now been renamed to "Snout".}}
{{History||1.16.100|snap=beta 1.16.100.55|The "Thing" banner pattern can now be crafted at the [[loom]].}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of banner patterns have been changed from <code>banner_pattern</code> to <code><type>_banner_pattern</code>.}}
{{History||1.18.10|snap=beta 1.18.10.24|[[File:Banner Pattern JE1 BE1.png|32px]] Added banner pattern for globe. It is currently unobtainable in survival.}}
{{History|||snap=beta 1.18.10.26|The banner pattern for globe are now obtainable in survival and can be [[trading|bought]] from master-level cartographer [[villager]]s for 8 [[emerald]]s.
|Removed flower charge, field masoned and bordure indented banner pattern from villager trading.}}
{{History|PS4}}
{{History||1.90|[[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] [[File:Banner Pattern JE1 BE1.png|32px]] Added banner patterns for creeper charge, skull charge, flower charge, thing, field masoned and bordure indented patterns.}}
{{History|foot}}

== Issues ==
{{issue list}}

{{Items}}

[[de:Bannervorlage]]
[[es:Diseño de estandarte]]
[[fr:Motif de bannière]]
[[ja:旗の模様]]
[[ko:현수막 무늬]]
[[pl:Wzór sztandaru]]
[[pt:Desenho para estandarte]]
[[ru:Узор флага]]
[[th:ลวดลายธง]]
[[zh:旗帜图案]]</li><li>[[Light Gray Dye|Light Gray Dye]]<br/>{{Item
| image = Light Gray Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Light gray dye'''{{fn|Known as '''Light Grey Dye''' in British, Canadian, Australian, and New Zealand English variants.}} is a [[Dyeing#Primary Colors|quasi-primary dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Azure Bluet;Oxeye Daisy;White Tulip
  |Output=Light Gray Dye
  |type=Material
}}
{{Crafting
  |Black Dye
  |White Dye
  |White Dye
  |Output=Light Gray Dye,3
  |type=Material
  |description={{IN|bedrock}}, the black and white dye can be replaced with [[ink sac]]s and [[bone meal]], respectively.
}}
{{Crafting
  |Gray Dye
  |White Dye
  |Output=Light Gray Dye,2
  |type=Material
  |description={{IN|bedrock}}, the white dye can be replaced with [[bone meal]].
  |foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 light gray dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Light Gray Dye}}

=== Trading ===
Expert-level shepherd villagers have {{frac|1|6}} chance to buy 12 light gray dye for an emerald.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Light Gray Dye
|spritetype=item
|nameid=light_gray_dye
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Light Gray Dye
|spritetype=item
|nameid=light_gray_dye
|aliasid=dye / 7
|id=402
|form=item
|translationkey=item.dye.silver.name
|foot=1}}

== Video ==

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

== History ==

{{History|java beta}}
{{History||1.2|[[File:Light Gray Dye JE1 BE1.png|32px]] Added light gray dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Light gray dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Light gray dye is now crafted using [[white dye|white]] and [[black dye]]s, instead of [[bone meal]] and [[ink sac]]s.
|[[File:Light Gray Dye JE2 BE2.png|32px]] The texture of light gray dye has now been changed.}}
{{History|||snap=18w44a|Light gray dye can now change the text color on [[sign]]s to light gray.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells light gray dye.}}
{{History|||snap=19w11a|Light gray dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Light gray dye can now be used to craft [[light gray candle]]s.}}
{{History|||snap=21w19a|Light gray dye can no longer be used to craft light gray candles.}}
{{History|||snap=Pre-release 1|Light gray dye can now once again be used to craft light gray candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Light gray dye can now change the text color on [[hanging sign]]s to light gray.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Light Gray Dye JE1 BE1.png|32px]] Added light gray dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.8.0|snap=build 1|Light gray dye can be [[craft]]ed with [[bone meal]] and [[gray dye]], or with two bone meals and an [[ink sac]], despite there being no way of obtaining gray dye or ink sacs at the time.}}
{{History||v0.8.0|snap=build 3|Light gray dye is now available in [[creative]] mode.}}
{{History||v0.9.0|snap=build 3|Light gray dye can now be obtained in [[survival]] mode.}}
{{History|||snap=build 11|Light gray dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Light gray dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Light gray dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Light gray dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Light gray dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Light gray dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Light gray dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Light gray dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Light gray dye is now [[trading|sold]] by [[wandering trader]]s.
|Light gray dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Light Gray Dye JE2 BE2.png|32px]] The texture of light gray dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Light gray dye can be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of light gray dye has been changed from <code>dye/7</code> to <code>light_gray_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Light Gray Dye JE1 BE1.png|32px]] Added light gray dye.}}
{{History|PS4}}
{{History||1.90|[[File:Light Gray Dye JE2 BE2.png|32px]] The texture of light gray dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Light Gray Dye JE1 BE1.png|32px]] Added light gray dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

* In [[Bedrock Edition]], Some items/blocks' Block states/Item NBT uses '''Silver''' instead of '''Light Gray''' 

== Notes ==
{{fnlist}}

{{Items}}

[[Category:Dyes]]

[[cs:Světle šedé barvivo]]
[[de:Hellgrauer Farbstoff]]
[[es:Tinte gris claro]]
[[fr:Teinture gris clair]]
[[hu:Világosszürke festék]]
[[ja:薄灰色の染料]]
[[ko:회백색 염료]]
[[nl:Lichtgrijze kleurstof]]
[[pl:Jasnoszary barwnik]]
[[pt:Corante cinza-claro]]
[[ru:Светло-серый краситель]]
[[zh:淡灰色染料]]
[[Category:Renewable resources]]</li></ul>
13w01aDaylight Detector JE1 BE1 Added daylight sensors.
1.8
{{Extension DPL}}<ul><li>[[:Category:Food|Category:Food]]<br/>

[[Category:Items]]

[[cs:Kategorie:Potraviny]]
[[fr:Catégorie:Nourriture]]
[[hu:Kategória:Ételek]]
[[zh:Category:食物]]</li><li>[[Tropical Fish (item)|Tropical Fish (item)]]<br/>{{Item
| title = Tropical Fish
| image = Tropical Fish.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
}}
'''Tropical fish''' is a [[food]] item that cannot be cooked.

== Obtaining ==

=== Fishing ===

Tropical fish can be obtained from [[fishing]]. The wait time of one being caught is decreased with the [[Lure]] enchantment and the chance of one being caught is slightly decreased with the [[Luck of the Sea]] enchantment (named as such because it increases treasure, not fish).

Tropical fish cannot be caught when fishing in [[jungle]] biome and variants.{{only|bedrock}}
<!--1-6 exp-->

=== Mob drops ===

[[Guardian]]s and [[elder guardian]]s have a 2.5% chance of dropping a random fish upon death. This has a 2% chance of being tropical fish. The chance of getting the fish drop can be increased by 1% per level of [[Looting]], but the type of fish is not affected.

[[Tropical fish]] always drop 1 tropical fish in its item form when killed. This drop is not affected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref>

== Usage ==

=== Food ===

Tropical fish restores {{hunger|1}} [[hunger]] and 0.2 [[Hunger#Mechanics|saturation]].

=== Trading ===

Expert-level fisherman [[villager]]s have a {{frac|1|7}} chance to buy a single tropical fish for one [[emerald]].{{only|bedrock}}

Expert-level fisherman villagers always offer to buy 6 tropical fish for an emerald.{{only|java}}

=== Wolves ===
{{IN|Bedrock}}, tropical fish can be used to feed [[wolves]], healing them by {{hp|1|mob=1}}. However, unlike other wolf food, tropical fish cannot be used to breed or speed up the growth of baby wolves. Tropical fish can be fed only to a wolf that is not at full health.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tropical Fish
|spritetype=item
|nameid=tropical_fish
|itemtags=fishes, axolotl_tempt_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showaliasids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Tropical Fish
|spritetype=item
|nameid=tropical_fish
|aliasid=clownfish
|id=266
|form=item
|translationkey=tile.clownfish.name
|foot=1}}

== Achievements ==

{{load achievements|Lion Hunter}}

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

== History ==
{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Tropical Fish JE1 BE1.png|32px]] Added clownfish.}}
{{History||1.8|snap=14w25a|Clownfish are now obtainable as a rare [[drops|drop]] from [[guardian]]s and [[elder guardians]].}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 349.}}
{{History|||snap=18w08b|[[Tropical fish]] have been added as [[mob]]s, which [[drops|drop]] clownfish as their [[item]] form when killed.
|[[File:Tropical Fish JE2 BE2.png|32px]] The texture of clownfish has been changed.}}
{{History|||snap=18w19a|"Clownfish" has been renamed to "Tropical Fish".}}
{{History|||snap=pre5|The [[item]] ID has now been changed to <code>tropical_fish</code>.}}
{{History||1.14|snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] tropical fish.}}
{{History||1.17|snap=20w51a|Tropical fish can be used to [[breeding|breed]] the new [[axolotl]]s.
|Tropical fish can be used to make axolotls attack drowned and guardians.}}
{{History|||snap=21w20a|Axolotls can no longer be bred using tropical fish, but instead can only be bred with [[Bucket of aquatic mob|buckets of tropical fish]].}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Tropical Fish JE1 BE1.png|32px]] Added clownfish.}}
{{History||v0.12.1|snap=build 1|Clownfish now restore [[hunger]] instead of [[health]].}}
{{History||v0.16.0|snap=build 1|Clownfish can now be [[drops|dropped]] by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|"Clownfish" has been renamed to "Tropical Fish".
|[[Tropical fish]] have been added as [[mob]]s, which [[drops|drop]] tropical fish as their [[item]] form when killed.
|[[File:Tropical Fish JE2 BE2.png|32px]] The texture of tropical fish has been changed.}}
{{History||1.8.0|snap=beta 1.8.0.8|Tropical fish can now be used to fed [[ocelot]] to gain their trust.}}
{{History||1.11.0|snap=beta 1.11.0.4|Tropical fish can now be [[trading|sold]] to fisherman [[villager]]s.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Tropical Fish JE1 BE1.png|32px]] Added clownfish.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|"Clownfish" has been renamed to "Tropical Fish".
|[[File:Tropical Fish JE2 BE2.png|32px]] The texture of tropical fish has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Tropical Fish JE1 BE1.png|32px]] Added clownfish.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* [[Fishing]]

== References ==
{{reflist}}

{{items}}

[[de:Tropenfisch (Nahrung)]]
[[es:Pez tropical (objeto)]]
[[ja:熱帯魚 (アイテム)]]
[[ko:열대어 (아이템)]]
[[it:Pesce tropicale (oggetto)]]
[[ru:Тропическая_рыба_(предмет)]]
[[zh:热带鱼(物品)]]
[[Category:Renewable resources]]
[[Category:Food]]</li></ul>
14w31aInverted Daylight Detector JE1 BE1 Daylight sensors can now be toggled between day and night by using them.
1.9Tropical fish also have assigned names that can be seen after capture. In Java Edition, the smaller text under the item name is displayed showing the fish name, similar to the text that displays enchantments under enchanted items. In Bedrock Edition, the item name is displayed showing "Bucket of <fish name>". Their colors are mostly named according to the colored block names, though with a few exceptions:
  • White
  • Silver
  • Gray
  • Black
  • Brown
  • Red
  • Orange
  • Yellow
  • Lime
  • Green
  • Teal
  • Sky
  • Blue
  • Plum
  • Magenta
  • Rose

The base color comes first, and if the pattern color is different, it comes after that. Lastly, the fish bucket is given a name according to the shape and pattern of the fish:

Flopper Glitter Betty
Stripey Blockfish Clayfish
Tropical Fish Patterns
Kob Snooper Brinely
SunStreak Dasher Spotty

Some tropical fish don't follow the normal naming system, and instead, reference real-life fish species. Apart from these names, these types of fish aren't different from regular tropical fish in terms of design or behavior.

These varieties are:

Name Type
Anemone Orange-Gray Stripey
Black Tang Gray Flopper
Blue Dory ‌[Bedrock Edition only] Gray-Sky SunStreak
Blue Tang ‌[Java Edition only] Gray-Blue Flopper
Butterfly Fish ‌[Bedrock Edition only]/Butterflyfish ‌[Java Edition only] White-Gray Clayfish
Cichlid Blue-Gray SunStreak
Clownfish Orange-White Kob
Cotton Candy Betta Rose-Sky Spotty
Dottyback Plum-Yellow Blockfish
Emperor Red Snapper White-Red Clayfish
Goatfish White-Yellow Spotty
Moorish Idol White-Gray Glitter
Ornate Butterfly ‌[Bedrock Edition only]/Ornate Butterflyfish ‌[Java Edition only] White-Orange Clayfish
Parrotfish Teal-Rose Dasher
Queen Angel Fish ‌[Bedrock Edition only]/Queen Angelfish ‌[Java Edition only] Lime-Sky Brinely
Red Cichlid Red-White Betty
Red Lipped Blenny Gray-Red Snooper
Red Snapper Red-White Blockfish
Threadfin White-Yellow Flopper
Tomato Clown ‌[Bedrock Edition only] Red-White SunStreak
Tomato Clownfish ‌[Java Edition only] Red-White Kob
Triggerfish Gray-White SunStreak
Yellowtail Parrot ‌[Bedrock Edition only]/Yellowtail Parrotfish ‌[Java Edition only] Teal-Yellow Dasher
Yellow Tang Yellow Flopper
15w47aDaylight sensors no longer emit signal during the night when sufficiently shaded.
Inverted daylight sensors now emit a variable signal at night.
1.11
{{Extension DPL}}<ul><li>[[Raw Gold|Raw Gold]]<br/>{{Item
| image = Raw Gold.png
| renewable = No
| stackable = Yes (64)
}}
'''Raw gold''' is a raw metal resource obtained from mining [[gold ore]].

== Obtaining ==
=== Mining ===
[[Gold ore]] and [[deepslate gold ore]] mined with an [[iron pickaxe]] or higher drops 1 unit of raw gold. If the pickaxe is enchanted with [[Fortune]], it can drop an extra unit per level of Fortune, allowing for a maximum of 4 with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops the ore block instead.

=== Crafting ===
{{Crafting
|showname=1
|Block of Raw Gold
|Output=Raw Gold,9
|type=Material
|foot=1
}}

== Usage ==
The primary usage of raw gold is smelting it into [[gold ingot]]s.

=== Crafting ===
{{crafting usage|Raw Gold}}

=== Smelting ingredient ===
{{Smelting
|showname=2
|Raw Gold
|Gold Ingot
|1.0
}}

=== Piglins ===
{{EntityLink|Piglin|Piglins}} are attracted to raw gold. They run toward any raw gold on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.

== Advancements ==
{{load advancements|Oh Shiny}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Gold
|spritetype=item
|nameid=raw_gold
|form=item
|id=506
|foot=1}}

== History ==
{{History|java}}
{{History||1.17|snap=21w14a|[[File:Raw Gold JE1.png|32px]] Added raw gold.}}
{{History|||snap=April 13, 2021|slink={{Tweet|JasperBoerstra|1381991999952277513}}|[[File:Raw Gold JE2.png|32px]] [[JAPPA]] shows a new raw gold texture.}}
{{History|||snap=21w15a|[[File:Raw Gold JE2.png|32px]] The texture of raw gold has been changed.
|Raw gold can now be used to craft [[block of raw gold]].}}
{{History|||snap=April 16, 2021|slink={{Tweet|JasperBoerstra|1383047666037325829}}|[[File:Raw Gold (pre-release).png|32px]] [[JAPPA]] shows a new raw gold texture again.}}
{{History|||snap=21w16a|[[File:Raw Gold JE3.png|32px]] The texture of raw gold has been changed.}}

{{History|Bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Raw Gold JE2.png|32px]] Added raw gold.}}
{{History|||snap=beta 1.17.0.52|Raw gold are now available without enabling [[experimental gameplay]].}}
{{History|||snap=beta 1.17.0.54|[[File:Raw Gold JE3.png|32px]] The texture of raw gold has been changed.}}
{{History|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
JE 1.17 Dev Raw Metals.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 1.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 2.png|Jappa shows raw ore textures.
Jappa Raw Ores 3.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 4.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 5.jpg|Jappa shows raw ore textures.
</gallery>

{{Items}}

[[Category:Non-renewable resources]]

[[de:Rohgold]]
[[es:Oro en bruto]]
[[fr:Or brut]]
[[ja:金の原石]]
[[pl:Surowe złoto]]
[[pt:Ouro bruto]]
[[ru:Необработанное золото]]
[[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>
16w32aThe block entity ID has now been changed from DLDetector to daylight_detector.
1.13
{{Extension DPL}}<ul><li>[[Flint|Flint]]<br/>{{Item
| image = Flint.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}

'''Flint''' is a mineral obtained from [[gravel]].

== Obtaining ==
=== Mining ===
When a block of [[gravel]] is mined, there is a 10% chance for a single piece of flint to drop instead of the [[gravel]] block. When mined with a [[Fortune]]-enchanted tool, this chance increases to 16% at Fortune I, 25% at Fortune II, and 100% at Fortune III. Gravel mined using a tool with [[Silk Touch]] or gravel that fell on a non-solid block never produces flint.

=== Trading ===
Novice-level [[Trading#Fletcher|fletcher]] [[villager]]s have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to offer 10 pieces of flint for 10 blocks of gravel and an [[emerald]].

=== Chest loot ===

{{LootChestItem|flint}}

== Usage ==
=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===
Apprentice-level fletcher villagers buy 26 flint for an emerald.

Apprentice-level leatherworker villagers have a {{frac|2|3}} chance to buy 26 flint for an emerald {{in|java}}, and always offer the trade {{in|bedrock}}.

Journeyman-level toolsmith villagers have a {{frac|2|5}} chance to buy 30 flint for one emerald in ''Java Edition'', and always offer the trade in Bedrock Edition.

Journeyman-level weaponsmith villagers buy 24 flint for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Flint
|spritetype=item
|nameid=flint
|id=356
|form=item
|foot=1}}

== History ==
{{History|java indev}} 
{{History||20100219|[[File:Flint JE1 BE1.png|32px]] Added flint.
|Flint is now used to craft [[flint and steel]].}}
{{History|java alpha}}
{{History||v1.0.14|Crafting [[arrow]]s now requires flint, rather than [[iron ingot]]s.}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 4–5 flint for 1 [[emerald]] and 10 [[gravel]].}}
{{History|||snap=1.3|[[File:Flint JE2 BE2.png|32px]] The texture of flint has been slightly changed.}}
{{History||1.8|snap=14w02a|Fletcher [[villager]]s now sell 6–10 flint for 1 emerald and 10 gravel.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 318.}}
{{History||1.14|snap=18w43a|[[File:Flint JE3 BE3.png|32px]] The texture of flint has been changed.}}
{{History|||snap=18w50a|Flint can now be found in [[chest]]s in [[village]] fletcher houses.}}
{{History|||snap=19w11a|Fletcher, leatherworker, toolsmith and weaponsmith [[villager]]s now [[trading|buy]] flint.}}
{{History||1.16|snap=20w07a|Flint has a {{frac|10|109}} (~9.17%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 3–8, making it renewable.}}
{{History|||snap=20w09a|Flint can no longer be obtained by bartering with piglins. However, they are still renewable as piglins offer [[gravel]].}}
{{History|||snap=20w16a|Flint now generates in [[ruined portal]] chests.}}

{{History|pocket alpha}}
{{History||v0.3.3|[[File:Flint JE1 BE1.png|32px]] Added flint. 
|Flint can be used to craft [[arrow]]s.}}
{{History||v0.4.0|Flint can now be used to make [[flint and steel]].}}
{{History||v0.8.0|snap=build 1|[[File:Flint JE2 BE2.png|32px]] The texture of flint has been changed.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Fletcher [[villager]]s now [[trading|sell]] 6–10 flint for 1 [[emerald]] and 10 [[gravel]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Flint JE3 BE3.png|32px]] The texture of flint has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Flint can now be found in [[village]] fletcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has been changed, fletcher [[villager]]s now have a 50% chance to [[trading|sell]] 10 flint for 10 [[gravel]] and one [[emerald]] as part of their first tier trade.
|Flint can now be [[trading|sold]] to toolsmith, weaponsmith, fletcher, and leatherworker villagers.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Flint JE1 BE1.png|32px]] Added flint.}}
{{History||?|[[File:Flint JE2 BE2.png|32px]] The texture of flint has been changed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Flint JE3 BE3.png|32px]] The texture of flint has been changed.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
File:GodPortal.png|A piece of flint found in a [[ruined portal]] chest, together with an [[enchanted golden apple]].
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--flint Taking Inventory: Flint] – Minecraft.net on October 31, 2019

{{Items}}

[[Category:Renewable resources]]

[[cs:Pazourek]]
[[de:Feuerstein]]
[[es:Pedernal]]
[[fr:Silex]]
[[hu:Kovakő]]
[[it:Selce]]
[[ja:火打石]]
[[ko:부싯돌]]
[[nl:Vuursteen]]
[[pl:Krzemień]]
[[pt:Sílex]]
[[ru:Кремень]]
[[th:หินเหล็กไฟ]]
[[uk:Кремінь]]
[[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>
17w47a"Daylight Sensor" has been renamed to "Daylight Detector".
The different block IDs for the daylight detector have now been merged into one ID.
Added an inverted block state to daylight detectors.
Prior to The Flattening, these blocks' numeral IDs were 151 and 178.
Pocket Edition Alpha
v0.13.0
{{Extension DPL}}<ul><li>[[Raw Mutton|Raw Mutton]]<br/>{{Distinguish|Cooked Mutton}}
{{Item
| title = Raw Mutton
| image = Raw Mutton.png
| heals = {{hunger|2}}
| renewable = Yes
| stackable = Yes (64)
}}
'''Raw mutton''' is a [[food]] item dropped by [[sheep]] when killed.

== Obtaining ==

=== Mob loot ===

An adult [[sheep]] drops 1–2 raw mutton when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–5 with Looting III. If killed while on fire, a sheep drops [[cooked mutton]] instead.

=== Chest loot ===

{{LootChestItem|raw-mutton}}

== Usage ==

=== Food ===

To eat raw mutton, press and hold {{control|use}} while it is selected in the [[hotbar]]. Eating one restores {{hunger|2}} [[hunger]] and 1.2 [[Hunger#Mechanics|saturation]].

=== Smelting ingredient ===

{{Smelting
  |showname=1
  |Raw Mutton
  |Cooked Mutton
|0.35
}}

=== Wolves ===

Raw mutton 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.

=== Trading ===

Journeyman-level butcher [[villager]]s have a 50% chance to buy 7 raw mutton for an [[emerald]] as part of their trades.{{only|bedrock}}

Journeyman-level butcher villagers always offer to buy 7 raw mutton for an emerald.{{only|java}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Mutton
|spritetype=item
|nameid=mutton
|aliasid=muttonraw
|id=550
|form=item
|translationkey=item.muttonRaw.name
|foot=1}}

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

== Video ==

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

== History ==

{{History||September 23, 2011|link={{tweet|jeb|117313469900009472}}|Mutton is mentioned by [[Jeb]].}}
{{History||September 11, 2012|link={{tweet|jeb|245503714167750656}}|Jeb again mentions the possibility of mutton as well as calamari being added into the game.}}
{{History|java}}
{{History||June 30, 2014|link=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweets images of raw mutton and some other new items.}}
{{History||1.8|snap=14w27a|[[File:Raw Mutton JE1.png|32px]] Added raw mutton.}}
{{History||1.8|snap=14w33b|[[File:Raw Mutton JE2 BE1.png|32px]] The texture of raw mutton 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 423.}}
{{History||1.14|snap=18w43a|[[File:Raw Mutton JE3 BE2.png|32px]] The texture of raw mutton has been changed.}}
{{History|||snap=18w49a|Raw mutton can now be found in [[chest]]s in [[village]] butcher shops.}}
{{History|||snap=19w11a|Butcher villagers now [[trading|buy]] raw mutton.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Raw Mutton JE2 BE1.png|32px]] Added raw mutton.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Mutton JE3 BE2.png|32px]] The texture of raw mutton has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Raw mutton can now be found in [[village]] butcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Raw mutton can now be [[trading|sold]] to butcher [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed; journeyman butcher villagers now buy 7 raw mutton for an emerald instead of 8.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of raw mutton has been changed from <code>muttonraw</code> to <code>mutton</code>.}}
{{History||1.16.210|snap=beta 1.16.210.51|Raw mutton is [[drops|dropped]] by [[goats]].}}
{{History||1.17.0|snap=beta 1.17.0.52|Goats no longer drop raw mutton.}}

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

{{History|3ds}}
{{History||0.1.0|[[File:Raw Mutton JE2 BE1.png|32px]] Added raw mutton.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
Rabbit Items 3 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
Pocket Edition Mutton.jpg|First image of the item in ''Bedrock Edition'' by [[Jason Major]].
</gallery>

== References ==
{{reflist}}

{{items}}

[[de:Rohes Hammelfleisch]]
[[es:Cordero crudo]]
[[fr:Mouton cru]]
[[ja:生の羊肉]]
[[ko:익히지 않은 양고기]]
[[nl:Rauw schapenvlees]]
[[pl:Surowa baranina]]
[[pt:Carneiro cru]]
[[ru:Сырая баранина]]
[[zh:生羊肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Explorer Map|Explorer Map]]<br/>{{about|the map used to find rare structures|the craftable map|Map|others|Map (disambiguation)}}{{Needs updating|Add info on the new jungle, swamp, and village maps in Java 1.20.2 Pre-Release 1}}{{Item
| image = <gallery>
Ocean Explorer Map.png | Ocean
Woodland Explorer Map.png | Woodland
Buried Treasure Map.png | Buried Treasure
</gallery>
|image2 = <gallery>
Ocean Explorer Map BE.png | Ocean (BE)
Woodland Explorer Map BE.png | Woodland (BE)
Buried Treasure Map BE.png | Buried in Treasure (BE)
</gallery>
| renewable = 
* '''Buried Treasure''': No
* '''Woodland and Ocean''': Yes
| stackable = Yes (64)
}}
An '''explorer map''' is a special [[map]] used to aid in finding rare [[generated structures]], including [[woodland mansion]]s, [[ocean monument]]s, and [[buried treasure]]s.

== Obtaining ==
=== Trading ===
Apprentice-level [[cartographer]] villagers sell ocean explorer maps for 13 emeralds and a compass. Journeyman-level cartographer villagers sell woodland explorer maps for 14 emeralds and a compass.

{{IN|java}}, if the cartographer is in [[the Nether]] or [[the End]], either spawned or transported, the trades for the map do not unlock. However, {{in|bedrock}}, the cartographer trades for the map are unlocked, but the purchased map shows the same layout as in the corresponding dimension and shows no destination structure, but if cartographer trades are unlocked in an old world type (prior-1.11.0), the game stops ticking.

In ''Java Edition'', each cartographer sells its own unique explorer map that points to a different location than other cartographers. Purchasing another explorer map from the same cartographer results in the same explorer map. In Bedrock Edition, a cartographer sells an explorer map that points to the nearest location, regardless of whether it is explored or previously mapped by another cartographer.<!-- start to glitched out-->

=== Chest loot ===
Treasure maps, in contrast to explorer maps, generate in underwater ruins or in shipwrecks.
{{LootChestItem|buried-treasure-map}}

== Usage ==
[[File:Explorer Map Comparison.gif|thumb|217px|Unexplored and partially explored maps.]]

{{See also|Map#Mapping|Map#Map content}}

=== Locating structures ===
There are three types of explorer maps: woodland, [[ocean]], and buried treasure. The maps differ from a normal map, in that it shows the area's land-water outline, with an orange striated (striped) texture for water<ref>Specifically, biomes in the "water_on_map_outlines" [[Tag#Biomes|biome tag]].</ref>, and the blank map texture for land. The maps show a section of land that contains a [[woodland mansion]], [[monument]] or [[buried treasure]] respectively. This may not be the nearest such [[structure]] to the [[player]]. The structures are displayed as a small icon. If the player icon is smaller than it would be on a normal map, that means the player is a great distance away. When the player is less than 1027 blocks away from the map border, the icon returns to the proper size. When the player reaches the map's area of land (512×512), the [[map]] fills in like a normal map.

The basic functions of a buried treasure explorer map are similar to that of the other two. However, instead of showing the structure icon on the map, it shows a red X instead. The [[buried treasure]] structure is located on the same X and Z coordinates as the middle of the X (the player marker may need to be aligned with the bottom of the middle 2×2 pixel square of the X). To locate the [[chest]] spot, hold the treasure map with both hands, not in the offhand slot.

=== Cloning ===
{{Crafting
|showdescription=1
|shapeless=1
|name=[[Explorer Map]]<br>(cloned)
|;;;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map 
|;;;;Empty Map;Empty Map;Empty Map;Empty Map
|;;;;;Empty Map;Empty Map;Empty Map
|Ocean Explorer Map; Woodland Explorer Map; Buried Treasure Map; Ocean Explorer Map; Woodland Explorer Map; Buried Treasure Map; Ocean Explorer Map; Woodland Explorer Map
|Empty Map
|;;;;;;Empty Map;Empty Map 
|;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map 
|;;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map;Empty Map
|;;;;;;;Empty Map
|Output= Ocean Explorer Map,2; Woodland Explorer Map,3; Buried Treasure Map,4; Ocean Explorer Map,5; Woodland Explorer Map,6; Buried Treasure Map,7; Ocean Explorer Map,8; Woodland Explorer Map,9
|type= Miscellaneous
|description=The output has the same map center as the input map, and the same [[monument]], [[woodland mansion]] or [[buried treasure]] marker. Cloned maps are stackable.
}}

The parts of the world that have already been explored and mapped are copied, and newly explored areas appear on both instances. In Creative mode, cloned explorer maps can be obtained by pick blocking on the explorer map displayed on [[item frames]] (the map needs to be out of the [[player]]'s inventory when using pick block, or else that map moves into the active hotbar slot).

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Drawmap1.ogg
|sound2=Drawmap2.ogg
|sound3=Drawmap3.ogg
|subtitle=Map drawn
|source=block
|description=When an explorer map is edited using a cartography table
|id=ui.cartography_table.take_result
|translationkey=subtitles.ui.cartography_table.take_result
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}: ''None''

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Map
|spritetype=item
|nameid=filled_map
|form=item
|translationkey=filled_map.mansion,filled_map.ocean,filled_map.buried_treasure
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Map
|spritetype=item
|nameid=filled_map
|aliasid=map
|id=358
|form=item
|translationkey=item.map.exploration.monument.name,item.map.exploration.mansion.name,item.map.exploration.treasure.name
|foot=1}}

=== Metadata ===
{{see also|Bedrock Edition data values}}
{{IN|bedrock}}, the item [[Data value]] distinguishes explorer maps from one another:

{{:Map/DV}}

=== Item data ===
An explorer map differs from a map in that its <code>display</code> tag is set, which includes a <code>Mapcolor</code> and a <code>LocName</code>; also its <code>Decorations</code> list includes an entry for its target monument, mansion or buried treasure. Its [[Map item format#map_<#>.dat format|map item entry]] is identical to that of a normal map, except that by the time the player sees it, its <code>colors</code> byte array is pre-filled with explorer maps' characteristic land-water boundary lines and water shading.

<div class="treeview">
It should be noted that this additional data is stored in the Cartographer's NBT data and in the inventory item's NBT data, and not in the map file (e.g. <samp>map_0.dat</samp>). If the [[player]] were to use the {{cmd|give}} command to give themselves a map with the same map ID as an existing explorer map, it would still have the Ocean Monument or the Woodland Mansion icon on the map, but it would simply be named "Map" instead of, for example, "Ocean Explorer Map".
* {{nbt|compound}} Item data
** {{nbt|compound|tag}}: 
*** {{nbt|compound|display}}: How the map looks in an item slot. See also [[Player.dat_format#Display Properties]].
**** {{nbt|string|Name}}: The name the map is given. In this case, they are localized strings: either <code>{"translate":"filled_map.monument"}</code>,<code>{"translate":"filled_map.mansion"}</code> or <code>{"translate":"filled_map.buried_treasure"}</code>.
**** {{nbt|int|MapColor}}: Color codes are calculated from the Red, Green and Blue components using this formula:<br>'''<span style="color:red">Red</span>[[wikipedia:Logical shift|<<]]16 + <span style="color:green">Green</span><<8 + <span style="color:blue">Blue</span>'''.<ref group=note>For positive values larger than 0x00FFFFFF, the top byte is ignored. All negative values produce white.</ref> Monument maps use 3830373, which is {{color swatch|58|114|101}}. Mansion maps use 5393476, which is {{color swatch|82|76|68}}. Buried treasure explorer maps do not use a color code.
*** {{nbt|list|Decorations}}:
**** {{nbt|compound}}: One of these for each icon on the map. Explorer maps always have at least one representing their target.
***** {{nbt|string|id}}: An arbitrary unique string identifying the decoration. For explorer map target structures, this is "+".
***** {{nbt|double|rot}}: The rotation of the icon. For explorer map target structures, this is always 180.
***** {{nbt|byte|type}}: The ID of the [[Map#Map icons|map icon]]: 8 for a mansion map, 9 for a monument map, 26 for a treasure map.
***** {{nbt|double|x}}: The world x-coordinate of the target structure icon.
***** {{nbt|double|z}}: The world z-coordinate of the target structure icon.
</div>
; Notes
{{notelist}}

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

== History ==
{{History|java}}
{{History||1.11|snap=16w39a|[[File:Woodland Explorer Map JE1 BE1.png|32px]] [[File:Ocean Explorer Map JE1 BE1.png|32px]] Added woodland and ocean explorer maps.}}
{{History|||snap=16w41a|Explorer maps can now no longer be zoomed out.}}
{{History||1.13|snap=18w10a|[[File:Map (item) JE1 BE1.png|32px]] Added buried treasure explorer maps.}}
{{History|||snap=18w11a|Buried treasure explorer maps now generate in the [[chest]]s of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Woodland Explorer Map JE2 BE2.png|32px]] [[File:Ocean Explorer Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures for explorer maps have now been changed.}}
{{History||1.20.2|snap=1.20.2 Pre-release 1|Updated structure icons on explorer maps sold by cartographers.}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=1.20.2 Pre-release 1|Added seven new maps which cartographers can sell.}}

{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|[[File:Woodland Explorer Map JE1 BE1.png|32px]] [[File:Ocean Explorer Map JE1 BE1.png|32px]] Added explorer maps.<ref>{{Mcnet|discovery-update-pocket-and-win-10-soon|The Discovery Update: on Pocket and Win 10 soon|March 29, 2017}}</ref>
|Explorer maps are not yet obtainable in [[survival]] mode.}}
{{History|||snap=alpha 1.1.0.3|Explorer maps are now obtainable as [[trading|trades]] from [[cartographer]] [[villager]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[File:Map (item) JE1 BE1.png|32px]] Added buried treasure explorer maps.}}
{{History|||snap=beta 1.2.20.1|Treasure maps now generate in [[underwater ruins]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Woodland Explorer Map JE2 BE2.png|32px]] [[File:Ocean Explorer Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures for explorer maps have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, woodland and ocean explorer maps now cost a [[compass]] and 12 [[emerald]]s.
|Journeyman-level [[cartographer]] [[villager]]s no longer [[trading|sell]] 2 type of explorer map as they now have {{frac|1|3}} chance to sell woodland explorer maps, {{frac|1|3}} chance to sell ocean explorer maps, or {{frac|1|3}} chance to sell other [[item]]s<!-- empty locator map--> as part of their [[trading|trades]].
|Woodland explorer maps can now be [[trading|bought]] from fletcher [[villager]]s.}}
{{History||1.12.0|snap=beta 1.12.0.3|Journeyman-level fletcher villagers no longer [[trading|sell]] woodland explorer maps.}}
{{History||1.13.0|snap=beta 1.13.0.1|[[File:Woodland Explorer Map BE3.png|32px]] [[File:Ocean Explorer Map BE3.png|32px]] [[File:Buried Treasure Map BE3.png|32px]] The textures of explorer maps have now been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of maps has been changed from <code>map</code> to <code>filled_map</code>.}}

{{History|console}}
{{History||xbox=TU54|xbone=CU44|ps=1.52|wiiu=Patch 24|switch=1.0.4|[[File:Woodland Explorer Map JE1 BE1.png|32px]] [[File:Ocean Explorer Map JE1 BE1.png|32px]] Added explorer maps.}}
{{History|PS4}}
{{History||1.90|[[File:Woodland Explorer Map JE2 BE2.png|32px]] [[File:Ocean Explorer Map JE2 BE2.png|32px]] The textures for explorer maps have now been changed.}}

{{History|new3ds}}
{{History||1.9.19|[[File:Woodland Explorer Map JE1 BE1.png|32px]] [[File:Ocean Explorer Map JE1 BE1.png|32px]] Added explorer maps.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* When a [[cartographer]] generates the trade offers for the explorer maps, it chooses the location of one of the nearest structures of the respective type ([[monument]] or [[woodland mansion]]).
* For the reason above, explorer maps obtained from one cartographer are always the same. Also, if two cartographers unlock the explorer map trades approximately at the same place and at the same time, the map locations are usually identical. This sometimes also happens when finding multiple treasure maps from [[ocean ruins]].
* Explorer maps fill as the [[chunk]]s are generated, rather than when the [[player]] holds them while in the area; leaving an explorer map while exploring the area still fills the map.
* Buried treasure explorer maps are named ''Buried Treasure Map'' {{in|java}} while {{in|bedrock}}, they are named ''Treasure Map''.
* It is possible for a cartographer to give a monument or woodland mansion explorer map for areas where the [[generated structures|structures]] would have spawned in the world, but were unable to as a result of terrain generation. As a result, explorer maps, unfortunately, don't always guarantee that a structure exists at the purported location. This is most common with woodland mansion explorer maps, due to its generation algorithm.
* On [[Bedrock Edition]], inventory editors and add-ons can be used to create Explorer Maps that lead to any structure.

== Gallery ==
<gallery>
File:Explorer Maps.png|An ocean explorer map in the [[off-hand]], a woodland explorer map in the main hand, and a [[cartographer]] [[villager]] in between them.
File:Partial Explorer Map.png|A partially-explored explorer map.
File:ExplorerToNormal Map Comparison.png|Two fully-explored maps of the same place, one of which is a woodland explorer map.
File:Buried Treasure Explorer Map.png|An [[item frame]] holding a buried treasure explorer map. The player can see the red X on the left side of the map.
File:Purchase.png|Purchasing explorer maps from a cartographer.
</gallery>

== See also ==
* [[Map]]
* [[Woodland Mansion]]
* [[Ocean Monument]]
* [[Shipwreck]]
* [[Buried treasure]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--explorer-map Taking Inventory: Explorer Map] – Minecraft.net on November 13, 2019

{{Items}}

[[de:Schatzkarte]]
[[es:Mapa (localización de estructura)]]
[[fr:Carte d'exploration]]
[[ja:探検家の地図]]
[[ko:탐험 지도]]
[[pl:Mapa eksploracyjna]]
[[pt:Mapa de exploração]]
[[ru:Карта сокровищ]]
[[zh:探险家地图]]</li></ul>
build 1Daylight Detector JE1 BE1 Inverted Daylight Detector JE1 BE1 Added daylight sensors.
v0.15.0
{{Extension DPL}}<ul><li>[[Cooked Mutton|Cooked Mutton]]<br/>{{Item
| title = Cooked Mutton
| heals = {{hunger|6}}
| renewable = Yes
| stackable = Yes (64)
| rarity = Common}}
{{redirect|Mutton|the raw version|Raw Mutton}}
'''Cooked mutton''' is a [[food]] item obtained from cooking [[raw mutton]].

== Obtaining ==

=== Mob loot ===

==== Sheep ====
Adult [[sheep]] drop 1–2 cooked mutton if killed while on fire. The maximum amount is increased by 1 per level of [[looting]], for a maximum of 1-5 with Looting III.

=== Cooking ===
Cooked mutton can be obtained by cooking raw mutton in a [[furnace]], [[smoker]], or [[campfire]].

{{Smelting
  |showname=1
  |Raw Mutton
  |Cooked Mutton
  |0,35
}}

=== Trading ===
{{IN|bedrock}}, apprentice-level butcher [[villager]]s have a 25% chance to sell 4 cooked mutton for one [[emerald]] as part of their trades.

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

== Usage ==

=== Food ===
To eat cooked mutton, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} [[hunger]] and 9.6 [[Hunger#Mechanics|saturation]], the same as [[cooked salmon]].

=== Wolves ===
Cooked mutton 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 Mutton
|spritetype=item
|nameid=cooked_mutton
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Mutton
|spritetype=item
|nameid=cooked_mutton
|aliasid=muttoncooked
|id=551
|form=item
|translationkey=item.muttonCooked.name
|foot=1}}

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

== Video ==

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

== History ==

{{History|java}}
{{History||1.8|snap=June 30, 2014|slink=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweeted images of cooked mutton and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Cooked Mutton JE1.png|32px]] Added cooked mutton.}}
{{History|||snap=14w33b|[[File:Cooked Mutton JE2 BE1.png|32px]] The texture of raw mutton 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>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 424.}}
{{History||1.14|snap=18w43a|[[File:Cooked Mutton JE3 BE2.png|32px]] The texture of cooked mutton has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked mutton to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Cooked Mutton JE2 BE1.png|32px]] Added cooked mutton.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Mutton JE3 BE2.png|32px]] The texture of cooked mutton has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked mutton can now be [[trading|bought]] from butcher [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cooked mutton has been changed from <code>muttoncooked</code> to <code>cooked_mutton</code>.}}

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

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

== Issues ==

{{issue list}}

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

== References ==

{{reflist}}

{{items}}

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

[[de:Gebratenes Hammelfleisch]]
[[es:Cordero asado]]
[[fr:Mouton cuit]]
[[it:Carne ovina cotta]]
[[ja:焼き羊肉]]
[[ko:익힌 양고기]]
[[nl:Gebraden schapenvlees]]
[[pl:Pieczona baranina]]
[[pt:Carneiro assado]]
[[ru:Жареная баранина]]
[[zh:熟羊肉]]</li><li>[[:Category:Dyes|Category:Dyes]]<br/>These are items that can be used to dye sheep, wool blocks, or combined to make other dyes.

[[Category:Items]]

[[es:Categoría:Tintes]]
[[fr:Catégorie:Teinture]]
[[hu:Kategória:Festékek]]
[[zh:Category:染料]]</li></ul>
build 1Daylight sensors can now be moved by pistons.
Legacy Console Edition
TU19CU7 1.12 Patch 1Daylight Detector JE1 BE1 Added daylight sensors.
TU25CU14 1.17 Inverted Daylight Detector JE1 BE1 Daylight sensors can now be toggled between day and night by using them.
New Nintendo 3DS Edition
0.1.0
{{Extension DPL}}<ul><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><li>[[Sugar|Sugar]]<br/>{{Item
| image = Sugar.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Sugar''' is a [[food]] ingredient and [[brewing]] ingredient made from [[sugar canes]].

== Obtaining ==

=== Mob loot ===

[[Witch]]es have a chance of dropping 0–2 sugar upon death. This is increased by 1 per level of [[Looting]], for a maximum of 0–5 sugar.

=== Crafting ===
{{Crafting
 |head= 1
 |Sugar Cane
 |Output= Sugar
 |type= Material

}}
{{Crafting
 |Honey Bottle
 |Output= Sugar, 3
 |type= Material
 |foot= 1
}}

=== Compound creation ===

Sugar can be created from its base [[element]]s, using the [[compound creator]].{{only|bedrock|education}}

{| class="wikitable"
!Name
!Elements
!Example recipe
|- <!-- Temporarily using crafting grid as a substitute for the compound creator (template not yet available), since the layout is the same, even if the appearance is different -->
!Sugar
|6 Carbon<br>12 Hydrogen<br>6 Oxygen
|{{Crafting Table
|shapeless= 1
|A2=Carbon,6 |B2=Hydrogen,12 |C2=Oxygen,6
|Output=Sugar}}
|}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Brewing ingredient ===

{{Brewing
  |head=1
  |Sugar
  |Mundane Potion
  |base=Water Bottle
}}
{{brewing
  |foot=1
  |showname=1
  |Sugar
  |Potion of Swiftness
}}

=== Horses ===

Sugar can be fed to [[horse]]s to heal {{hp|1}}, speed growth by 30 seconds, and increase taming probability by 3%.

== Achievements ==
{{load achievements|The Lie}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|notshowbeitemforms=y
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Sugar
|spritetype=item
|nameid=sugar
|id=416
|form=item
|foot=1}}

== Video ==

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

== History ==

{{History|java beta}}
{{History||1.2|[[File:Sugar JE1 BE1.png|32px]] Sugar has been introduced as an ingredient for [[cake]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Sugar is now used to craft [[fermented spider eye]]s.}}
{{History|||snap=Beta 1.9 Prerelease 3|Sugar can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Swiftness]].}}
{{History||1.4.2|snap=12w37a|Sugar is now used to make [[pumpkin pie]].}}
{{History|||snap=12w38b|[[Witch]]es can now [[drops|drop]] sugar.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 353.}}
{{History||1.14|snap=18w43a|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}
{{History||1.15|snap=19w34a|Sugar can now can be created using 1 [[honey bottle]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Sugar JE1 BE1.png|32px]] Added sugar. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.0|Sugar is now [[craft]]able using [[sugar cane]].}}
{{History||v0.7.0|Sugar is now used to craft [[cake]].}}
{{History||v0.8.0|snap=build 1|Sugar is now used to craft [[pumpkin pie]].}}
{{History||v0.12.1|snap=build 1|Sugar has been added to the [[creative]] [[inventory]].|Sugar is now used to craft [[fermented spider eye]]s.
|Sugar can now be used for [[brewing]], to get mundane [[potion]]s and potions of [[Swiftness]].}}
{{History||v0.14.0|snap=build 1|Added [[witch]]es, which can [[drops|drop]] sugar upon [[death]].}}
{{History||v0.15.0|snap=build 1|Sugar can now be used to feed [[horse]]s, which can increase their temper, heal them, and speed up the growth of foals.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|Sugar can now be created using 6 Carbon, 12 Hydrogen, and 6 Oxygen in the [[compound creator]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}
{{History||1.14.0|snap=beta 1.14.0.1|Sugar can now be created using 1 [[honey bottle]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Sugar JE1 BE1.png|32px]] Added sugar.
|Sugar is used to craft [[cake]].}}
{{History||xbox=TU7|Sugar is now used to craft [[fermented spider eye]]s.|Sugar can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Swiftness]].}}
{{History||xbox=TU14|ps=1.04|Sugar is now used to make [[pumpkin pie]].}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[Witch]]es can now [[drops|drop]] sugar.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Sugar JE2 BE2.png|32px]] The texture of sugar has been changed.}}

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

== Issues ==
{{issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--sugar Taking Inventory: Sugar] – Minecraft.net on January 27, 2022

{{Items}}

[[cs:Cukr]]
[[de:Zucker]]
[[es:Azúcar]]
[[fr:Sucre]]
[[hu:Cukor]]
[[it:Zucchero]]
[[ja:砂糖]]
[[ko:설탕]]
[[nl:Suiker]]
[[pl:Cukier]]
[[pt:Açúcar]]
[[ru:Сахар]]
[[th:น้ำตาล]]
[[uk:Цукор]]
[[zh:糖]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li></ul>
Daylight Detector JE1 BE1 Inverted Daylight Detector JE1 BE1 Added daylight detectors.

Gallery

Issues

Issues relating to "Daylight Sensor" or "Daylight Detector" are maintained on the bug tracker. Report issues there.

Notes

  1. Known as Daylight Detector in Java Edition and Daylight Sensor in Bedrock Edition.

References