Allow and Deny

**This feature is exclusive to  *Bedrock Edition* and  *Minecraft Education*.**

* Allow
* Deny

**Allow** and **deny** blocks can be used to create restricted building areas or areas where users can build.

## Obtaining

Allow and deny blocks can either be obtained by using the pick block control, or by using various commands, such as `/give` or `/setblock`, or the Creative inventory‌[*Minecraft Education only*].

## Usage

When placed, allow blocks let users without world builder status place or destroy blocks in the area above them if immutable world in on, while deny blocks prohibit users without world builder, and their agents, from placing or destroying blocks in the area above them. This area covers an infinite distance above the block but does not cover the area below the block. If two allow or deny blocks are placed on top of one another, the block that is highest takes precedence. The deny block does not prevent the placing of blocks through commands or endermen.

In *Bedrock Edition*, when placed, allow blocks let users in Adventure status place or destroy blocks in the area above, while deny blocks prohibit Members in Survival and even in Creative from placing or destroying blocks in the area above them.

Both blocks are extremely resistant to explosions, even though they can still be destroyed by the ender dragon.

Users with world builder (or Permission level 1‌[*Bedrock Edition only*]) status are able to place and destroy blocks regardless of where any allow or deny blocks are placed and can also destroy and place the blocks themselves.

Allow blocks do not enable players without building/destroying permissions to build on top of them

### Piston interactivity

Allow and deny blocks can not be moved by pistons or sticky pistons.

## Data values

### ID

1. ↑ ID of block's direct item form, which is used in savegame files and addons.
2. ↑ a b Available with `/give` command.
3. ↑ a b The block's direct item form has the same id as the block.

## History

```
{{Item
}}
A '''name tag''' is an [[item]] used to name [[mob]]s in the world and prevent them from despawning naturally.

== Obtaining ==

=== Chest loot ===

{{LootChestItem|name-tag}}

=== Fishing ===

Name tags can be caught from [[fishing]] as part of the treasure category with a {{frac|1|6}} chance after the 5% chance of being a treasure catch. The chance of catching treasure increases with the [[Luck of the Sea]] enchantment.

=== Trading ===

Master-level librarian [[villagers]] offer to sell a name tag for 20 [[emerald]]s as one of their available trades.

== Usage ==

To use a name tag, it must first be renamed with an [[anvil]], costing 1 [[experience]] level.

If it is not renamed, it has no effect when used on a mob. After the name tag is renamed, the player can {{control|use}} it on a mob to give it the name given to the name tag from the anvil. Mobs and name tags can be renamed any number of times. Name tags with the same name are stackable.

Once a mob is named, it keeps its name, and the name tag is consumed.

When a mob is named, it is excluded from the mob cap count.

Effects on various mobs:
* A named [[silverfish]] that goes into a block appears to lose its name because it is replaced by a newly generated unnamed silverfish when the block is broken.
* A baby (animal or villager) keeps its name when becoming an adult.
** A named [[villager]] keeps its name when transformed into a [[Zombie Villager|zombie villager]].
** A named zombie villager keeps its name when cured.
* [[Wandering Trader|Wandering trader]]s still despawn even if they are named, or in a [[minecart]] or [[boat]].
* A named [[wither]]'s boss bar displays its name instead of "Wither".
* Naming an [[ender dragon]] with commands also displays the name in the boss bar.

=== Limitations ===

Any mob can be named except for the [[ender dragon]] and [[player]]s.

A name tag can rename an [[armor stand]], though it does not show the nameplate above its head until <code>CustomNameVisible:1b</code> is set as an extra step.

Once a name tag is used on a mob, it is impossible to remove the name of that mob without the use of commands or external modifications.

=== Behavior ===

Renamed mobs have their name displayed over their head in the same fashion as a mob named through a renamed [[spawn egg]]. Their names can be seen only if they are aimed at from four or fewer blocks away.

Mobs that are named using the name tag never despawn in the world, similar to tamed mobs.<ref>{{tweet|dinnerbone|327485109940916226}}</ref> The exceptions are [[wandering trader]]s or if the mob is hostile and the difficulty is switched to "[[Peaceful]]", causing any hostile mobs or any named hostile mobs to despawn immediately.

If a renamed mob kills a player, the custom name is used in the death message in place of the mob type name. For instance, if a vindicator named "Johnny" kills a player, the death message is "Player was slain by Johnny".

A renamed [[wither]] also has a renamed health bar, and the boss bar doesn't regenerate{{verify}}.

=== Easter eggs ===

* Any mob that receives the name "[[Easter eggs#Upside-down mobs|Dinnerbone]]" or "[[Easter eggs#Upside-down mobs|Grumm]]" is rendered upside down. This even includes the player in early versions of Bedrock Edition if the username is set to either of these and you are not signed into Xbox Live.
* Naming a [[sheep]] "[[Easter eggs#Jeb sheep|jeb_]]" causes its wool to fade between the dye colors, producing a rainbow effect. The [[wool]] that drops when the sheep is [[shear]]ed or killed is the original color of the sheep before the sheep was named.
* Naming a [[rabbit]] "[[Rabbit#Toast|Toast]]" causes it to have a special memorial skin of user xyzen420's girlfriend's [http://www.reddit.com/r/minecraftsuggestions/comments/27hjog/to_themogminer_my_bunny_is_missing_please_help_me/ missing rabbit].
* Naming a [[vindicator]] "Johnny" causes it to be aggressive and attack all [[mob]]s including the wither (except [[ghast]]s and other [[illager]]s). The hostility even extends to [[Ravager|ravagers]] in [[Java Edition|''Java Edition'']], as the "Johnny" vindicator can also attack the ravager while it's riding it.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table

{{edition|bedrock}}:
{{ID table

== History ==

{{History|java}}

{{History|pocket alpha}}
{{History|pocket}}
{{History|bedrock}}

{{History|console}}
{{History|PS4}}

{{History|3ds}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* A stack of up to 64 name tags can be renamed at once. The cost is 1 [[experience]] level per stack, regardless of how many name tags were stacked.
* To name a [[mob]] “Name Tag” the player must give the name tag a random name, then rename it back to “Name Tag”.
* A [[villager]] with a name tag turned into a [[zombie villager]] by a [[zombie]] with a name tag does not despawn, but a villager with a name tag turned into a zombie by a zombie without a name tag does despawn.
* It is impossible to have a rainbow [[sheep]] upside-down, because it is impossible for it to be named “Jeb_” and “Dinnerbone” at the same time.

== Gallery ==
<gallery>
NameTag2.png|To use a name tag, the [[player]] must first rename it using an [[anvil]].
NameTag1.png|A [[wolf]] that has been renamed using a name tag.
RenamedCreeper.png|A [[creeper]] renamed using the name tag.
RenamedWither.png|A [[Wither Boss|wither]] renamed using a name tag. The custom name takes place of "Wither" over the [[health bar]] as well.
YoYo.png|How to use "Grumm" and "Dinnerbone" name tag [[easter egg]] and [[lead]] to make another animal Yo-yo.
Grumm Horse.png|A [[horse]] using the "Grumm" or "Dinnerbone" easter egg to be rendered upside-down.
MineshaftNameTag.png|Name Tag found in a mineshaft chest.
Pocket Edition Name Tag.jpg|First image of a name tag in bedrock edition.
</gallery>

== See also ==
* [[Spawn Egg]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--name-tag Taking Inventory: Name Tag] – Minecraft.net on March 15, 2019

{{items}}

[[de:Namensschild]]
[[es:Etiqueta]]
[[fr:Étiquette]]
[[it:Targhetta]]
[[ja:名札]]
[[ko:이름표]]
[[nl:Naamkaartje]]
[[pl:Znacznik]]
[[pt:Etiqueta]]
[[ru:Бирка]]
[[zh:命名牌]]
[[Category:Renewable resources]]</li><li>[[Brush|Brush]]<br/>{{Item
}}
A '''brush''' is a [[tool]] used in [[archaeology]] to excavate [[suspicious block]]s for different items.

==Obtaining==
===Crafting===
{{Crafting
}}
{{crafting
}}

==Usage==
{{Main|Suspicious Block}}
{{Control|Using}} the brush on any block displays a brushing animation, slowing down the player and creating breaking [[particles]], but not actually damaging the block or brush. When continuously brushing a [[suspicious block]], a random item slowly emerges from it until it drops out, and the block turns into regular [[sand]] or regular [[gravel]], depleting 1 [[durability]] point on the brush. It takes 96 [[game tick]]s (4.8 seconds) to brush a single suspicious block.

=== Enchantments ===
A brush can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
!Name
!Max Level
![[Enchanting|Method]]

== Sounds ==
{{Edition|Java}}:
{{Sound table
<!--All of these sounds are, in fact, different-->
{{Sound table
{{Sound table
{{Sound table
{{Sound table

{{Edition|Bedrock}}:
{{Sound table
{{Sound table
{{Sound table
{{Sound table
{{Sound table

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table

{{edition|bedrock}}:
{{ID table

== Advancements ==
{{load advancements|Respecting the Remnants}}

== History ==
{{History|java}}
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
{{!}}}
}}
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
{{!}}}
}}

{{History|bedrock}}
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
{{!}}}
}}
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
{{!}}}
}}
{{History|foot}}

== Issues ==
{{Issue list}}

== References ==
{{Reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/brush Taking Inventory: Brush] – Minecraft.net on July 6, 2023

{{Items}}

[[Category:Renewable resources]]

[[de:Pinsel]]
[[es:Pincel]]
[[ja:ブラシ]]
[[pt:Pincel]]
[[pl:Pędzel]]
[[uk:Щітка]]
[[zh:刷子]]</li></ul>
```
```
{{Item
'''Emeralds''' are rare minerals that are used primarily as the currency for [[trading]] with [[villager]]s and [[wandering trader]]s. Naturally-occurring emeralds are rarer than [[diamond]]s.

== Obtaining ==

=== Trading (how emerald is renewable) ===
{{main|Trading}}
Emeralds can be obtained by trading with [[villager]]s, since they are the currency that villagers use for trading. Villagers either buy or sell specific goods for emeralds. Some villagers trade stuff that is renewable with emerald.

=== Mining ===
[[Emerald ore]] drops one emerald when mined using an iron or better [[pickaxe]]. If the pickaxe is enchanted with [[Fortune]], it may drop an extra emerald per level of Fortune, up to a maximum of 4 emeralds with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops itself in ore form instead of an emerald.

=== Crafting ===

{{Crafting
}}

=== Smelting ===

{{Smelting
}}

=== Natural generation ===
{{see also|Emerald Ore#Natural generation}}

Emeralds can generate in [[chest]]s in some [[village]] houses or other generated [[Generated structures|structures]].

{{needs update|inaccurate=1|section=1}}
{{LootChestItem|emerald}}

=== Drops ===
[[Vindicator]]s and [[evoker]]s drop 0–1 emeralds upon death. [[Looting]] increases the maximum emerald drop by one per level, for a maximum of 4 emeralds with Looting III.

[[Fox]]es that are holding emeralds also have a chance of 100% to drop the emerald they are holding upon death. Alternatively, the player can drop a food item to entice the fox to drop the emerald without killing it.

{{IN|bedrock}}, with Looting III, it is possible for a vindicator in a raid to drop up to 16 emeralds upon death (vindicator drops + raid drops + an additional drop<!-- emerald from 2/39 chance-->).

== Usage ==

=== Trading ===

{{main|Trading}}

Emeralds are primarily used as currency for [[trading]] with villagers and wandering traders. Trading is typically a faster way to obtain emeralds than by mining, as an emerald ore is rarer than a diamond ore.

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

===Beacons===

Emeralds can be used to select powers from a [[beacon]]. The player must select one of the available powers and then insert an emerald into the item slot.

An emerald can be substituted for an [[iron ingot]], a [[gold ingot]], a [[diamond]] or a [[netherite ingot]] in a beacon.

=== Smithing ingredient ===
{{Smithing
}}

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

== Achievements ==

{{load achievements|The Haggler;Buy Low;Master Trader}}

== Advancements ==
{{load advancements|What a Deal!}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table

{{edition|bedrock}}:
{{ID table

== History ==

{{History|java indev}}
{{History|java}}

{{History|pocket alpha}}
{{History|pocket}}
{{History|bedrock}}

{{History|console}}
{{History|Ps4}}

{{History|new3DS}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
Villager trading preview.png|The first image of the trading system released by [[Jeb]]. What would become emeralds can be seen in the [[inventory]] space.
Emerald Ore 12w21a.png|A wall of [[emerald ore]] utilizing a previous texture in snapshot [[12w21a]].
Room of Emeralds.png|All forms of emeralds in one photo: emerald (in the form of [[emerald block|block]], [[emerald ore|ore]] and the emerald itself).
</gallery>

==Trivia==

*The [[History_of_textures/Unused_textures#Ruby|ruby]] was going to be the [[villager]] currency but was changed to emeralds before the update's release.

== References ==

{{Reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Smaragd]]
[[de:Smaragd]]
[[es:Esmeralda]]
[[fr:Émeraude]]
[[hu:Smaragd]]
[[it:Smeraldo]]
[[ja:エメラルド]]
[[ko:에메랄드]]
[[nl:Smaragd]]
[[pl:Szmaragd]]
[[pt:Esmeralda]]
[[ru:Изумруд]]
[[th:มรกต]]
[[tr:Zümrüt]]
[[uk:Смарагд]]
[[zh:绿宝石]]</li><li>[[Sugar Cane|Sugar Cane]]<br/>{{Block
}}

'''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 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.

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

==Usage==

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.]]

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
</div>
{{clear}}
=== Bedrock Edition ===
{{empty section}}

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table

{{edition|bedrock}}:
{{ID table
{{ID table

=== 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|java beta}}
{{History|java}}

{{History|pocket alpha}}
{{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.
{{History||v0.5.0|Sugar cane can now be grown on [[sand]].
{{History|pocket}}
{{History|bedrock}}

{{History|console}}
{{History||xbox=TU2|Sugar canes are no longer solid, and arrows pass through them.}}

{{History|New Nintendo 3DS Edition}}
{{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>
```
```
{{Extension DPL}}<ul><li>[[Blue Dye|Blue Dye]]<br/>{{Item
}}

'''Blue dye''' is a [[Dye#Primary|primary dye color]].

== Obtaining ==
=== Crafting ===
{{Crafting
}}
{{Crafting
}}
=== Chest loot ===
{{#invoke:LootChest|base3|blue-dye}}

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

=== Loom ingredient ===
{{Banner loom usage|Blue Dye}}

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table

{{edition|bedrock}}:
{{ID table

== History ==

{{History|java}}

{{History|bedrock}}

{{History|ps4}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]

[[de:Blauer Farbstoff]]
[[es:Tinte azul]]
[[fr:Teinture bleue]]
[[ja:青色の染料]]
[[ko:파란색 염료]]
[[pl: Niebieski barwnik]]
[[pt:Corante azul]]
{{ItemEntity
}}

An '''egg''' is an [[item]] that can be used to craft [[food]] items, or thrown for a chance to spawn [[chick]]s on impact.

== Obtaining ==
=== Mob loot ===
{{see also|Tutorials/Egg farming}}
A [[chicken]] drops an egg item every 5–10 minutes. The theoretical average would be expected at 1 egg every 7.5 minutes, or 0.1333 eggs per minute.

A [[fox]] sometimes spawns holding an egg, which it always drops upon death. Alternatively, a player dropping a food item causes the fox to drop the egg.

=== Chest loot ===
{{LootChestItem|egg}}

== Usage ==

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

=== Combat ===

=== Spawning chickens ===

The expected value of the number of chicks an egg produces is {{fraction|35|256}} or 13.7%. This means that on average, a chick is spawned every 7.3 eggs, a stack of 16 eggs spawns 2.188 chicks, and a full inventory including the hotbar and off-hand (<code>37 * 16 = 592</code> eggs) is expected to spawn approximately 81 chicks.

== Sounds ==
{{Edition|Java}}:<br>
Thrown eggs use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
{{Sound table
{{Sound table

{{Edition|Bedrock}}:
{{Sound table
{{Sound table
{{Sound table

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
{{ID table
{{edition|bedrock}}:
{{ID table
{{ID table

=== Entity Data ===

Thrown eggs have entity data that define various properties of the entity.

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

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

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

==Advancements==
{{Load advancements|Bullseye}}

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

== History ==
{{History|java alpha}}
{{History|java beta}}
{{History||1.2|Eggs are now used to craft [[cake]]s.
{{History|java}}

{{History|pocket alpha}}
{{History||v0.7.0|[[Chicken]]s now occasionally lay eggs.
{{History|pocket}}
{{History|bedrock}}
{{History||1.2.0|Eggs now deal knockback to [[player]]s.}}

{{History|console}}
{{History|PS4}}

{{History|New 3DS}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Eggs break mid-fall if hit by another projectile; the chance of spawning a chick is not affected.
* Throwing an egg at a [[nether portal]] breaks the egg when it hits the portal.
* A thrown egg faces toward the [[player]] in first-person view, while it appears rotated horizontally in third-person view. This is the case for all throwable [[item]]s ([[ender pearl]]s, eggs, [[snowball]]s, and all throwable [[potion]]s).

== References ==
{{Reflist}}

{{Items}}
{{entities}}

[[Category:Combat]]

[[cs:Vajíčko]]
[[de:Ei]]
[[es:Huevo]]
[[fr:Œuf]]
[[hu:Tojás]]
[[it:Uovo]]
[[ja:卵]]
[[ko:달걀]]
[[nl:Ei]]
[[pl:Jajko]]
[[pt:Ovo]]
[[ru:Яйцо]]
[[th:ไข่ไก่]]
[[uk:Яйце]]
[[zh:鸡蛋]]
<br /></li></ul>
```
```
{{Extension DPL}}<ul><li>[[Flint|Flint]]<br/>{{Item
}}

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

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

=== Trading ===

=== Chest loot ===

{{LootChestItem|flint}}

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

{{crafting usage}}

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

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

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table

{{edition|bedrock}}:
{{ID table

== History ==
{{History|java indev}}
{{History|java alpha}}
{{History||v1.0.14|Crafting [[arrow]]s now requires flint, rather than [[iron ingot]]s.}}
{{History|java}}

{{History|pocket alpha}}
{{History||v0.4.0|Flint can now be used to make [[flint and steel]].}}
{{History|pocket}}
{{History|bedrock}}

{{History|console}}
{{History|foot}}

== Issues ==
{{issue list}}

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

== References ==
{{reflist}}

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

{{Items}}

[[Category:Renewable resources]]

[[cs:Pazourek]]
[[de:Feuerstein]]
[[es:Pedernal]]
[[fr:Silex]]
[[hu:Kovakő]]
[[it:Selce]]
[[ja:火打石]]
[[ko:부싯돌]]
[[nl:Vuursteen]]
[[pl:Krzemień]]
[[pt:Sílex]]
[[ru:Кремень]]
[[th:หินเหล็กไฟ]]
[[uk:Кремінь]]
[[zh:燧石]]</li><li>[[Charcoal|Charcoal]]<br/>{{Item
}}
'''Charcoal''' is an [[item]] obtained by smelting [[log]]s or [[wood]]. It is used as fuel, or for crafting [[torch]]es and [[campfire]]s. Unlike [[coal]], charcoal cannot be traded with [[villager]]s or crafted into a [[block of coal]]. Coal and charcoal also cannot stack together. It can be used as a substitute for coal, as both charcoal and coal have an equivalent duration when smelted.

== Obtaining ==

=== Breaking ===

A [[campfire]] broken without the [[Silk Touch]] enchantment drops 2 charcoal.

=== Smelting ===

{{Smelting
}}

=== Compound creation ===

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

{| class="wikitable"
!Name
!Elements
!Example recipe
!Charcoal

== Usage ==

=== Crafting ingredient ===

{{crafting usage|Charcoal}}
{{Crafting
}}

=== Lab table ingredient ===

Charcoal is one of the [[lab table]] ingredients needed to produce the [[heat block]].{{only|education}}

{| class="wikitable"
! Result
! Materials Needed
!rowspan=2|{{slot|Heat Block.gif}}<br>[[Heat Block]]

=== Fuel ===

When used in a [[furnace]] as a fuel, a piece of charcoal lasts 80 seconds (smelting up to 8 items), the same as coal. Charcoal used as fuel lasts more than 5 times longer than [[wood planks]] or [[wood]] logs used as fuel, being more efficient than any other use of wood for smelting in ''[[Java Edition]]'', but outstripped by [[wooden slabs]] in Bedrock.

Coal and charcoal are also the only fuels accepted by [[Minecart with Furnace|furnace minecarts]]. They provide approximately four minutes of transit each.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table

{{edition|bedrock}}:
{{ID table

== Achievements ==

{{load achievements|Renewable Energy}}

== History ==

{{History|java beta}}
{{History|java}}

{{History|pocket alpha}}
{{History|bedrock}}

{{History|console}}

{{History|New 3DS}}
{{History|foot}}

== Issues ==
{{issue list|Charcoal}}

== How it's renewable ==
Charcoal comes from smelting log. Logs are renewable and charcoal can be used as fuel to smelt logs{{Items}}

[[Category:Renewable resources]]

[[de:Holzkohle]]
[[fr:Charbon (objet)#Charbon de bois]]
[[hu:Faszén]]
[[it:Carbonella]]
[[ko:목탄]]
[[pt:Carvão#Carvão vegetal]]
[[nl:Steenkool#Houtskool]]
[[ru:Уголь#Древесный уголь]]
[[zh:木炭]]</li></ul>
```

## Gallery

* The allow and deny blocks placed in a world along with other Education Edition features.
* Example of allow and deny blocks in Pocket Edition Alpha.

## References

1. ↑ https://education.minecraft.net/support/knowledge-base/specialty-blocks/#allowdeny