Minecraft Wiki
Advertisement
This article is about the customizable border. For the physical edge of the playable world, see World boundary. For the phenomenon that existed before Beta 1.8, see Far Lands. For the command, see Commands/worldborder.
Not to be confused with Border.
Information icon
This feature is exclusive to Java Edition. 

The world border is the current edge of a Minecraft dimension.

Appearance[]

Minecraft world border

The world border from the outside using the /tp command.

The world border appears as a series of animated, diagonal, narrow stripes.

The world border is tinted depending on how and if its size is changing. By default, when the border is not changing, the stripes are a translucent aqua color. If the border is expanding, the stripes appear green; if the border is shrinking, they appear red.

The world border appears different depending on the current graphics setting, which is very likely not intended;[1] on Fast and Fancy it appears as light and translucent, but on Fabulous! it appears considerably darker.

Size[]

The world border is essentially a giant bounding box; by default, its center lies at coordinates above Y: 255.

With commands, the size and position of the border can be modified. The world border always behaves in full block increments, even if it is set to a partial block. Its size and location remain the same across all dimensions.


Effects[]

On entities[]

Most entities, with exception to some projectiles, are unable to move through the world border.

If a dispenser or dropper is placed so that it directly faces the edge of the border, then items, projectiles, TNT, etc. can be fired outside of the edge of the border. Any items fired out of a dispenser float in midair; if an item is dropped from the player inventory, the item falls normally.

If a mob is spawned from a dispenser via a spawn egg, the mob behaves normally. Spiders can climb the world border, and endermen can teleport outside of it.

Any players on the outside of the world border (with exception to those in Creative or Spectator mode) take constant damage as long as they are outside the border. The amount of damage depends on the distance to the border.

While players themselves cannot move through the world border, even if they manage to go ahead of chunk loading, they can reach the other side of the world border through other means, including:

  • Letting the world border pass them as it is shrinking
  • Throwing an ender pearl through the world border
  • Consuming chorus fruit near the world border and being teleported beyond it.
  • Dying and respawning, if the spawn point is outside the world border

Entities cannot spawn naturally outside the world border. They persist without taking damage if they spawned before the world border gets shrunk by a command.

On blocks[]

Players cannot normally place and destroy blocks, nor interact with objects outside of the world border, as there are no hitboxes. It is possible to place blocks outside of the world border, either by placing the block against one that is inside the world border or by using commands.

Most blocks still function outside the world border, and most redstone contraptions still function as well. Exceptions include falling blocks (such as sand and gravel), which drop as an item, and pistons or hoppers, which simply don't function. Explosions from TNT and other sources also work normally, destroying terrain outside of the border. Light from torches and other sources also remain unaffected.

Liquids flow through border

Liquids flow through the world border, so long as they are placed inside the border.

Liquids can flow through the border and continue flowing until reaching their flow limit. Liquids cannot be placed on the outside of the border.[2] Liquids placed via a dispenser flow as normal. Mixing water and lava with a dispenser results in the flow of each liquid abruptly ending, presumably because the stone, cobblestone, or obsidian that would normally generate does not.

When set to invalid values[]

The world border size can be changed by manually editing the level.dat file. In any case, there remains a world boundary at 30 million blocks on both the X and Z axes.

  • When set to 0 or a negative number, the entire world is treated as outside the world border, and the border warning overlay appears throughout the world. No blocks can be mined and entities take damage unless they are within the border safe zone.
  • When set to NaN, the entire world is treated as outside the world border, but no border warning appears. No blocks can be mined, even in Creative mode, although entities do not take damage.
  • When set to infinity, the border occurs normally.

Commands[]

Main article: Commands/worldborder
Set
/worldborder set <sizeInBlocks> [timeInSeconds]
Sets the border to a square region with the specified size in blocks as the width and length. Optionally, a timeInSeconds may be specified such that the border grows or shrinks from the previous width to that being set over the specified time in seconds. If timeInSeconds is not specified, the world border changes immediately. To reset the world border size, set sizeInBlocks to 59,999,968. The border still grows or shrinks and the animation displays even if the game is paused.
Center
/worldborder center <x> <z>
Sets the center of the area inside the world border to the specified <x> and <z> coordinates. Tilde (~) can be used as a relative coordinate. To reset the world border center, set both <x> and <z> to 0 (zero).
Add
/worldborder add <sizeInBlocks> [timeInSeconds]
Adds or subtracts sizeInBlocks to/from the current world border width and length. sizeInBlocks may be a positive or negative number. Optionally, a timeInSeconds may be specified such that the border grows or shrinks from the current width to that being set over the specified time in seconds.
Damage
/worldborder damage buffer <sizeInBlocks>
Sets the number of blocks a player may safely be outside the world border before taking damage. The default is 5 blocks.
/worldborder damage amount <damagePerBlock>
Sets the amount of damage a player takes when outside the world border plus the world border buffer. The default is 0.2 damage per second per block.
Warning
/worldborder warning time <timeInSeconds>
Causes the screen to be tinted red when a contracting world border reaches the player within the specified time. The default is 15 seconds. The tint does not display if the user is using fast graphics.
/worldborder warning distance <sizeInBlocks>
Causes the screen to be tinted red when the player is within the specified number of blocks from the world border. The default is 5 blocks. The tint does not display if the user is using fast graphics.
Get
/worldborder get
Returns the current width of the world border.

Data values[]

World data[]

Java Edition:

  • level.dat
    •  Data
      •  BorderCenterX: center of the world border (X-axis)
      •  BorderCenterZ: center of the world border (Z-axis)
      •  BorderDamagePerBlock: damage taken per block moved outside the world border
      •  BorderSafeZone: distance in blocks of the buffer zone where damage is not taken when outside the world border
      •  BorderSize: world border diameter
      •  BorderSizeLerpTarget:[more information needed]
      •  BorderSizeLerpTime:[more information needed]
      •  BorderWarningBlocks: maximum distance away from the border where the border warning overlay appears on the player
      •  BorderWarningTime: time in seconds[verify] until the border warning overlay appears

History[]

Java Edition
1.8
{{Extension DPL}}<ul><li>[[Key|Key]]<br/>{{About|the joke item|the golem|Key Golem|in-game control keys|Controls}}
{{Exclusive|Java}}
{{Joke feature}}
{{Item
| image = <gallery>
Red Key.gif | Red
Yellow Key.gif | Yellow
Blue Key.gif | Blue
</gallery>
| renewable = 
* Blue: No
* Red, Yellow: Yes
| stackable = No
}}

'''Keys''' were a joke item from [[Java Edition 3D Shareware v1.34]].
There are three different keys: '''red''', '''yellow''', and '''blue'''.

== Obtaining ==

=== Mobs ===
The red key was dropped by the [[wither]], the yellow key was dropped by [[ravager]]s, and the blue key was dropped by the [[elder guardian]].

=== Cheat codes ===
These keys were also obtainable by using the cheat code "IDKFA" when typing in chat.

=== Natural generation ===
{{LootChestItem|red-key,yellow-key,blue-key}}

== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Red Key
|spritetype=item
|nameid=red_key
|form=item}}
{{ID table
|displayname=Yellow Key
|spritetype=item
|nameid=yellow_key
|form=item}}
{{ID table
|displayname=Blue Key
|spritetype=item
|nameid=blue_key
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||3D Shareware v1.34|[[File:Red Key.gif|32px]] [[File:Yellow Key.gif|32px]] [[File:Blue Key.gif|32px]] Added red, yellow, and blue keys.}}
{{History|foot}}

== Trivia ==
*[[File:Green Key.png|32px]] A key with a similar appearance is present in ''The Europa Arcology Incident'', a game made by [[Notch]] in 2009.

{{Items}}
{{Jokes}}

[[Category:Joke items]]

[[pt:Chave]]</li><li>[[Cocoa Beans|Cocoa Beans]]<br/>{{Block
|image=<gallery>
Cocoa Age 0.png|Age 0 JE
Cocoa Age 1.png|Age 1 JE
Cocoa Age 2.png|Age 2 JE
</gallery>
|image2=<gallery>
Cocoa Age 0 BE.png|Age 0 BE
Cocoa Age 1 BE.png|Age 1 BE
Cocoa Age 2 BE.png|Age 2 BE
</gallery>
|transparent=Yes
|light=No
|tool=axe
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}} '''Cocoa beans''' are items obtained from cocoa pods and are used to plant them, as well as to craft [[dye|brown dye]] and [[cookie|cookies]].

'''Cocoa pods''' are [[Bone Meal|bonemealable]] [[plant]]s placed on [[Log|jungle log]] sides that grow cocoa beans, and can be found naturally in [[Jungle|jungles]].

==Obtaining==
In ''Java Edition'', cocoa beans are only obtained through the natural generation of cocoa pods, while in ''Bedrock Edition'', they can also be gotten in bonus chests, from [[fishing]] inside the jungle, bamboo jungle and sparse jungle biomes and during a [[trading]] with a wandering trader.

Cocoa beans come from cocoa pods, which are found on the trunks of normal-sized naturally-generated [[jungle tree]]s in [[jungle]], [[bamboo jungle]]s and [[sparse jungle]] temperate [[biome]]s.

Cocoa pods can be mined with any item, but [[axe]]s are the quickest. Fully grown cocoa pods drop 3 cocoa beans. Using a tool enchanted with Fortune does not increase the amount of cocoa beans dropped.
{{breaking row|horizontal=1|Cocoa|Axe|sword=1|link=none}}
The block itself can be obtained by inventory editing or [[add-on]]s {{in|bedrock}}.

From one to two cocoa beans can be found in 40% of bonus [[chest]]s {{in|bedrock}}.
{{LootChestItem|cocoa-beans}}

Cocoa beans can be obtained from [[fishing]] in a jungle {{in|bedrock}}.

[[Wandering trader]]s may sell 3 cocoa beans for an [[emerald]] during a [[trading]] {{in|bedrock}}.

==Usage==
===Farming===
{{main|Tutorials/Cocoa bean farming}}
Placing cocoa beans on the side of a jungle [[log]] plants a new cocoa pod. The log does not need to be attached to a tree. A cocoa pod can be placed on jungle logs, jungle [[wood]], stripped jungle logs and stripped jungle wood.
[[File:Cocoaplant farm.png|thumb|left|A somewhat efficient cocoa pod farm, minimizing space and wood use.]]
Cocoa has three stages of growth. During its first stage, the pod is small and green. In the second stage, the plant is bigger and colored tan. In its last stage, the pod is even larger and orange. The cocoa block has a 20% chance to grow a stage when receiving a [[Tick#Random tick|random tick]], giving it an average time of 5 minutes and 41 seconds per stage. When destroyed in the first two stages, the pod yields only one cocoa bean. When destroyed in the third stage, it gives 3 cocoa beans. [[Bone meal]] can be used to force the cocoa pod forward by one growth stage. Cocoa pods burst and drop their beans when struck by flowing water, pushed by a piston or if their [[log]] or wood are removed by any means.

===Composting===
Placing cocoa beans into a [[composter]] has a 65% chance of raising the compost level by 1. {{IN|bedrock}}, cocoa beans are accepted as a direct substitute of brown dye in many recipes.

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

{{Dye usage}}

{{IN|bedrock}}, cocoa beans can be also used in banner patterns:
{{banner crafting usage}}

{{Banner loom usage|Cocoa Beans}}

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

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cocoa
|spritetype=block
|nameid=cocoa
|form=block}}
{{ID table
|displayname=Cocoa Beans
|spritetype=item
|nameid=cocoa_beans
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|showaliasids=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Cocoa
|spritetype=block
|nameid=cocoa
|id=127
|form=block}}
{{ID table
|displayname=Cocoa Beans
|spritetype=item
|nameid=cocoa_beans
|aliasid=dye / 3
|id=412
|form=item
|translationkey=item.dye.brown.name
|foot=1}}

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

==History==
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java beta}}
{{History||1.2|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans.
|Cocoa beans are currently obtainable only through an inventory editor.}}
{{History||1.2_02|Prior to this, Cocoa Beans were misspelled as 'Coco Beans'.}}
{{History||1.4|Cocoa beans have been formally brought into the game as a reward found in [[dungeon]] chests.<ref>{{tweet|notch|53161729990987776}}</ref> (53% chance) Also, brown [[sheep]] now naturally spawn, making brown [[wool]] obtainable without hacking the game.
|Cocoa beans can now be used to craft [[cookie]]s.}}
{{History|java}}
{{History||May 8, 2012|link={{tweet|jeb|199867730927697920}}|[[Jeb]] revealed cocoa with a screenshot.}}
{{History||1.3.1|snap=12w18a|For only this snapshot, cocoa beans have been given a small (0.5%) chance of dropping from destroyed [[jungle tree]] [[leaves]] in a similar fashion to [[apple]]s from oak leaves, which makes cocoa beans [[renewable resource|renewable]] for the first time.}}
{{History|||snap=12w19a|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]]  Added cocoa. The top textures of cocoa always keep a completely constant rotation, regardless of what direction they face. They also not shaded.
|[[File:Cocoa Beans JE2.png|32px]] The texture of cocoa beans has been changed.
|Cocoa has replaced jungle [[leaves]] as the main method of finding cocoa beans.
|[[File:Cocoa Age 3 (S) JE1.png|32px]] Cocoa with values 12–15 is inaccessible normally, and use the texture of the [[dragon egg]]. This is due to the dragon egg texture being to the left of the ripe cocoa texture in <samp>[[terrain.png]]</samp>, as cocoa textures are arranged with the oldest on the left and the youngest on the right, resulting in the unusually ripe cocoa reading the dragon egg texture.}}
{{History|||snap=1.3|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||1.4.2|snap=12w34a|Cocoa beans have been given the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cocoa beans can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.5|snap=13w02a|Due to textures being stored in individual files, cocoa beans with data 12–15 no longer have a texture to use, and now crash the game if a [[chunk]] containing one is loaded.}}
{{History|||snap=13w03a|Cocoa with data values 12–15 now only crash the game if one is directly in the field of view.}}
{{History|||snap=13w04a|[[Bone meal]] now grows cocoa by only one stage.}}
{{History|||snap=13w10a|[[File:Cocoa Age 3 (S) JE2.png|32px]] Cocoa with data 12–15 now use the age 2 texture, resulting in a broken appearance, preventing previously mentioned crashes.}}
{{History||1.6.1|snap=13w18a|Cocoa beans have been removed from [[dungeon]] [[chest]]s.}}
{{History|||snap=13w19a|Brown [[Terracotta|stained clay]] can now be [[crafting|crafted]] using cocoa beans.}}
{{History||1.7.2|snap=13w41a|Brown [[stained glass]] can now be crafted using cocoa beans.}}
{{History||1.8|snap=14w07a|[[File:Cocoa Age 0 (S) JE2.png|32px]] [[File:Cocoa Age 1 (S) JE2.png|32px]] [[File:Cocoa Age 2 (S) JE2.png|32px]] [[File:Missing Model JE1.png|32px]] The top textures of cocoa now rotate with the blocks themselves (cocoa facing north remaining visually unaffected), and cocoa of age 3 has [[Missing model|no model]].}}
{{History|||snap=14w10a|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]] [[File:Missing Model JE2.png|32px]] The large section of cocoa is shaded, and the missing model (which age 3 cocoa uses) has changed.}}
{{History|||snap=14w25a|[[File:Cocoa Age 0 (S) JE4.png|32px]] [[File:Cocoa Age 1 (S) JE4.png|32px]] [[File:Cocoa Age 2 (S) JE4.png|32px]] The connecting region of cocoa is now shaded.}}
{{History|||snap=14w26a|Cocoa with data 12–15 has been effectively removed from the game, as such blocks now convert to a proper value with {{cmd|setblock}}. Loading worlds with existing out of range cocoa crash the game.}}
{{History|||snap=14w30a|Cocoa beans can now be used to dye [[banner]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's and item's numeral ID were respectively 127 and 351.}}
{{History||1.14|snap=18w43a|Cocoa beans can now be used to craft [[brown dye]].
|Cocoa beans can no longer be used as a [[dye]].
|All of the dye-related functions and crafting recipes of cocoa beans (except cookies) have been transferred to brown dye.
|"Cocoa Beans" item has been renamed to "Cocoa".
|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa has been changed.
|[[File:Cocoa Age 0 (S) JE5.png|32px]] [[File:Cocoa Age 1 (S) JE5.png|32px]] [[File:Cocoa Age 2 (S) JE5.png|32px]] The textures of cocoa have been changed.
|[[File:Cocoa Age 0 (texture) JE2 BE2.png|32px]] [[File:Cocoa Age 1 (texture) JE2 BE2.png|32px]] Textures for cocoa age 0 and 1 has palette left, visible only on particles.
|Cocoa now has a placement [[sound]].}}
{{History|||snap=19w03a|Placing cocoa into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Cocoa now has a 65% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w11b|"Cocoa" item has been renamed back to "Cocoa Beans".{{verify|was this not just one bug that affected other crops as well? if so cite the ticket and add to all other affected pages}}}}
{{History||1.18|snap=Pre-release 5|[[File:Cocoa Age 0 (texture) JE3 BE3.png|32px]] [[File:Cocoa Age 1 (texture) JE3 BE3.png|32px]] Textures for cocoa age 0 and 1 were changed. This visually changes only particles.}}
{{History||1.19|snap=22w11a|[[File:Cocoa Age 2 (S) JE6.png|32px]] The texture and model of cocoa age 2 have been changed.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans. They are currently unobtainable and serve no purpose.}}
{{History||v0.8.0|snap=build 1|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.
|Cocoa beans can be [[crafted]] from an [[orange dye]] and an [[ink sac]], or from [[dandelion yellow]], [[rose red]], and an ink sac, despite there being no way of obtaining ink sacs at the time.}}
{{History|||snap=build 3|Cocoa beans are now available in [[creative]].}}
{{History||v0.9.0|snap=build 1|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] {{info needed|How did 12-16 appear?}} Added cocoa.
|Cocoa provides an additional way of obtaining cocoa beans.
|Cocoa beans are now used to craft [[cookie]]s.}}
{{History||v0.11.0|snap=build 14|Cocoa now grows over time.<ref>{{bug|MCPE-7887}}</ref>}}
{{History||?|[[File:Cocoa Age 0 (S) BE4.png|32px]] [[File:Cocoa Age 1 (S) BE4.png|32px]] [[File:Cocoa Age 2 (S) BE2.png|32px]] Cocoa no longer has a stem connecting it to the log.}}
{{History||v0.15.0|snap=Realms build 4|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] Cocoa stems now render again.<ref>{{bug|MCPE-13579}}</ref>}}
{{History||v0.16.0|snap=build 1|Cocoa beans can no longer be crafted from [[orange dye]] and an ink sac.
|Cocoa beans can no longer be crafted from rose red, dandelion yellow and ink sacs.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cocoa beans can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cocoa beans can now be used to dye [[shulker box]]es and [[bed]]s.
|Cocoa beans can now be used to craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cocoa beans can now be used to dye [[banner]]s, [[firework star]]s, and [[glass]].
|Cocoa beans can now be found in [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cocoa beans can now be used to craft brown [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|Cocoa beans can now be used to craft [[brown dye]].}}
{{History||1.10.0|snap=beta 1.10.0.3|Cocoa beans are now [[trading|sold]] by [[wandering trader]]s.
|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa beans has been changed.
|[[File:Cocoa Age 0 (S) BE4.png|32px]] [[File:Cocoa Age 1 (S) BE4.png|32px]] [[File:Cocoa Age 2 (S) BE4.png|32px]] The textures of cocoa have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cocoa beans can now be used to fill up [[composter]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cocoa beans has been changed from <code>dye/3</code> to <code>cocoa_beans</code>.}}
{{History||1.18.10|snap=beta 1.18.10.22|[[File:Cocoa Age 0 (texture) JE3 BE3.png|32px]] [[File:Cocoa Age 1 (texture) JE3 BE3.png|32px]] Textures for cocoa age 0 and 1 were changed. This visually changes only particles.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans.}}
{{History||xbox=TU9|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||xbox=TU12|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]]{{verify|Were these the models used?}} Added cocoa.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa beans has been changed once again.
|[[File:Cocoa Age 0 (S) JE5.png|32px]] [[File:Cocoa Age 1 (S) JE5.png|32px]] [[File:Cocoa Age 2 (S) JE5.png|32px]]{{verify|Were these the models used?}} The textures of cocoa have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cocoa Beans JE3 BE2.png|32px]] Added cocoa beans.
|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]]{{verify|Were these the models used?}} Added cocoa.}}
{{History|foot}}

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

== Issues ==
{{issue list|Cocoa Beans|Cocoa Pod}}

== Trivia ==
*Cocoa pods have a different hitbox for each size; however, the top is always 0.25 blocks below the top of the [[log]] it is on.
*If a cocoa pod grows while the player is standing next to it, the player is forced into the appropriate form of [[suffocation prevention]] depending on available space.
*{{IN|be}}, the pixels on top of the fully grown pod are 8/7 the size of those on the side.<ref>{{bug|MC-109055||Fixed}}</ref><ref>{{bug|MCPE-152862}}</ref>

== Gallery ==
<gallery>
CocoaReveal.png|The first screenshot of cocoa pods tweeted by [[Jens Bergensten]], which revealed the plants.
CocoaPlant.png|A screenshot tweeted by Jens Bergensten, showing the pod.
Cocoa Plants in a Jungle Biome (12w19a).png|Naturally generated cocoa pods.
CPlantsJWood.png|A cocoa pod farm.
Cocoa2.jpg|A cocoa farm.
Cocoa beans phases.png|Three growing phases of the cocoa pod.
AreaOptimizedBeanPods.gif|A log and pod layout for optimizing an example area of 14×14 (including walls).
File:CocoaBean15.png|Cocoa beans with values greater than 12 appeared this way
</gallery>

==Literature==
===References===
{{reflist}}

===External Links===
*[https://www.minecraft.net/en-us/article/taking-inventory--cocoa-beans Taking Inventory: Cocoa Beans] – Minecraft.net on December 5, 2019

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

[[Category:Dyes]]
[[Category:Food]]
[[Category:Plants]]
[[Category:Renewable resources]]
[[Category:Non-solid blocks]]
[[Category:Natural blocks]]

[[cs:Kakaové boby]]
[[de:Kakaobohnen]]
[[es:Semillas de cacao]]
[[fr:Fèves de cacao]]
[[hu:Kakaóbab]]
[[ja:カカオ豆]]
[[ko:코코아 콩]]
[[nl:Cacaobonen]]
[[pl:Ziarna kakaowe]]
[[pt:Sementes de cacau]]
[[ru:Какао-бобы]]
[[uk:Какао-боби]]
[[zh:可可豆]]</li></ul>
April 24, 2014Dinnerbone tweets a previews of the "shimmery" world border textures, which were made by Ryan Holtz.
14w17aAdded the customizable world border.
14w18aPlayers cannot interact with blocks outside the world border anymore.
14w19a"Warning" and "damage" commands added.
A red-colored warning aura is seen when within a certain distance of the world border.
The border in the Nether is now the same size as that of the Overworld.
Traveling to the Nether no longer creates new portals outside the boundary.
14w20aIf the player is stuck outside the world border, they can freely fly/walk around, though they gradually lose hearts. Not possible to freely walk through the border from the inside.
14w26a"Add" command added.
14w29a"Get" command added, which shows the current size of the border.
Command blocks no longer work outside of the border. Unclear if this is a bug or intended.
14w30aHoppers outside of the world border no longer function.
14w31aThe time parameter of the world border size-changing can now be larger.
Only players take damage outside of the world border.
?The world border can be set to 60 million, but is visually and functionally clamped to a value below that.
1.17
{{Extension DPL}}<ul><li>[[Kelp|Kelp]]<br/>{{About|the plant|the dried variant|Dried Kelp}}
{{For}}
{{Block
|image=Kelp.gif
|invimage=Kelp
|transparent=Yes
|tool=Any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
|light=No
|hardness=0}}

'''Kelp''' is an underwater plant that generates in most [[ocean]]s.

== Obtaining ==

=== Natural generation ===

Kelp naturally generates in any [[ocean]] [[biome]]s (except in [[Frozen Ocean|frozen]], [[Deep Frozen Ocean|deep frozen]] and [[Warm Ocean|warm]]), near and around [[seagrass]]. Each chunk has {{frac|1|18}} chance to generate a [[vegetation]] of kelp.

=== Breaking ===

Kelp can be mined instantly with any [[tool]] or with the player's fist. Removing water from the kelp block destroys the kelp. Breaking one part of a kelp stalk destroys all kelp [[block]]s above it. Each block drops a kelp [[item (entity)|item]].

=== Trading ===

Kelp can be bought from [[wandering trader]]s for 3 emeralds.

== Usage ==

Kelp can be placed underwater by hand, or anywhere by the use of [[commands]] such as {{cmd|setblock}}. Placing it by hand gives it a random {{code|age}} value between 0 and 24. Kelp can be placed only in [[water]] source blocks or downward-flowing water, not horizontally flowing water.

When placed in downward-flowing water, the flowing water transforms into a water source block,<ref>{{bug|MC-134229}}</ref> which is useful for faster [[bubble column]] elevator creation.

Any building block can be placed on top of a kelp plant, which is useful for building structures over a deep ocean without needing to build from the ocean floor (see also [[lily pad]]).

=== Cooking ingredient ===

{{smelting
| showname = 1
| Kelp
| Dried Kelp
| 0.1
}}

=== Composting ===

Placing kelp into a [[composter]] has a 30% chance of raising the compost level by 1.

=== Growth mechanics ===

Kelp can be planted on a broad variety of blocks. It grows underwater if it has either a source block of water or, {{in|Java}}, flowing water above it.<ref>{{bug|MC-133354}}</ref> Neither [[player]]s nor [[dispenser]]s can remove the water source block that kelp grows in without breaking the kelp first.

Kelp does not require any [[light]] level to grow. Kelp also grows without having [[sky]] access. [[Bone meal]] can be used to grow kelp by 1 block on each use.

Kelp, when planted, is generated with a randomly chosen age value, which can be checked when pressing [[Debug screen|<kbd>F3</kbd>]]{{only|java}}. The age value of a newly planted kelp plant varies randomly from 0 to 24. Each time the kelp grows in height by one block, the newly generated top of the kelp plant increases its age by 1. When the top block of the kelp plant reaches an age of 25, it stops growing. This means that kelp can naturally grow to a height between 2 (if the first kelp plant had an age of 24) and 26 blocks (if the first kelp plant had an age of 0). 

When a kelp plant block is broken, the age of the kelp plant block underneath is randomized to a value from 0 to 24 and the kelp continues growing until it reaches age 25. It is possible to use this mechanic to cultivate a kelp plant to increase its growth height beyond its natural maximum height of 26 blocks. This can be done by breaking the top-most block of the kelp plant each time it reaches age 25. A kelp plant cultivated by a player in this way repeatedly grows until it reaches the water surface.

Each time it receives a [[random tick]], kelp has a 14% chance of growing.

If [[shears]] are used on the topmost block of kelp, that block automatically sets its {{cd|age}} value to {{cd|25}} and stop growing.{{only|JE}}

=== Farming ===
{{Main|Tutorials/Kelp farming}}
Kelp farming is similar to farming [[sugar cane]], although kelp must be placed underwater. Automation of harvest is easier because items float up in water.

== Sounds ==
=== Generic ===
{{Sound table/Block/Wet grass}}
=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Shear.ogg
|subtitle=Plant cropped
|source=block
|description=When the tip of kelp is cropped with [[Shears#Cropping growing plants|shears]]
|id=block.growing_plant.crop
|translationkey=subtitles.block.growing_plant.crop
|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=Kelp
|spritetype=block
|nameid=kelp}}
{{ID table
|displayname=Kelp Plant
|spritetype=block
|nameid=kelp_plant
|form=block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Kelp
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=kelp
|spritetype=item
|nameid=kelp
|id=382
|form=item}}
{{ID table
|displayname=Block
|spritename=kelp
|spritetype=block
|nameid=kelp
|id=393
|form=block
|itemform=item.kelp
|translationkey=-
|foot=1}}

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

{{/BS}}

== History ==
{{History|java classic}}
{{History||May 21, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/110762705/my-list-on-tile-types-so-far|[[Notch]] shows interest in adding a "[[seaweed]]" [[block]].}}
{{History|java}}
{{History||November 18, 2017|link={{YouTubeLink|mAapz_nIC_Y}}|Kelp plants were shown in a clip of [[MineCon Earth]].}}
{{History||1.13|snap=18w07a|[[File:Kelp JE1 BE1.gif|32px]] [[File:Kelp (item) JE1 BE2.png|32px]] Added kelp.}}
{{History|||snap=18w07b|Kelp now behaves more like [[water]], meaning [[mob]]s can no longer spawn within the plant under water nor can they replenish their breath by [[swimming]] through it.}}
{{History|||snap=18w10a|[[File:Kelp JE2.gif|32px]] The texture for kelp has been overhauled.}}
{{History|||snap=18w14a|[[File:Kelp.gif|32px]] Top of the kelp textures have been shifted slightly downward.
|The generation rules for kelp have been changed, it now mainly generates in [[cold ocean]] [[biome]]s and can no longer generate in [[warm ocean]]s.}}
{{History|||snap=18w20a|The {{cd|kelp_top}} has been changed ID to {{cd|kelp}} and {{cd|kelp}} has been changed to {{cd|kelp_plant}}, for both the [[block]] and [[item]] forms.}}
{{History|||snap=pre2|Kelp is now destroyed by [[sponge]]s.<ref>{{bug|MC-127111}}</ref>}}
{{History|||snap=pre6|Added 5 new [[sound]] events that apply to kelp: <code>block.wet_grass.break</code>, <code>block.wet_grass.fall</code>, <code>block.wet_grass.hit</code>, <code>block.wet_grass.place</code>, and <code>block.wet_grass.step</code>.}}
{{History||1.14|snap=19w03a|Placing kelp into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Kelp now has a 30% chance of increasing the compost level in a composter by 1.
|Added [[Wandering Trader|wandering trader]]s, which sell kelp.}}
{{History||1.16|snap=20w11a|Kelp can now be grown with [[bone meal]].}}
{{History|||snap=20w13a|Kelp has been moved from the Miscellaneous tab to the Decoration Blocks tab in the [[Creative inventory]].<ref name="misc decoration">https://bugs.mojang.com/browse/MC-174434</ref>}}
{{History||1.17|snap=20w46a|Kelp no longer generates on magma blocks.<ref>{{Bug|MC-185605|resolution=Fixed}}</ref>}}
{{History||1.18|snap=21w37a|Kelp now stops growing if [[shears]] are used on the tip.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[File:Kelp JE1 BE1.gif|32px]] [[File:Kelp (item) BE1.png|32px]] Added kelp.}}
{{History|||snap=beta 1.2.20.1|[[File:Kelp (item) JE1 BE2.png|32px]] The kelp [[item]] texture has been updated to the {{el|je}}'s.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Kelp.gif|32px]] The texture of the kelp plant has been updated.}}
{{History||1.10.0|snap=beta 1.10.0.3|Kelp can now be bought from [[wandering trader]]s for 3 [[emerald]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Kelp can now be used to fill [[composter]]s.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Kelp.gif|32px]] [[File:Kelp (item) JE1 BE2.png|32px]] Added kelp.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==
* In real life, [[wikipedia:kelp|kelp]] is not considered a [[wikipedia:plant|plant]]. It is classified by scientists as a [[wikipedia:Brown algae|brown algae]].
** Kelp in real life absorbs nutrients directly from the water, instead of through its root-like structure, [[wikipedia:Holdfast (biology)|holdfast]], which merely attaches it to the seabed. This is in accordance with kelp being able to grow on almost any solid block in ''Minecraft''.

== Gallery ==
<gallery heights="60">
SeaPlantsMineConEarth2017.jpg|Kelp shown in a clip from MINECON Earth 2017. 
Kelp in ocean with Jappa textures.jpg|Naturally generated kelp in an [[ocean]] biome.
Kelp on shoreline.png|Naturally generated kelp near the shore.
Ocean life.png|An ocean with kelp visible in the far distance.
Kelp on Land.png|Kelp placed outside of [[water]] using the {{cmd|setblock}} command before 18w07b.
Waterless kelp.png|What kelp looks like without water (water removed using a [[resource pack]]).
Coral reef at night.png|Kelp within a [[coral reef]].
Floating Kelp.png|Kelp that generated in mid-air due to an [[ocean monument]]'s water cutting through it.
Kelp in ocean.jpg|Multiple kelps.
Kelp 255 blocks tall.png|Without obstacles, kelp can grow all the way to building limit.
ArgoMajor Kelp.jpg|First image of kelp in ''Bedrock Edition''.
</gallery>

== References ==
{{reflist}}

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

[[Category:Plants]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]

[[de:Seetang]]
[[es:Alga]]
[[fr:Algue]]
[[ja:コンブ]]
[[ko:켈프]]
[[pl:Wodorosty]]
[[pt:Alga]]
[[ru:Ламинария]]
[[th:สาหร่ายทะเล]]
[[zh:海带]]</li><li>[[Sugar Cane|Sugar Cane]]<br/>{{Block
|image=Sugar Cane.png
|image2=Sugar Cane (item) JE3.png
|extratext = View all [[#Gallery|renders]]
|transparent=Yes
|light=No
|tool=any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}

'''Sugar cane''' is a block found as 1–4-block-tall. It plants near water in the [[Overworld]]. As an item, it is an important crafting ingredient.

==Obtaining==
Sugar cane can be mined instantly with anything.

When the spot a sugar cane block is placed in becomes unsuitable, such as when the supporting block is removed, the sugar cane block uproots and drops as an item. {{IN|be}}, sugar cane uproots immediately after all adjacent water is removed. {{IN|je}}, sugar cane uproots on the next block update or [[Tick#Random tick|random tick]].

A sugar cane block drops itself as an item if a piston tries to push it (trying to pull it does nothing) or moves a block into its space.

===Natural generation===
[[File:Sugar Canez.png|thumb|250px|Naturally-occurring sugar cane near a river.]]
Sugar cane can generate naturally near [[water]] and [[ice]], as two ({{frac|11|18}} chance), three ({{frac|5|18}} chance), or four ({{frac|2|18}} chance) blocks tall. Rare taller sugar canes can be found if the world generator places two smaller canes on top of each other. It generates in approximately 0.8 sugar cane per chunk seeing as how they only generate near bodies of water.

Sugar canes attempt to generate 10 times in any Overworld biome, which requires water. An extra 10 attempts are made in [[swamp]] biomes, and 50 in [[desert]] biomes, which makes sugar cane twice as frequent in swamps and six times as frequent in desert biomes, making the banks of [[river]]s that cut through deserts lined with sugar canes.  Sugar canes do not grow faster in swamps or deserts they only spawn a increased amount.

Sugar cane cannot generate in caves {{in|je}}.<ref>{{bug|MC-214959||Sugar cane generated in cave|Fixed}}</ref>

===Trading===
[[Wandering trader]]s can sell sugar cane for an [[emerald]].

==Usage==
Due to its water-displacing properties, sugar cane can interestingly be used to create underwater paths, allowing [[player]]s to move at normal speed and breathe if it is two blocks in height.{{only|java}}<ref>{{bug|MC-929||Sugar cane can be placed underwater|WAI}}</ref>

Sugar cane takes on a different shade of green depending on the biome in which it is placed.

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

===Farming===
{{main|Tutorials/Sugar cane farming}}
[[File:Underground Sugar Farm.png|200px|thumb|An underground sugar cane farm.]]

Sugar cane can generate naturally up to any number of blocks tall, but ''grow'' only to a height of three blocks, adding a block of height when the top sugar cane block has received 16 random [[Tick#Block tick|block tick]]s (i.e. on average every 18 minutes on ''Java Edition''<!-- Average 68.27 seconds/tick * 16 ticks/growth = 18.2 minutes --> or 54 minutes on Bedrock Edition, but the actual rate can vary widely). 
Sugar cane must be planted on a [[grass block]], [[dirt]], [[coarse dirt]], [[rooted dirt]], [[podzol]], [[mycelium]], [[sand]], [[red sand]], [[suspicious sand]], [[moss block]], or [[mud]] that is directly adjacent to [[water]], [[waterlogged]] block, or [[frosted ice]] (not merely above or diagonal to water), or on top of another sugar cane block. The adjacent water block can be covered with another block, whether [[opacity|opaque or transparent]], and sugar cane can still be placed and grow next to it. Sugar cane grows regardless of light level, even in complete darkness.
[[File:4blockcane.png|thumb|A natural 4-block-high sugar cane plant.]]
{{IN|bedrock}}, [[bone meal]] can be used to instantly grow sugar cane to three blocks. Only one bone meal is consumed. {{IN|java}}, bone meal cannot be used on sugar cane.<ref>{{bug|MC-73963||Can't use bonemeal on cacti or sugar cane|WAI}}</ref>

On average, it takes [[Tutorials/Sugar_cane_farming#Mechanics|18 minutes]] for a single block of sugar cane to grow 3 blocks tall.

=== Composting ===
Placing sugar cane into a [[composter]] has a 50% chance of raising the compost level by 1.

== List of colors ==
{{Missing information|Bedrock Edition colors (see [[Water#Color]]{{verify|it's there?}})}}

=== ''Java Edition'' ===
These values are generated by the biome dyeing algorithm. See [[Color#Biome colors|Biome colors]] for more information.
<div class="mw-collapsible mw-collapsed" style="float: left">
{| class="wikitable sortable" style="text-align:center" data-description="Java edition biome colors"
!Biome !! Category !! Rainfall !! Sugarcane Color !! Temperature Affects !! Render
|-
| {{BiomeLink|Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Beach}} || Beach || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Dark Forest}} || Forest || Rain || #507a32 || || [[File:Dark Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Frozen Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Desert}} || Desert || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Barrens}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Highlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Midlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Eroded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Flower Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen Ocean}} || Ocean || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen River}} || River || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Spruce Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Pine Taiga}} || Taiga || Rain || #86b87f || || [[File:Old Growth Pine Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ice Spikes}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Jungle}} || Jungle || Rain || #59c93c || || [[File:Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sparse Jungle}} || Jungle || Rain || #64c73f || || [[File:Sparse Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Hills}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Mushroom Fields}} || Mushroom || Rain || #55c93f || || [[File:Mushroom Fields Sugar Cane.png|32px]]
|-
| {{BiomeLink|Nether}} || Nether || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|River}} || River || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna Plateau}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Small End Islands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Beach}} || Beach || Snow || #83b593 || || [[File:Snowy Beach Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Taiga}} || Taiga || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Plains}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Stony Shore}} || None || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sunflower Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Swamp}} || Swamp || Rain || #6A7039 || If temperature below -0.1, used #4C763C. || [[File:Swamp Sugar Cane.png|32px]] / [[File:Swamp Sugar Cane (Cold).png|32px]]
|-
| {{BiomeLink|Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|The End}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|The Void}} || None || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Warm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Wooded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Forest}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|}
</div>
{{clear}}
=== Bedrock Edition ===
{{empty section}}

== Sounds ==
{{Sound table/Block/Grass}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Sugar Cane
|spritetype=block
|nameid=sugar_cane
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Sugar Cane
|shownumericids=y
|showforms=y
|showaliasids=y
|generatetranslationkeys=y
|displayname=Block
|spritename=sugar-cane
|spritetype=block
|nameid=reeds
|id=83
|form=block
|itemform=item.reeds}}
{{ID table
|displayname=Item
|spritename=sugar-cane
|spritetype=item
|nameid=sugar_cane
|id=385
|form=item
|aliasid=reeds
|translationkey=item.reeds.name
|foot=1}}

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

{{/BS}}

== Video ==
{{Video note|This video was made before sugar cane had a different shade of green depending on the biome.|minor}}
<div style="text-align:center">{{yt|zlOnwn3PH5o}}</div>

== History ==
{{more images|Appearance when affected by {{bug|MC-48831}}}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added reeds in the [[Seecret Updates|Seecret Friday Update 6]].
|Reeds are informally referred to as "bamboo" or "papyrus" by many [[player]]s. 
|Since reeds can be washed away with [[water]] currents or instantly destroyed by removing the water adjacent to them, automated reed farms can be made. 
|Reeds can be used to craft [[paper]].}}
{{History|java beta}}
{{History||1.2|[[Notch]] has [[wikipedia:Retroactive continuity|retconned]] reeds into sugar cane so that it can now be [[crafting|crafted]] into [[sugar]], included in the recipe for the [[cake]]s.}}
{{History||1.6|snap=Test Build 3|[[Arrow]]s no longer stick to sugar cane, and instead, they pass through. However, [[snowball]]s still come into contact with any sugar cane blocks, as if they are solid.}}
{{History||1.8|snap=Pre-release|Sugar cane can now grow and be placed onto [[sand]] as long as they are adjacent to [[water]]. This update allows sugar canes to appear next to [[water]] ponds in [[desert]] biomes.
|Sugar cane is now available in the [[creative]] [[inventory]] in both block and item forms.}}
{{History|java}}
{{History||1.0.0|snap=?|The sugar cane block has been removed from the creative inventory.}}
{{History||1.7.2|snap=13w36a|[[File:Sugar Cane JE2 BE2.png|32px]] Sugar cane is now [[tint]]ed depending on the [[biome]] it's in.
|The item texture remained unchanged, however, and still used the color palette from Alpha to 1.6.4.<ref name="Bug">{{bug|MC-216227}}</ref>}}
{{History||1.9|snap=15w43a|Sugar cane no longer breaks if its adjacent [[water]] is turned to [[frosted ice]].}}
{{History||1.13|snap=17w47a|The ID of sugar cane has now been changed from <code>reeds</code> to <code>sugar_cane</code>.
|"Sugar Canes" have now been renamed to "Sugar Cane".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 83, and the [[item]]'s 338.}}
{{History||1.14|snap=18w43a|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane item has been changed.}}
{{History|||snap=19w03a|Placing sugar cane into a [[composter]] has a 20% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Sugar cane now has a 50% chance of increasing the compost level in a composter by 1.
|Added [[wandering trader]]s, which sell sugar cane.}}
{{History||1.16|snap=20w13a|Sugar cane has been moved from the Miscellaneous tab to the Decoration Blocks tab in the [[Creative inventory]].<ref name="misc decoration">https://bugs.mojang.com/browse/MC-174434</ref>}}
{{History||1.17|snap=21w11a|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.<ref name="Bug"/>}}
{{History|||snap=Pre-release 1|Sugar cane now generates in mushroom fields.<ref>{{bug|MC-226683}}</ref>}}
{{History||1.19|snap=22w15a|Sugar cane can now be planted on mud.}}
{{History||1.20|snap=23w14a|Sugar cane can now be planted on [[suspicious sand]].}}

{{History|pocket alpha}}
{{History||Pre-release|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History||v0.2.0|Despite being visible in the inventory, sugar cane does not drop anything when mined, making it unobtainable in Survival mode.}}
{{History||v0.2.1|Survival players now start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.3.0|Sugar cane now drops its item form when mined.
|Survival players no longer start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.5.0|Sugar cane can now be grown on [[sand]].
|Sugar cane can now be obtained after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 5|[[Bone meal]] can now grow sugar cane to maximum height.}}
{{History||v0.9.0|snap=build 1|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they are in.
|Using bone meal on sugar cane is no longer able to break blocks above it.}}
{{History||v0.12.1|snap=build 1|Sugar cane is no longer available from the [[nether reactor]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] Due to a bug, sugar canes no longer change color depending on the [[biome]].}}
{{History|bedrock}}
{{History||1.2.13|snap=beta 1.2.13.5|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar canes now changes depending on the [[biome]], once again.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.
|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Sugar canes can now be used to fill up [[composter]]s.}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar canes.
|Sugar canes are solid, making it useful for growable walls. Unlike on Java Edition, they were never renamed to Sugar Cane.}}
{{History||xbox=TU2|Sugar canes are no longer solid, and arrows pass through them.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they're in.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Sugar cane can now be grown with [[bonemeal]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.
|Sugar canes can now be used to fill up [[composter]]s.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History|foot}}

=== Sugar cane "item" ===
{{:Technical blocks/Sugar Cane}}

== Issues ==
{{Issue list}}

== Trivia ==
*When a sugar cane is broken at the second level, the time resets (for example, if a two-block high sugar cane is broken, but is just about to grow to the third stage, it would reset that time).
*By placing more sugar canes on top of a sugar cane plant, it is possible to create tall sugar canes (up to y=319, the maximum height for building), although they do not naturally grow this high.
*Before sugar cane received an official name, they were sometimes referred to as [[bamboo]], a block added 9 years later. Other names were "reeds" and "papyrus".

== Gallery ==
=== Renders ===
<gallery>
Plains Sugar Cane.png|Plains
Taiga Sugar Cane.png|Taiga
Snowy Plains Sugar Cane.png|Snowy plains
Jungle Sugar Cane.png|Jungle
Desert Sugar Cane.png|Desert
Swamp Sugar Cane (Cold).png|Swamp (cold)
Swamp Sugar Cane.png|Swamp
Badlands Sugar Cane.png|Badlands
</gallery>

=== In-game ===
<gallery>
Huge Sugar Farm.png|A large sugar cane farm using 2×2 [[water]] holes.
Sugar Cane Waterfall.png|Water flowing over sugar cane.
UnderwaterSugarCane.png|Naturally generated sugar cane found underwater.
Sugar and Cactus.png|A [[cactus]] and sugar cane stalk generated next to each other.
SugarCaneRavine.png|Sugar cane found in the [[ravine]].
Reeds in Winter mode.png|Reeds generated in the [[winter mode]].
Sugar Cane Naturally Growing.png|Sugar cane growing between [[biome]]s.
Mesa Sugar Cane.jpg|Sugar cane growing on [[red sand]] in a [[badlands]] biome.
Sugarcanenowaterglitch.png|Sugar cane generated without a water source.
SwampCane.png|Sugar cane generated in a [[swamp]] biome.
Sugar cane savanna.png|Sugar cane growing in a [[savanna]] biome.
ForestSugarcane.png|Sugar cane growing in a [[forest]] biome.
Lava cane.png|Sugar cane growing with lava flowing around it.
Before breaking.png|Sugar canes few seconds before breaking because the water is frozen.
Undergroundreed.png|A sugar cane plant that generated in an underground [[water lake]].
Cave Sugar.png|Another example.
</gallery>

=== Heights ===
<gallery>
Tall Sugar Cane.png|Four-block tall sugar cane.
4RiverCane.png|Four-block tall sugar cane.
4-block tall sugar cane.png|Four-block tall sugar cane in a [[plains]] biome.
</gallery>

== References ==
{{Reflist}}

{{Blocks|vegetation}}

{{Items}}

[[Category:Plants]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]

[[cs:Cukrová třtina]]
[[de:Zuckerrohr]]
[[es:Caña de azúcar]]
[[fr:Canne à sucre]]
[[hu:Cukornád]]
[[it:Canna da zucchero]]
[[ja:サトウキビ]]
[[ko:사탕수수]]
[[nl:Suikerriet]]
[[pl:Trzcina cukrowa]]
[[pt:Cana-de-açúcar]]
[[ru:Сахарный тростник]]
[[th:อ้อย]]
[[uk:Цукрова тростина]]
[[zh:甘蔗]]</li></ul>
20w48aThe world border now follows the player vertically.[3]
?The world border no longer follows the player vertically, but is still correctly displayed outside of the world height bounds.
21w13aThe world border's faces are now all identically oriented, resulting in no V or ^ shapes forming at two corners.[4]
21w17aThe world border size is now stored as a double instead of a float.[5]
The max world border size has been shrunk to the value it would always maximally appear at, and cannot be set above that value with commands.

Issues[]

Issues relating to "World border" are maintained on the bug tracker. Report issues there.

Trivia[]

  • The reason the default world border is at X/Z ±29,999,984 is due to the fact that Dinnerbone put it 1 chunk (16 blocks) short of the edge to prevent falling through the world.[6]
    • Despite this, it became impossible to fall through the world at high distances in early 1.7 development, over half a year before the world border's implementation.
  • Were a Minecraft world wrapped around with the borders together, the resulting planet has a circumference of 60000 kilometres or 9549 kilometres in radius, twice as large as Earth.

Gallery[]

References[]

  1. MC-187669
  2. Due to MC-54119, this appears possible, but it does not actually take effect.
  3. MC-198864
  4. MC-212736
  5. MC-187664
  6. MC-53390 (comment#155580)

See also[]

Advertisement