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>[[:Category:Minecraft Earth items|Category:Minecraft Earth items]]<br/>All items in ''[[Minecraft Earth]]''.
[[Category:Items]]
[[Category:Minecraft Earth|Items]]</li><li>[[Enchanted Book|Enchanted Book]]<br/>{{About|the book that can give items enchantments when used on an anvil|the artifact that can enchant allied mobs in Minecraft Dungeons|Enchanter's Tome}}
{{Item
| image = Enchanted Book.gif
|imagesize=160px
| stackable = No
| renewable =  '''Swift Sneak''': No<br>'''All others''': Yes
| rarity = Uncommon 
}}

An '''enchanted book''' is an [[item]] that lets players add [[enchantments]] to certain items using an [[anvil]].

== Obtaining ==

=== Chest loot ===

==== Level-30 books ====
{{LootChestItem|enchanted-book}}

==== Random enchantment books ====
{{LootChestItem|enchanted-book-rnd}}

==== Soul Speed books ====
{{LootChestItem|enchanted-book-rnd-soul-speed}}

==== Swift Sneak books ====
{{LootChestItem|enchanted-book-rnd-swift-sneak}}

===Fishing===
Enchanted books can be obtained as a "treasure" item from [[fishing]] with a [[fishing rod]] as part of the "treasure" category. The book has the equivalent of a level 30 enchantment from an enchantment table, but treasure enchantments are available and the chance of multiple enchantments is not reduced.

=== Trading ===

{{IN|bedrock}}, librarian [[villager]]s have a 50% chance to sell enchanted books as part of their trades at novice, apprentice, and journeyman-level, and have {{frac|1|3}} chance to sell enchanted books at expert-level as part of their trades, meaning each librarian villager can sell up to four books. The price ranges between 5-64 [[emerald]]s per book. Based on the level of the enchantment and whether it is classified as a "[[Enchanting mechanics|treasure enchantment]]" (meaning they are not obtainable by enchanting, e.g. [[Mending]]), which doubles the cost, or not a price is determined.

{{IN|java}}, librarian villagers have a {{frac|2|3}} chance to sell an enchanted book as part of their trades at the novice, apprentice, and journeyman level, and have a 50% chance to sell an enchanted book at the expert level, meaning each librarian can sell up to four books. The price ranges from 5-64 [[emerald]]s per book, depending on the enchantment's level as well as whether or not it is a [[Enchanting mechanics|treasure enchantment]].
{| class="fandom-table"
|+Cost of Enchanted Books based on their level
!Level
!Lowest Price
!Highest Price
|-
|I (1)
|5
|19
|-
|II (2)
|8
|32
|-
|III (3)
|11
|45
|-
|IV (4)
|14
|58
|-
|V (5)
|17
|71 (capped at 64)
|}
They may contain any available enchantment (except Soul Speed and Swift Sneak) at any available level. See [[Trading#cite_note-enchanted-book-10|trading notes]] for more information on enchantments and prices.

===Drops ===
Vindicators and pillagers that spawn from raids have a small chance to drop an enchanted book with a level 30 enchantment, which may be a treasure enchantment.{{only|bedrock}}

===Enchanting===

[[File:Enchanted Book 4x.png|thumb|An enchanted book with multiple high level enchantments.]]
[[File:Similar enchantments.png|thumb|An enchanted book with multiple enchantments that can be applied to the same item.]]

Players can create an enchanted book by enchanting a [[book]] on an [[enchantment table]]. Books have a decreased chance of getting multiple enchantments (specifically, if multiple enchantments would be added, then one is removed at random), and have a lower "enchantability level" than most other items. Treasure enchantments such as Mending cannot be obtained from an enchantment table.

=== Bartering ===
Players can barter with [[piglin]]s by using or throwing [[gold ingot]]s, and doing so has a {{frac|5|459}} chance for piglins to give the player an enchanted book with any level of [[Soul Speed]]. Soul Speed enchanted books are only obtainable through [[bartering]], [[chest]] loot inside a bastion remnant, and [[fishing]]. They cannot be obtained through [[enchanting]] or [[trading]].

== Usage ==
{{see also|Anvil mechanics}}

In Survival, enchanted books are the only method to obtain certain enchantments on certain tools, such as Unbreaking on [[shield]]s. Enchanted books have a shine effect on their sprite.

To use an enchanted book, the player must place an item in the first slot in an [[anvil]], and a book in the next. In order to complete the enchantment, the player must have the required amount of [[experience]]. Note that using an enchanted book gets significant discounts at the anvil. Enchanted books themselves can be combined to create a single book with increased or multiple enchantments, similar to combining tools or weapons.  

When combining items, the compatible enchantments from the book in the second slot are transferred to the item from the first slot, keeping the highest level of any type. If two enchantments have the same level and a higher level is available, they combine into the next level. If a book is applied to an item that can't take all of its spells, the appropriate spells are transferred, while the unusable ones are lost. Enchanted books are single-use. 

Enchanted books do not exhibit their enchantment. For example, a book with Sharpness IV as an enchantment does no more damage than an un-enchanted book, or any non-weapon item, would when used as a weapon. An exception is the Fire Aspect book which can ignite TNT and light campfires and the Mending book if the block mined can be broken by fist.{{only|bedrock}}

=== Available items ===
{{See also|Enchantments}}

Enchanted books can enchant the usual items that can be enchanted at an [[enchanting table]], but ''unlike an enchanting table'', they are able to boost enchantments such as Sharpness or Thorns to their maximum power, and may apply the following enchantments to items (the table displays only netherite tools and armor, but any type can be enchanted):
<!-- do not change the items listed in this table. It is supposed to show the items that can receive these enchantments from an enchanted book, but are NOT possible through an enchanting table. -->
{| class="wikitable" style="text-align: center;" data-description="Secondary enchantments"
|-
!Enchantment
!Items not enchantable<br>at an enchanting table
!Note
|-
|[[Efficiency]]
|{{simpleGrid|Shears}}{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}
|Increases mining speed
|-
|[[Thorns]]||{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}
|Inflicts damage on attacker
|-
|[[Unbreaking]]
|{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}{{simpleGrid|Elytra}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}
|Increasing durability on enchanted tools/armors
|-
|[[Frost Walker]]
|{{simpleGrid|Netherite Boots}}
|Creates walkable ice layer over water

|-
|[[Mending]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}{{simpleGrid|Elytra}}
|Uses XP Orbs to repair damaged tools/weapons/armors
|-
|[[Curse of Binding]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>{{simpleGrid|Elytra}}{{simpleGrid|Carved Pumpkin}}{{simpleGrid|Head}}
|Prevents removal of cursed item
|-
|[[Curse of Vanishing]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}<br>{{simpleGrid|Elytra}}{{simpleGrid|Carved Pumpkin}}{{simpleGrid|Head}}<br>{{simpleGrid|Compass}}{{simpleGrid|Recovery Compass}}
|Cursed item is destroyed upon death
|-
|[[Soul Speed]]
|{{simpleGrid|Netherite Boots}}
|The wearer's speed is increased when walking on [[soul sand]] or [[soul soil]].
|-
|[[Swift Sneak]]
|{{simpleGrid|Netherite Leggings}}
|The wearer's sneaking speed is increased.
|}

=== Creative mode ===

The player can enchant any item with any enchantment in [[Creative]] mode, allowing any applied effects to exhibit themselves.{{only|java}} For example, a [[stick]] can be enchanted with [[Silk Touch]] to allow the player to successfully dig [[grass block]]s. The enchanted item can still be used in Survival mode without any loss of enchantments.

Enchantments that are normally incompatible are still incompatible; for example, Piercing and Multishot cannot be both applied to the same item, even in Creative mode.

If a block is enchanted, it loses the enchantment upon being placed in the world.

=== Disenchanting ===
Disenchanting an enchanted book at a [[grindstone]] yields a normal [[book]] and some experience depending on the quality of the book.

=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having an enchanted book in the main hand will put the book inside the chiseled bookshelf.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Chiseled bookshelf insert enchanted1.ogg
|sound2=Chiseled bookshelf insert enchanted2.ogg
|sound3=Chiseled bookshelf insert enchanted3.ogg
|sound4=Chiseled bookshelf insert enchanted4.ogg
|subtitle=Enchanted Book placed
|source=block
|description=When an enchanted book is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert.enchanted
|translationkey=subtitles.chiseled_bookshelf.insert_enchanted
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup enchanted1.ogg
|sound2=Chiseled bookshelf pickup enchanted2.ogg
|sound3=Chiseled bookshelf pickup enchanted3.ogg
|subtitle=Enchanted Book taken
|source=block
|description=When an enchanted book is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup.enchanted
|translationkey=subtitles.chiseled_bookshelf.take_enchanted
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert enchanted1.ogg
|sound2=Chiseled bookshelf insert enchanted2.ogg
|sound3=Chiseled bookshelf insert enchanted3.ogg
|sound4=Chiseled bookshelf insert enchanted4.ogg
|source=block
|description=When an enchanted book is placed in a chiseled bookshelf
|id=insert_enchanted.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup enchanted1.ogg
|sound2=Chiseled bookshelf pickup enchanted2.ogg
|sound3=Chiseled bookshelf pickup enchanted3.ogg
|source=block
|description=When an enchanted book is removed from a chiseled bookshelf
|id=pickup_enchanted.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Enchanted Book
|spritetype=item
|nameid=enchanted_book
|id=521
|itemtags=minecraft:bookshelf_books</code>
|form=item
|foot=1}}

=== Item data ===

{{el|java}}:
{{main|Player.dat format}}
Enchanted books use an NBT tag <code>StoredEnchantments</code> to indicate the enchantment. 
The allowed sub-tags are <code>id</code> and <code>lvl</code>, equivalent to the format of the <code>Enchantments</code> tag that is used for enchantments applied to items.

''The following NBT structure is provided to show how the <code>StoredEnchantments</code> tag is organized, and is not comprehensive above the <code>tag</code> tag. The full NBT for an item can be found [[Chunk format#Items_and_XP_Orbs|here]].''

<div class="treeview" style="margin-top: 0;">
*{{nbt|compound|tag}}: The tag tag.
**{{nbt|list|StoredEnchantments}}: The list of enchantments on this book.
***{{nbt|compound}} An enchantment
****{{nbt|string|id}}: The enchantment name ID
****{{nbt|short|lvl}}: The enchantment level
</div>

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

==Advancements==
{{load advancements|Enchanter}}

==History==
{{History|java}}
{{History||November 24, 2012|link=none|[[Dinnerbone]] stated that he wanted to add a way to [[enchanting|enchant]] items in an [[anvil]] using [[paper]] at [[MINECON 2012]].}}
{{History||December 6, 2012|link={{tweet|Dinnerbone|276777823996366848}}|Dinnerbone released the first image of enchanting a diamond [[sword]] using an enchanted book that has [[Looting]] II for 6 levels. He also stated that "this is the reason I originally added the anvil."}}
{{History||1.4.6|snap=12w49a|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books. 
|The enchantments of enchanted books can be applied to any [[item]].}}
{{History|||snap=12w50a|In [[Survival]] mode, enchanted books can now be used with limited kind of items. In [[Creative]] mode, they can still be used with any item. It was stated that the remaining functionality in Creative mode is intentional.<ref>{{Tweet|Dinnerbone|277084371146665984|Also enchanted books + items they're not intended for are a little broken and I kindly ask you to not exploit it too badly thanks.|December 7, 2012}}</ref><ref>{{bug|MC-4203}}</ref>
|Librarian [[villager]]s now [[trading|sell]] enchanted books at a cost of 1 [[book]] at 5–64 [[emerald]]s. The cost depends on the [[enchanting|enchantment]] level, and the cost can occasionally go above 64 emeralds; see [[Trading/Before 1.8]] for more details.
|Enchanted books now spawn in [[dungeon]], [[mineshaft]], [[desert temple|desert]] and [[jungle temple|jungle]] temple, [[stronghold]] and [[village]] blacksmith [[chest]]s.}}
{{History|||snap=pre|Enchanted books have been added to the [[Creative inventory]]. All levels for each enchanted book can be found in the search tab, and only the maximum level in the ''Tools'' and ''Combat'' tabs.}}
{{History||1.5.1|snap=13w11a|The [[player]] can now combine enchanted books of the same level to create a higher level variation.}}
{{History||1.7.2|snap=13w36a|Enchanted books can now be obtained by [[fishing]] as a "treasure" [[item]]. It is possible for the book to have multiple enchantments.}}
{{History|||snap=13w39a|When [[enchanting]] books, [[book]]s can now gain multiple enchantments.}}
{{History||1.8|snap=14w02a|[[Trading]] for enchanted books has been changed: the [[emerald]] cost has been doubled for [[treasure enchantment]]s, and cost has been capped at 64.}}
{{History|||snap=14w25a|Enchanted book [[Depth Strider]] added, which can go up to Level III and allows for faster underwater moving.}}
{{History||1.9|snap=15w42a|Enchanted book [[Frost Walker]] added, which can go up to Level II and turns water into [[frosted ice]].
|Enchanted book [[Mending]] added, which repairs [[tools]]/[[armor]] upon receiving [[experience]].}}
{{History|||snap=15w43a|The average yield of enchanted books found in [[stronghold]] library [[chest]]s has now more than tripled.}}
{{History|||snap=15w44a|The average yield from [[desert temple]], [[mineshaft]] and [[dungeon]] chests has been substantially increased. The enchantments on these books are now fully random, rather than enchanted only at level 30.}}
{{History||1.11|snap=16w39a|Enchanted books are now found in the new [[woodland mansion]] chests, with fully random enchantments.
|Enchanted book [[Curse of Binding]] added, which prevents removal of cursed [[armor]].
|Enchanted book [[Curse of Vanishing]] added, which destroys cursed items upon [[death]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 403.}}
{{History|||snap=18w09a|Enchanted books now have a chance of generating in [[underwater ruins]] chests.}}
{{History||1.14|snap=18w43a|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.}}
{{History|||snap=18w47a|Enchanted books now have a chance of generating in [[pillager outpost]] chests.}}
{{History||1.16|snap=20w11a|Added [[Soul Speed]] enchanted book, which increases player's speed on [[soul sand]] and [[soul soil]]. It can be obtained only via the [[bartering]].}}
{{History|||snap=20w16a|Soul Speed enchanted books now generate in [[bastion remnants]] chests.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Added [[Swift Sneak]] enchanted book, which increases player's speed while sneaking. It can be obtained only in [[ancient city]] chests.
|Enchanted books now generate in [[ancient city]] chests.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Enchanted books can now interact with [[chiseled bookshelves]].}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books. 
|All levels of each enchanted book can be obtained in the Creative inventory.}}
{{History||v0.13.0|snap=build 1|Enchanted books now generate in [[desert temple]]s.}}
{{History||v0.14.0|snap=build 1|Enchanted books now generate in [[mineshaft]]s.}} 
{{History||v0.15.0|snap=build 1|Enchanted books now generate in [[jungle pyramid]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted books now generate in [[end city|end cities]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Enchanted books can now be [[trading|bought]] from librarian villagers for 5-64 emeralds as part of their tier 1, 4 and 5 trades.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Enchanted books now generate in [[woodland mansion]]s.
|Enchanted books [[Mending]] and [[Frost Walker]] added.}}
{{History|bedrock}}
{{History||1.2.13|snap=beta 1.2.13.5|Added Curse of Binding and Curse of Vanishing [[enchanting|enchantments]], but they are obtainable only via [[trading]] with librarian [[villager]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Enchanted books can now be found in [[underwater ruins]].}}
{{History||1.4.0|snap=beta 1.2.20.2|Curse enchantments are no longer obtainable via trading.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.
|Enchanted books can now be found in [[pillager outpost]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn in [[raid]]s can now [[drops|drop]] enchanted books.
|[[Trading]] has been changed, enchanted books [[trading|bought]] from librarian [[villager]]s now cost 15-64 [[emerald]]s.
|Librarian villagers now have a 50% chance to [[trading|sell]] enchanted books as part of their first, second, and third tier trade, and {{frac|1|3}} chance to sell enchanted books as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.57|Added [[Soul Speed]] enchanted book, which can be obtained only via [[bartering]] and at [[bastion remnants]] chests.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|Enchanted books can now interact with [[chiseled bookshelves]].}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books.
|Only the maximum level of each enchanted book can be obtained within the Creative inventory.}}
{{History|PS4}}
{{History||1.90|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books.
|All levels of each enchanted book can be obtained in the Creative inventory.}}
{{History|foot}}

== Issues ==

{{Issue list}}

==Trivia==

*When obtained through the {{cmd|give}} command with no stored enchantments, the enchanted book has no attached enchantments, but still shines as if it is enchanted.
*A book enchanted with [[Unbreaking]] III appears in both the tools tab and combat tab of the [[Creative]] [[inventory]].

==Gallery==

<gallery>
File:Dinnerbones_enchanted_Books.png|First image of an enchanted book, released by Dinnerbone.
File:DungeonBook.png|An enchanted book found in a dungeon chest.
File:Enchanted_Book.gif|An animation of an enchanted book.
</gallery>

==References ==

{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[de:Verzaubertes Buch]]
[[es:Libro encantado]]
[[fr:Livre enchanté]]
[[hu:Varázskönyv]]
[[ja:エンチャントの本]]
[[ko:마법이 부여된 책]]
[[nl:Betoverd boek]]
[[pl:Zaklęta książka]]
[[pt:Livro encantado]]
[[ru:Зачарованная книга]]
[[th:หนังสือร่ายมนตร์]]
[[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>[[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><li>[[Minecart|Minecart]]<br/>{{about|the rideable minecart in Minecraft|other uses|Minecart (disambiguation)|}}
{{distinguish|Minecraft}}
{{ItemEntity
|image=Minecart.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops={{ItemLink|Minecart}} (1)
|health={{hp|6}}
}}
A '''minecart''' is a train-like vehicle [[entity]] that runs on [[Rail (disambiguation)|rail]]s.

== Obtaining ==

Minecarts can be retrieved by {{control|attack|text=attacking}} them for some time. Minecarts can also be retrieved with one attack from a [[pickaxe]] provided the player's attack cooldown is reset. A minecart is also destroyed if it makes contact with a [[cactus]], or if shot with a [[bow]] and arrow.

=== Crafting ===

{{Crafting
|A2= Iron Ingot
|C2= Iron Ingot
|A3= Iron Ingot
|B3= Iron Ingot
|C3= Iron Ingot
|Output= Minecart
|type= Transportation
}}

=== Entity loot ===
[[Minecart with command block]]s can be given to the player with the {{cmd|/give}} command or through the creative inventory under certain conditions{{only|java}}; [[minecart with spawner]]s{{only|java}} are available only via the {{cmd|/summon}} command. Each drop 1 minecart when broken.

== Usage ==
[[File:RideableMinecart.png|thumb|right|A rideable minecart on rails surrounded by wood slabs]]

A minecart can be placed in the same manner as most blocks but can be placed only on top of a [[rail]]. Once placed, it may be derailed by pushing it off the end of the track. After this, it can be railed again by placing a rail directly below it or pushing it onto a track.

=== Crafting ingredient ===

{{crafting usage}}

=== Transportation ===
[[File:Steve Riding a Minecart.png|thumb|right|upright|[[Steve]] riding a minecart]]
{{see also|Transportation|Riding}}

Minecarts can be ridden by {{control|use|text=pressing the "use" control}} on them. Once inside, an external impulse may be needed to make the minecart start moving. The player can slowly move the minecart forward while riding it, by pressing {{control|forward}}. If a mob walks in front of an empty minecart, it is pulled into the cart.

After rolling off of the end of a track, a minecart can be pushed around on open blocks. If a minecart is pushed onto or falls onto tracks, it "snaps" to those tracks. When riding a minecart, if the minecart lands on a rail, the player does not take any fall damage. <!--Minecarts and arrows don't interact anymore.-->

Unlike with [[bed]]s, there is no message above the hotbar for attempting to enter a fully occupied minecart.<ref>{{Cite bug|MC|161251|Attempting to enter an occupied bed displays a message over the hotbar, but attempting to enter an occupied vehicle does not|date=September 18, 19|resolution=Works as Intended}}</ref>

=== Dismounting ===
Players can exit the minecart by pressing {{control|sneak}}. When a player or mob dismounts a minecart, either by choice, by breaking the minecart, or by passing over an [[activator rail]], the minecart tries to find a safe ejection destination one block away. First it checks the eight horizontally adjacent blocks in the following order of priority relative to direction of travel: right, left, rear right, rear left, front right, front left, rear, front. A valid destination has a block underneath with a solid (not necessarily full) top surface and a space with enough headroom and width for the passenger to fit in when standing at the center. The space can even contain liquid or have open trapdoors if the mob is slim enough, and presence of other mobs doesn't matter. If no valid destination exists on same horizontal level, the minecart then checks the blocks one above, then one below. For a player, the minecart also checks for crawlable destinations. If still none, the minecart chooses its own location. Once the minecart picks a destination, it actually ejects the passenger one block up in the air and the passenger settles down on its own. Under a low ceiling this may cause one tick of suffocation damage. The air drop exists to allow passengers to land on carpet or bottom slabs.

== Behavior ==

=== Speed ===

Minecarts have a predefined speed limit of exactly 8 blocks per second. However, this speed limit does not change the minecart's speed value but instead limits how far a minecart can travel each tick to 0.4 blocks. Therefore, a minecart moving from powered rail to normal rail will move at constant speed for some time until decelerating because its internal speed value is over its speed limit of 8.

[[Powered rail]]s powered by redstone give minecarts a boost of speed. Speed is gradually decreased (due to drag) if there are no powered rails to assist its movement, and an unpowered powered rail slows down a minecart rapidly. The speed decreases at a faster rate when going uphill, compared to when moving horizontally. A minecart does not need powered rails to assist its movement down a hill.
<!-- Is this comparison to real-life physics necessary? - One unit of kinetic energy could be defined as the energy gained by a cart going down a one-block slope and lost by a cart when it goes up a one-block slope. If a 45-degree downward slope is connected directly into an upward slope, an initial height of 60 blocks results in a final height of 40 blocks, a loss of 20 units of potential energy. But if 20 sections of flat track are inserted between the slopes, the final height is 35. This implies that one unit of energy is lost for every 4 sections of horizontal track traveled with an initial stored energy of between 60 and 40. At much lower speeds, much less energy is lost, implying that the energy lost is a percentage of the cart's current energy. The above gives about 0.5% energy loss per section of track. One implication of this is that more energy lost when the cart has more energy, so a gradual slope should allow you to travel much farther distances than a steep slope followed by a long flat section. (This is different from real-life physics, where friction does not increase with velocity. However, it may be an attempt to mirror air resistance, which ''does'' increase with velocity.) -->

Anything in the way of the minecart brings it to a stop. Once a minecart has left the track, it rapidly decelerates within one or two blocks. When mobs touch a minecart, they affect it in the same way a player would, i.e. mobs that move up against a still cart set it in motion.

If a minecart is moving fast enough, it can skip across one block without a track and reattach to track on the other side, at significantly reduced energy and speed. A minecart's hitbox can skip turns if the minecart is boosted using enough powered rails.<ref>{{Cite bug|MC|179971|Minecart skips turns if too fast|date=April 22, 2020}}</ref>

The speed and momentum of a minecart can differ depending on whether or not it is empty, and in the case where a minecart has a container, the speed can differ depending on the quantity and type of items inside.

=== Merged minecarts ===

{{IN|java}}, two or more minecarts can be merged by pushing them into each other so that they overlap. Merged minecarts move as a collective, like a train, and can be useful for long-distance transport because while moving in a straight line, they ''do not need powered rails to keep their speed''.

To summarize:
* Minecarts can also be merged by ''dropping'' a minecart on another minecart.
* Merged minecarts do not lose speed while traveling on straight rails
* ''Corners'' in the rails might cause merged minecarts to unmerge.
* Minecarts with ''chest'' (even fully filled) can also be merged and also do ''not'' require powered rails.

=== Distance traveled by empty carts starting on a downward slope ===

This table shows the distance traveled by an unoccupied minecart on a downward slope, with a boost (or no boost). The most efficient way is to use only 1 boost at the bottom of the incline on the flat surface. Using 2 increases distance by about 20% or 1.5 blocks. All distance trends based on the height seem to be logarithmic.
The carts started from rest, on a slope Height blocks up.

{| class="wikitable" data-description="Distance traveled"
|-
! Height !! No Boost !! Bottom !! Bottom and Top !! All boosts on incline and bottom
|-
| 1 || 2.77m || 8.77 || 10.8 || 10.8
|-
| 2 || 4.59m || 9.59 || 10.83 || 13.37
|-
| 3 || 5.81m || 9.81 || 11.66 || 15.12
|-
| 4 || 7.04m || 10.04 || 12.46 || 16.95
|-
| 5 || 7.87m || 10.87 || 12.29<!--(Yes, it did actually travel less)--> || 17.95
|-
| 10 || 11.65m || 13.38 || 15.12 || 21.68
|-
| 100 || 15.87m || 17.05 || 17.54 || 25.34
|}

=== Collision ===

Minecarts are about the same size as a block (1×1). Because of this, a ladder, door, or trapdoor prevents it from falling down a 1×1 hole. Carts on [[rail]]s also ignore collision in certain situations. A cart traveling uphill, downhill, or on a curve with a block placed in front of it, goes through the block.<ref>{{Cite bug|MC|8004|Minecarts glitch through the stop block of a track that ends with a turn or a downward slope|date=January 20, 2013}}</ref>

A minecart that reaches the end of a rail up against an opaque solid block bounces back, but if the block is transparent then it stops. The minecart can even bounce against an opaque block from a standstill if the rail underneath is powered. A player or mob riding in a minecart does not collide with or suffocate in any transparent blocks but suffocates inside opaque blocks.

Minecarts are completely unaffected by [[ice]], [[packed ice]], and [[blue ice]]<ref>{{Cite bug|MC|8265|Minecarts don't slide on any sort of ice|date=January 25, 2013}}</ref>; they can also be destroyed by coming in contact with [[lava]] or [[fire]].

=== Mobs ===
{{missing information|section|some other mobs that cannot be picked up by minecarts}}
[[File:Minecart shake.gif|thumb|right|Minecart shaking due to being on top of an activator rail.]]
Mobs can ride minecarts, but cannot control them. Mobs cannot exit the minecart unless the minecart is destroyed or moves onto an active [[activator rail]].<ref>{{bug|MC-3866||Endermen, Tamed Wolves and Ocelots cannot teleport when in a Minecart|WAI}}</ref> However, {{in|bedrock}}, [[endermen]] are able to teleport out of minecarts.<ref>{{bug|MCPE-31761||Endermen can still teleport out of the boats and minecarts}}</ref>

A mob can ride a minecart when pushing by a moving minecart on rails {{in|java}} or when colliding with a minecart {{in|bedrock}}. It is easier to pick up a mob when a minecart is turning. {{IN|bedrock}}, [[armor stand]]s can also be picked up.

Most mobs can be picked up by minecarts, except [[ender dragon]]s, [[warden]]s, and [[wither]]s. {{IN|java}}, [[iron golem]]s cannot be picked up either.

A [[jockey]] riding a minecart automatically accelerates the minecart.<ref>{{bug|MC-71998||Minecarts that have passengers within them riding mobs can move automatically when not on rails}}</ref> Mobs in minecarts don't despawn, and don't count towards the mob cap.{{only|java}}<ref>{{bug|MC-182897||Some passenger mobs don't count to the mob cap|WAI}}</ref>

=== Boats ===
{{exclusive|java|section=yes}}
{{UsesBug|section=yes}}
Due to the bug {{bug|MC-113871}}, [[boat]]s can be captured by minecarts. When a boat is placed in a minecart, the minecart travels faster on rails, approximately as fast as on powered rails. The movement in the boat minecart is glitchy and moving forward with the W key moves the cart backward relative to the player, and vice versa for moving backward with the S key. The minecart also moves on the rail-less ground at a crawling speed, but it does not float in the water despite being in a boat. 

Using this glitch can be far more resource-efficient since the boat minecart can move at the speed of a powered rail track on flat ground and on slopes. Another physics glitch with the boat minecart is the extreme reduction in friction when the minecart is on rails, which is similar to the lack of friction when a boat is riding on ice. This glitch can be done in Survival without cheats simply by pushing a minecart into a boat on the track. This bug is now patched.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts use the Friendly Creatures sound category for entity-dependent sound events.<ref group="sound" name="oddcats" />
{{Sound table
|sound=Minecart inside.ogg
|subtitle=MC-177078
|source=Friendly Creatures <ref group="sound" name="oddcats">{{Cite bug|MC|42132|The sounds of minecarts aren't controlled by the correct sound slider|date=December 13, 2013}}</ref>
|overridesource=1
|description=While the player is inside of a moving minecart 
|id=entity.minecart.inside
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume>Based on horizontal speed; it is clamped between 0.0 and 0.75 and will not play if speed is less than 0.01</ref>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart inside underwater1.ogg
|sound2=Minecart inside underwater2.ogg
|sound3=Minecart inside underwater3.ogg
|subtitle=MC-204124
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While inside of a moving minecart when the player's eye level is underwater 
|id=entity.minecart.inside.underwater
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume/>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls <ref group="sound">Shows far less often than it should - see {{bug|MC-181831}}</ref>
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While a minecart is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=item
|nameid=minecart
|id=370
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=entity
|nameid=minecart
|id=84
|foot=1}}

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

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

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

== Achievements ==
{{load achievements|On A Rail}}

== History ==
{{History|java infdev}}
{{History||20100618|[[File:Minecart JE1.png|32px]] [[File:Minecart (item) JE1.png|32px]] Added minecarts. 
|Minecarts are not rideable but instead are used to store things in.
|Right-clicking minecarts opens them like a [[chest]] (with the container called "Minecart". Filling them up makes the [[dirt]] layer inside them rise.}}
{{History||20100624|[[File:Minecart JE2.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] The entity model and item texture of minecarts have been changed.
|The minecart mechanics have been changed to being rideable, removing their ability to store items.
| Minecarts now render a chest inside for unknown reasons.}}
{{History|java alpha}}
{{History||v1.0.4|[[File:Minecart JE3 BE1.png|32px]] Removed the phantom chest from minecarts.
|A [[sitting]] animation for riding minecarts has been added.}}
{{History||v1.0.14|Minecarts are now used to craft [[minecart with furnace]] and [[minecart with chest]].}}
{{History||v1.2.2|Minecarts now appear to other players and can be ridden in multiplayer.
|Minecarts are no longer fully solid - they no longer block movement, and can no longer be stood on top of.}}
{{History|java beta}}
{{History||1.5|Minecarts now break faster with hands.
|[[Powered rail]]s have been introduced, which enables minecarts to move automatically, although previous methods of boosting no longer works, or does not work as effectively.
|The [[detector rail]]s have been introduced for use in detecting minecarts. Prior to this update, carts were detected by using [[pressure plate]]s in line with cart tracks. This had the often undesirable effect of dramatically slowing or even stopping the minecart, which limited the use of this design mostly to boosters.}}
{{History||1.6|snap=Test Build 3|A minecart now transfers any [[Damage#Fall damage|fall damage]] it suffers onto its rider and is not destroyed upon impact.}}
{{History||1.8|snap=Pre-release|If the [[player]] punches a minecart when descending from a jump, it shows the [[Damage#Critical hit|critical hit]] animation. This also happens if the player punches the cart while still in it.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[Daniel Rosenfeld|C418]] posted a [[sound]] showing the sound that minecarts make.}}
{{History|||snap=Beta 1.9 Prerelease 6|The texture of minecarts has changed slightly.}}
{{History||1.3.1|snap=12w15a|Minecarts can now be shot out from [[dispenser]]s.}}
{{History|||snap=12w21b|The [[player]] no longer spawns on top/inside of the minecart after getting out. Instead, the player gets out a few [[block]]s away. Also, the player can nudge a stationary minecart while inside it to move onto a [[Powered Rail|powered rail]], etc.}}
{{History||1.4.2|snap=12w38b|[[Sound]]s for minecarts have been added.}}
{{History||1.5|snap=13w02a|Minecarts can now be edited with a third-party program to show any [[block]] inside of it (it does not take on the characteristics of this block), as well as make it take on the characteristics of any cart.
|Minecart types no longer all share the same [[entity]] ID – <code>Minecart</code> – and are no longer distinguished by a <code>Type</code> field. They have been given separate entity IDs.
|Minecarts are now used to craft [[TNT minecart]]s.}}
{{History|||snap=13w03a|Minecarts are now used to craft [[hopper minecart]]s.}}
{{History|||snap=13w06a|Added [[minecart with spawner]].}}
{{History||1.6.2|snap=release|A [[player]] in a moving minecart no longer turns with the minecart.}}
{{History||1.7.2|snap=13w39a|Added [[minecart with command block]].}}
{{History||1.8|snap=14w11a|Minecart physics have been changed - they now go faster and further, can derail at corners if going too fast and refuse to go uphill and they can also (if going fast enough) go over 1 [[block]].
|The collision and position handling of minecarts have been improved.}}
{{History|||snap=14w17a|All changes to old minecart physics used before 14w11a have been reverted.}}
{{History||1.9.1|snap=pre2|Extreme typos in minecarts with hoppers and chests, reading "''container.minecart'''' have been fixed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartRideable</code> to <code>minecart</code>.
|The player's [[hunger]] bar is now visible when riding in a minecart.}}
{{History||1.13|snap=17w47a|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 328.}}
{{History||1.14|snap=18w43a|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}
{{History|||snap=19w13a|Minecarts now move much slower when pushed along standard [[rail]]s using the W key, even slower on unpowered golden rails, and cannot be pushed off of unpowered golden rails without the [[player]] looking at a certain angle.}}
{{History||1.16|snap=20w09a|Minecart now checks dismount position height against entity height.}}
{{History|||snap=20w16a<!--cannot confirm due to how assets are handled - assuming this due to MC-91163 fix version-->|Minecarts no longer have subtitles for movement.}}
{{History|||snap=20w18a|Mobs in minecarts no longer [[Spawn#Despawning|despawn]].}}
{{History||1.17|snap=20w45a|Minecarts can now move in [[water]].}}
{{History||1.19|snap=22w13a|Minecarts no longer drop when breaking a [[Minecart with Chest|minecart with chest]], [[Minecart with Hopper|hopper]], [[Minecart with Furnace|furnace]], or [[Minecart with TNT|TNT]].<ref>{{bug|MC-249493|||Fixed}}</ref>}}
{{History||1.20|snap=23w16a|Sniffers can now enter [[minecart]]s.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 2|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History|||snap=build 3|Minecarts now ride smoother.}}
{{History||v0.13.0|snap=build 1|[[Sound]]s for minecarts have been added.}}
{{History|||snap=build 2|Minecarts now stack on top of each other.}}
{{History||v0.14.0|snap=build 1|Minecarts can now be used to craft [[Minecart with Chest|storage]], [[Minecart with TNT|TNT]], and [[Minecart with Hopper|hopper minecart]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|Minecarts are now twice the speed than in other editions.}}
{{History||xbox=TU12|Minecarts are now slower.}}
{{History||xbox=TU13|ps=1.0|Minecarts are now faster again.}}
{{History||xbox=TU21|xbone=CU9|ps=1.14|The minecart limit has been increased.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Minecart [[sound]]s have been updated.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The texture of minecarts has been changed.}}

{{History|new 3DS}}
{{History||0.1.0|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart_(item)_JE2_BE1.png|32px]] Added minecarts.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Minecarts appear to float above the track, as their model has no wheels.
* If the player views their inventory while riding in a minecart, they appear sitting down in mid-air.
* The player can teleport to another minecart while sitting in a minecart by right-clicking a minecart in their range. This can be used as an elevator to quickly rise up when minecarts are placed on top of each other.
* If the sound is muted in the options while riding a minecart, and then turned back up, the minecart no longer makes noise in the client until the player exits the minecart.
* If a saddled pig is riding a minecart, the player can ride the pig. Doing so causes the minecart to be able to ride freely at the player's walking speed. It is unknown whether this is a glitch.
* It seems that hunger does not deplete while inactive in a minecart (at least in normal difficulty).
* A minecart (alongside rails and powered rails) are used as Steve's Side-Special in the crossover fighting game Super Smash Bros. Ultimate.

== Gallery ==
<gallery>
Minecart fire pig.png|A pig inside a burning minecart
MinecartInfdev1.png|A Minecart opened in Minecraft Infdev
MinecartInfdev2.png|A Minecart filled in Minecraft Infdev
2ed Spawner Minecart Image and 1st Dispenser cart image.jpg|An image of two [[Minecart with Spawner]]s and unimplemented Minecart with Dispensers.
Minecart with chest and head thing.png|The first image [[Jens Bergensten|Jeb]] released.<ref>{{Tweet|jeb|289000646210904064}}</ref>
Pocket Edition v0.8.0 alpha Development minecarts.png|The first image of minecarts in {{edition|PE}}.
Minecart Booster.png|Minecart booster.
MinecartStack.png|Minecarts being stacked on each other.
Villager minecart.png|Villager in a minecart.
Minecartride.jpg|Player in minecart.
Blocks in Invisible Minecarts.png|Minecarts can be edited to show any block inside, and can also be edited to be invisible.
File:Minecart (Trails and Tales Summer Event) Render.png|A wooden minecart, featured in the [[Trails & Tales Event]].
File:Minecoins 5.png|Two minecarts, as depicted on [[Minecraft Marketplace|Minecoin]] gift cards.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--minecart Taking Inventory: Minecart] – Minecraft.net on September 6, 2019

{{Items}}
{{entities}}

[[Category:Mechanics]]

[[cs:Vozík]]
[[de:Lore]]
[[es:Vagoneta]]
[[fr:Wagonnet]]
[[hu:Csille]]
[[it:Carrello da miniera]]
[[ja:トロッコ]]
[[ko:광산 수레]]
[[nl:Mijnkar]]
[[pl:Wagonik]]
[[pt:Carrinho de mina]]
[[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