Minecraft Wiki
Advertisement

"whitelist" redirects here. For the command, see Commands/whitelist.
Server

The default server.properties file for Java Edition.

server.properties is the file stores all the settings for a multiplayer (Minecraft or Minecraft Classic) server.

When editing server.properties it is important that the same structure as the original is used, although the order of the lines is arbitrary. The text before the equal sign is the key, which should not be changed. The text after the equal sign is the property's value, which can be edited. Lines that begin with # are comments – altering or removing these lines has no effect on the game.

After changes are made to the server.properties file, the server must be restarted for them to take effect.

If the server.properties file does not list all properties (such as if a new version of the server adds new properties, or if the file does not exist), then on startup the server rewrites the server.properties file with the new properties listed and set them to their default values.

File location

Java Edition

This file is automatically generated upon first start of the server (if it doesn't exist).

OS File Location Notes
Windows Same directory as server.jar
Linux

Unix Unix/Mac

Path of Working Directory (pwd)

If you start it from your home directory (/home/yourname) the server files will be created in /home/yourname. Follow these guidelines for ensuring that the server files are generated where you would expect them.

  • Set aside an entire directory for all of the server files. (Things could get messy if you don't).
    • Place your server.jar here.
  • Use this script as a guideline for setting up a startup script for your Minecraft server.
    • Make sure it's in your executable $PATH
    • Be sure to add the execution permission to the startup script (chmod +x file_name, or use a folder manager)
      • minecraft_server.sh

Bedrock Edition

This file is downloaded with bedrock_server.exe.

OS File Location
Windows Same directory as bedrock_server.exe
Linux Same directory as bedrock_server

server.properties

These are the default settings for a newly installed Minecraft server:

Java Edition

#Minecraft server properties
#(File Modification Datestamp)
broadcast-rcon-to-ops=true
view-distance=10
max-build-height=256
server-ip=
level-seed=
rcon.port=25575
gamemode=survival
server-port=25565
allow-nether=true
enable-command-block=false
enable-rcon=false
enable-query=false
op-permission-level=4
prevent-proxy-connections=false
generator-settings=
resource-pack=
level-name=world
rcon.password=
player-idle-timeout=0
motd=A Minecraft Server
query.port=25565
force-gamemode=false
hardcore=false
white-list=false
broadcast-console-to-ops=true
pvp=true
spawn-npcs=true
generate-structures=true
spawn-animals=true
snooper-enabled=true
difficulty=easy
function-permission-level=2
network-compression-threshold=256
level-type=default
spawn-monsters=true
max-tick-time=60000
enforce-whitelist=false
use-native-transport=true
max-players=20
resource-pack-sha1=
spawn-protection=16
online-mode=true
allow-flight=false
max-world-size=29999984

Bedrock Edition

server-name=Dedicated Server
gamemode=survival
difficulty=easy
allow-cheats=false
max-players=10
online-mode=true
white-list=false
server-port=19132
server-portv6=19133
view-distance=32
tick-distance=4
player-idle-timeout=30
max-threads=8
level-name=Bedrock level
level-seed=
default-player-permission-level=member
texturepack-required=false

Minecraft server properties

Java Edition

Key Type Default Value Description
allow-flight boolean false Allows users to use flight on your server while in Survival mode, if they have a mod that provides flight installed.

With allow-flight enabled, griefers may become more common, because it makes their work easier. In Creative mode this has no effect.

false - Flight is not allowed (players in air for at least 5 seconds get kicked).
true - Flight is allowed, and used if the player has a fly mod installed.
allow-nether boolean true Allows players to travel to the Nether.
false - Nether portals will not work.
true - The server allows portals to send players to the Nether.
difficulty string easy Defines the difficulty (such as damage dealt by mobs and the way hunger and poison affects players) of the server.

If a legacy difficulty number is specified, it is silently converted to a difficulty name.

peaceful (0)
easy (1)
normal (2)
hard (3)
enable-command-block boolean false Enables command blocks
enable-query boolean false Enables GameSpy4 protocol server listener. Used to get information about server.
enable-rcon boolean false Enables remote access to the server console.
force-gamemode boolean false Force players to join in the default game mode.
false - Players will join in the gamemode they left in.
true - Players will always join in the default gamemode.
function-permission-level integer (1-4) 4 Sets the default permission level for functions.

See #op-permission-level for the details on the 4 levels.

gamemode string survival Defines the mode of gameplay.

If a legacy gamemode number is specified, it is silently converted to a gamemode name.

survival (0)
creative (1)
adventure (2)
spectator (3)
generate-structures boolean true Defines whether structures (such as villages) can be generated.
false - Structures will not be generated in new chunks.
true - Structures will be generated in new chunks.

Note: Dungeons still generate if this is set to false.

generator-settings string blank The settings used to customize world generation. See Superflat and Customized for possible settings and examples.
hardcore boolean false If set to true, server difficulty is ignored and set to hard and players will be set to spectator mode if they die.
level-name string world The "level-name" value is used as the world name and its folder name. You may also copy your saved game folder here, and change the name to the same as that folder's to load it instead.
Characters such as ' (apostrophe) may need to be escaped by adding a backslash before them.
level-seed string blank Add a seed for your world, as in Singleplayer.
Some examples are: minecraft, 404, 1a2b3c.
level-type string default Determines the type of map that is generated.
default - Standard world with hills, valleys, water, etc.
flat - A flat world with no features, can be modified with generator-settings.
largebiomes - Same as default but all biomes are larger.
amplified - Same as default but world-generation height limit is increased.
buffet - Same as default unless generator-settings is set to a preset.
max-build-height integer 256 The maximum height in which building is allowed. Terrain may still naturally generate above a low height limit.
max-players integer (0-2147483647) 20 The maximum number of players that can play on the server at the same time. Note that more players on the server consume more resources. Note also, op player connections are not supposed to count against the max players, but ops currently cannot join a full server. However, this can be changed by going to the file called ops.json in your server directory, opening it, finding the op you want the change, and changing the setting called bypassesPlayerLimit to true (the default is false). This means that that op does not have to wait for a player to leave in order to join. Extremely large values for this field result in the client-side user list being broken.
max-tick-time
integer (0–(2^63 - 1)) 60000 The maximum number of milliseconds a single tick may take before the server watchdog stops the server with the message, A single server tick took 60.00 seconds (should be max 0.05); Considering it to be crashed, server will forcibly shutdown. Once this criterion is met, it calls System.exit(1).
-1 - disable watchdog entirely (this disable option was added in 14w32a)
max-world-size
integer (1-29999984) 29999984 This sets the maximum possible size in blocks, expressed as a radius, that the world border can obtain. Setting the world border bigger causes the commands to complete successfully but the actual border does not move past this block limit. Setting the max-world-size higher than the default doesn't appear to do anything.

Examples:

  • Setting max-world-size to 1000 allows you to have a 2000×2000 world border.
  • Setting max-world-size to 4000 gives you an 8000×8000 world border.
motd string A Minecraft Server This is the message that is displayed in the server list of the client, below the name.
  • The MOTD supports color and formatting codes.
  • The MOTD supports special characters, such as "♥". However, such characters must be converted to escaped Unicode form. An online converter can be found here.
  • If the MOTD is over 59 characters, the server list will likely report a communication error.
network-compression-threshold
integer 256 By default it allows packets that are n-1 bytes big to go normally, but a packet of n bytes or more will be compressed down. So, a lower number means more compression but compressing small amounts of bytes might actually end up with a larger result than what went in.
-1 - disable compression entirely
0 - compress everything

Note: The Ethernet spec requires that packets less than 64 bytes become padded to 64 bytes. Thus, setting a value lower than 64 may not be beneficial. It is also not recommended to exceed the MTU, typically 1500 bytes.

online-mode boolean true Server checks connecting players against Minecraft account database. Only set this to false if your server is not connected to the Internet. Hackers with fake accounts can connect if this is set to false! If minecraft.net is down or inaccessible, no players can connect if this is set to true. Setting this variable to off purposely is called "cracking" a server, and servers that are presently with online mode off are called "cracked" servers, allowing players with unlicensed copies of Minecraft to join.
true - Enabled. The server will assume it has an Internet connection and checks every connecting player.
false - Disabled. The server will not attempt to check connecting players.
op-permission-level integer (1-4) 4 Sets the default permission level for ops when using /op. All levels inherit abilities and commands from levels before them.
1 - Ops can bypass spawn protection.
2 - Ops can use all singleplayer cheats commands (except /publish, as it is not on servers; along with /debug) and use command blocks. Command blocks, along with Realms owners/operators, have the same permissions as this level.
3 - Ops can use most multiplayer-exclusive commands, including /debug, and commands that manage players (/ban, /op, etc).
4 - Ops can use all commands including /stop, /save-all, /save-on, and /save-off.
player-idle-timeout integer 0 If non-zero, players are kicked from the server if they are idle for more than that many minutes.
Note: Idle time is reset when the server receives one of the following packets:
prevent-proxy-connections boolean false If the ISP/AS sent from the server is different from the one from Mojang's authentication server, the player is kicked
true - Enabled. Server prevents users from using vpns or proxies.
false - Disabled. The server doesn't prevent users from using vpns or proxies.
pvp boolean true Enable PvP on the server. Players shooting themselves with arrows receive damage only if PvP is enabled.
true - Players can kill each other.
false - Players cannot kill other players (also known as Player versus Environment (PvE)).

Note: Indirect damage sources spawned by players (such as lava, fire, TNT and to some extent water, sand and gravel) still deal damage to other players.

query.port integer (1-65534) 25565 Sets the port for the query server (see enable-query).
rcon.password string blank Sets the password for RCON: a remote console protocol that can allow other applications to connect and interact with a Minecraft server over the internet.
rcon.port integer (1-65534) 25575 Sets the RCON network port.
resource-pack string blank Optional URI to a resource pack. The player may choose to use it.

Note that the ":" and "=" characters need to be escaped with backslash (\), e.g. http\://somedomain.com/somepack.zip?someparam\=somevalue

The resource pack may not have a larger file size than 50 MiB (≈ 50.4 MB). Note that download success or failure is logged by the client, and not by the server.

resource-pack-sha1
string blank Optional SHA-1 digest of the resource pack, in lowercase hexadecimal. It's recommended to specify this. This is not yet used to verify the integrity of the resource pack, but improves the effectiveness and reliability of caching.
server-ip string blank Set this if you want the server to bind to a particular IP. It is strongly recommended that you leave server-ip blank!
Set to blank, or the IP you want your server to run (listen) on.
server-port integer (1-65534) 25565 Changes the port the server is hosting (listening) on. This port must be forwarded if the server is hosted in a network using NAT (If you have a home router/firewall).
snooper-enabled boolean true Sets whether the server sends snoop data regularly to http://snoop.minecraft.net.
false - disable snooping.
true - enable snooping.
spawn-animals boolean true Determines if animals can spawn.
true - Animals spawn as normal.
false - Animals immediately vanish.

Tip: if you have major lag, turn this off/set to false.

spawn-monsters boolean true Determines if monsters can spawn.
true - Enabled. Monsters will appear at night and in the dark.
false - Disabled. No monsters.

This setting has no effect if difficulty = 0 (peaceful). If difficulty is not = 0, a monster can still spawn from a Monster Spawner.

Tip: if you have major lag, turn this off/set to false.

spawn-npcs boolean true Determines whether villagers can spawn.
true - Enabled. Villagers will spawn.
false - Disabled. No villagers.
spawn-protection integer 16 Determines the radius of the spawn protection as 2x+1. Setting this to 0 does not disable spawn protection, but protects the single block at the spawn point. 1 protects a 3×3 area centered on the spawn point. 2 protects 5×5, 3 protects 7×7, etc. This option is not generated on the first server start and appears when the first player joins. If there are no ops set on the server, the spawn protection is disabled automatically.
use-native-transport boolean true Linux server performance improvements: optimized packet sending/receiving on Linux
true - Enabled. Enable Linux packet sending/receiving optimization
false - Disabled. Disable Linux packet sending/receiving optimization
view-distance integer (3-32) 10 Sets the amount of world data the server sends the client, measured in chunks in each direction of the player (radius, not diameter). It determines the server-side viewing distance. (see Render distance)

10 is the default/recommended. If you have major lag, reduce this value.

Note: A value less than 9 has a big impact on mob spawning on the server, as noted in bug MC-2536.

white-list boolean false Enables a whitelist on the server.

With a whitelist enabled, users not on the whitelist cannot connect. Intended for private servers, such as those for real-life friends or strangers carefully selected via an application process, for example.

false - No white list is used.
true - The file whitelist.json is used to generate the white list.

Note: Ops are automatically white listed, and there is no need to add them to the whitelist.

enforce-whitelist boolean false Enforces the whitelist on the server.

When this option is enabled, users who are not present on the whitelist (if it's enabled) get kicked from the server after the server reloads the whitelist file.

false - No user will be kicked if not on the whitelist.
true - Online users not on the whitelist will be kicked.

In versions prior to Java Edition 1.12, the announce-player-achievements boolean property (default true) was used to toggle whether achievements were broadcasted to all players. This property no longer exists, but if it is set, the announceAdvancements gamerule is automatically updated to match, and the property is removed.

Bedrock Edition

Option name Possible values Default value When is it used Use Notes
gamemode survival (0), creative (1), adventure (2) survival Always or only for new players Sets the game mode for new players.
difficulty peaceful (0), easy (1), normal (2), hard (3) easy Always Sets the difficulty of the world.
level-type FLAT, LEGACY, DEFAULT DEFAULT World creation Determines the type of map that is generated.
server-name Any string Dedicated Server Always Used as the server name This is the server name shown in the in-game server list.
max-players Positive integer 10 Always The maximum number of players that can play on the server. The maximum numbers of players that should be able to play on the server. Higher values have performance impact.
server-port Any integer 19132 Always Which IPv4 port the server should listen to.
server-portv6 Any integer 19133 Always Which IPv6 port the server should listen to.
level-name Any string level Always The "level-name" value is used as the world name and its folder name. You may also copy your saved game folder here, and change the name to the same as that folder's to load it instead. The name of level to be used/generated. Each level has its own folder in /worlds.
level-seed Any string Defaults to empty (th34f1ju34facjn5f871df312h) World creation Use to randomize the world The seed to be used for randomizing the world. If left empty, a seed is chosen at random.
online-mode true, false true Always If true then all connected players must be authenticated to Xbox Live. If true then all connected players must be authenticated to Xbox Live.
white-list true, false false Always If true then all connected players must be listed in the separate whitelist.json file. If true then all connected players must be listed in the separate whitelist.json file.
allow-cheats true, false false Always If true then cheats like commands can be used.
view-distance Any integer 10 Always The maximum allowed view distance in number of chunks. The maximum allowed view distance. Higher values have performance impact.
player-idle-timeout Any integer 30 Always After a player has idled for this many minutes they will be kicked. After a player has idled for this many minutes they will be kicked.
max-threads Any integer 8 Always Maximum number of threads the server will try to use. If set to 0 or removed then it will use as many as possible. Maximum number of threads the server will try to use.
tick-distance An integer in the range [4, 12] 4 Always The world will be ticked this many chunks away from any player. The world will be ticked this many chunks away from any player. Higher values have performance impact.
default-player-permission-level visitor, member, operator member Always Permission level for new players joining for the first time. Which permission level new players will have when they join for the first time.
texturepack-required true, false false Always Force clients to use texture packs in the current world If the world uses any specific texture packs then this setting will force the client to use it.

Minecraft Classic server properties

Key Type Default Value Description
verify-names boolean true If enabled the server will make sure that the client is logged in with the same IP on Minecraft.net. This has caused problems for people trying to play on the same computer they are hosting the server on as the server will see the local IP (127.0.0.1) while Minecraft.net will see the external IP. It is recommended that this is enabled unless you want to play on your server from the same computer you are hosting it on
true - Enabled. The server will check all names with Minecraft.net
false - Disabled. The server will make sure the IP matches
admin-slot boolean false Allow ops to join even if the server is full.
public boolean Whether the server should be displayed in the server list, or not.
true - The server will be displayed in the server list - anyone can see it.
false - Only people with the URL which can be found in externalurl.txt and people who know the IP and port can join the server
server-name string The name of the server. This is displayed in the server list and when someone is joining the server
  • A single line of text. Characters such as ' (apostrophe) may need to be escaped by adding a backslash before them.
max-players integer (0-256) The max numbers of players that can play on the server at the same time. Note that if more players are on the server it will use more resources. Note also, admin connections are not counted against the max players.
max-connections integer (1-3) The max number of connections the server will accept from the same IP.

Note: If you try to set it higher than 3 it will be changed back to 3.

motd string MOTD is short for Message of the day, though you do not need to change it every day. The MOTD is displayed when people join the server.
grow-trees boolean Whether or not the server will allow planted saplings to grow into trees.
true - the server will allow saplings to grow into trees.
false - the server will not allow saplings to grow into trees.

History

Java Edition
1.14
{{Extension DPL}}<ul><li>[[Raw Chicken|Raw Chicken]]<br/>{{about|a food item|the mob "chicken"|Chicken}}{{About|a food item|the cooked version|Cooked Chicken}}{{Item
| title = Raw Chicken
| image = Raw Chicken.png
| heals = {{hunger|2}}
| effects = {{EffectLink|Hunger}} (0:30) (30% chance)
| renewable = Yes
| stackable = Yes (64)
}}

'''Raw chicken''' is a [[food]] item that can be eaten by the [[player]]. It can be cooked in a [[furnace]], [[smoker]], or a [[campfire]] to make [[cooked chicken]].

==Obtaining==

===Mob loot ===

Upon death, an adult [[chicken]] drops 1 raw chicken. The maximum is increased by 1 per level of [[Looting]], for a maximum of 1-4 with Looting III. Chickens that die while on [[fire]] drop [[cooked chicken]] instead.

===Cat gifts===
{{main|Cat#Gifts}}

Tamed [[cat]]s have a 70% chance to give the [[player]] a gift as they wake up from a [[bed]], and the gift has a 16.13% chance to be raw chicken.

==Usage==

=== Food===

To eat raw chicken, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} hunger and 1.2 hunger [[Hunger#Mechanics|saturation]], but has a 30% chance of inflicting food poisoning (the {{EffectLink|link=Hunger (status effect)|Hunger}} effect for 30 seconds).

<nowiki>*This has a similar effect as [[Rotten Flesh]].

===Smelting ingredient===

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

===Wolves===

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

Wolves are at no risk of food poisoning.

===Trading===
Novice-level Butcher villagers have a {{frac|1|3}} chance to buy 14 raw chicken for an emerald.{{only|bedrock}}

Novice-level Butcher villagers have a 50% chance of offering to buy 14 raw chicken for an emerald.{{only|java}}

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

==Data values==

===ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Raw Chicken
|spritetype=item
|nameid=chicken
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Chicken
|spritetype=item
|nameid=chicken
|id=275
|form=item
|foot=1}}

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

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

==History==

{{History|java beta}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93330811608240128|A teaser image for [[cooked chicken]] is revealed by [[Jeb]].}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93946593748852736|[[File:Raw Chicken (pre-release).png|32px]] Jens reveals raw chicken with changed texture based on feedback, saying "the chicken may be too smooth compared to other MC [[item]]s."<ref>https://twitter.com/jeb_/status/93335976298033152</ref>}}
{{History||1.8|snap=Pre-release|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken. 
|Raw chicken is a new [[drops|drop]], obtained by killing a [[chicken]], usually along with a [[feather]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Raw chicken can now be used to [[breeding|breed]] wolves.}}
{{History||1.3.1|snap=12w21a|Raw chicken can now be [[trading|sold]] to farmer [[villager]]s, at 14–17 raw chicken for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|Trading has been changed: butcher [[villager]]s now [[trading|buy]] 14–18 raw chicken for 1 [[emerald]].
|Farmer villagers no longer [[trading|trade]] raw chicken.}}
{{History||1.9|snap=15w43a|[[Chicken]]s can now [[drops|drop]] several raw chickens, if killed with a [[Looting]]-[[enchanting|enchanted]] [[weapon]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 365.}}
{{History||1.14|snap=18w43a|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer raw chicken as [[Cat#Gifts|gift]]s.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken.}}
{{History||v0.5.0|Raw chicken now restores {{hp|2}} instead of {{hp|1}}.}}
{{History||v0.8.0|snap=build 1|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History||v0.11.0|snap=build 1|Raw chicken now sometimes inflicts the [[hunger]] effect, despite the hunger bar not existing yet.}}
{{History||v0.12.1|snap=build 1|Raw chicken now restores [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher [[villager]]s now [[trading|buy]] 14-18 raw chicken for one [[emerald]].}}
{{History|bedrock}}
{{History||?|[[Chicken]]s can now [[drops|drop]] several raw chicken, if killed with a [[Looting]]-[[enchanting|enchanted]] [[weapon]].}} 
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] raw chicken as a gift.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Butcher [[villager]]s now have {{frac|1|3}} of a chance to [[trading|buy]] 14 raw chicken.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Raw Chicken JE1 BE1.png|32px]] Added raw chicken.}}
{{History||xbox=TU12|[[File:Raw Chicken JE2 BE2.png|32px]] The texture of raw chicken has been changed, so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Raw Chicken JE3 BE3.png|32px]] The texture of raw chicken has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Raw Chicken JE2 BE2.png|32px]] Added raw chicken.}}
{{History|foot}}

==Issues==

{{issue list}}

==Gallery ==
<gallery>
Beta 1.8 Dev Chicken 2.png|First image of raw chicken.
</gallery>

==References==
{{reflist}}

{{Items}}

[[de:Rohes Hühnchen]]
[[es:Pollo crudo]]
[[fr:Poulet cru]]
[[hu:Nyers csirkehús]]
[[ja:生の鶏肉]]
[[ko:익히지 않은 닭고기]]
[[nl:Rauwe kip]]
[[pl:Surowy kurczak]]
[[pt:Frango cru]]
[[ru:Сырая курятина]]
[[th:ไก่ดิบ]]
[[zh:生鸡肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Yellow Dye|Yellow Dye]]<br/>{{Item
| title = Yellow Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Yellow dye''' is a [[Dye#Primary|primary dye]] created by placing a [[dandelion]] or [[sunflower]] into a [[crafting]] grid.

== Obtaining ==

=== Crafting ===
{{Crafting
  |Dandelion;Sunflower
  |Output=Yellow Dye;Yellow Dye,2
  |type=Material
}}

=== Chest loot ===
{{LootChestItem|yellow-dye}}

=== Trading ===

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

== Usage ==
{{dye usage}}

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

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Yellow Dye
|spritetype=item
|nameid=yellow_dye
|aliasid=dye / 11
|id=406
|form=item
|translationkey=item.dye.yellow.name
|foot=1}}

== Video ==
{{yt|nOQUDjEHGRg}}

== History ==
{{History|java beta}}
{{History||1.2|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History||1.6.6|Dandelions can now be generated using [[Bone Meal|bone meal]], making dandelion yellow [[renewable resource|renewable]].}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Dandelion yellow can be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{History||1.7.2|snap=13w36a|Can now be crafted using sunflower.}}
{{History|||snap=13w37a|Each dandelion now yields only 1 dandelion yellow, instead of 2.}}
{{History|||snap=13w41a|[[Stained glass]] can now be [[crafting|crafted]].}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be [[dye]]d.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Yellow dye can now be used to craft yellow [[concrete powder]].}}
{{History|||snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|"Dandelion Yellow" has now been renamed to "Yellow Dye".
|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}
{{History|||snap=18w44a|Yellow dye can now change the text color on [[sign]]s to yellow.}}
{{History|||snap=18w49a|Yellow dye can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells yellow dye.}}
{{History|||snap=19w11a|Yellow dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Yellow dye can now be used to craft [[yellow candle]]s.}}
{{History|||snap=21w19a|Yellow dye can no longer be used to craft yellow candles.}}
{{History|||snap=Pre-release 1|Yellow dye can once again used to craft yellow candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Yellow dye can now change the text color on [[hanging sign]]s to yellow.}}
{{History||1.20|snap=23w12a|Yellow dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Yellow dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], yellow dye is now common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History||v0.8.0|snap=build 1|Dandelion yellow is now used to craft [[cocoa beans]].}}
{{History||v0.14.0|snap=build 1|Yellow dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History||v0.16.0|snap=build 1|Dandelion yellow is no longer used to [[crafting|craft]] cocoa beans.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Yellow dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Yellow dye can now be used to dye [[shulker box]]es, [[bed]]s, and craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Yellow dye can now be used to craft patterns on [[banner]]s, [[firework star]]s, and [[stained glass]].}}
{{History||1.4.0|snap=beta 1.2.20.1|Yellow dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Dandelion yellow can now be used to dye [[cat]] collars.}}
{{History|||snap=beta 1.8.0.10|"Dandelion Yellow" has now been renamed to "Yellow Dye".}}
{{History||1.10.0|snap=beta 1.10.0.3|Yellow dye is now [[trading|sold]] by [[wandering trader]]s.
|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Yellow dye can now be found in [[village]] mason [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Yellow dye can now be sold to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of yellow dye has been changed from <code>dye/11</code> to <code>yellow_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History|ps4}}
{{History||1.83|"Dandelion Yellow" has now been renamed to "Yellow Dye".}}
{{History||1.90|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

[[cs:Pampelišková žluť]]
[[de:Gelber Farbstoff]]
[[es:Tinte amarillo]]
[[fr:Teinture jaune]]
[[hu:Pitypangsárga]]
[[ja:黄色の染料]]
[[ko:노란색 염료]]
[[nl:Paardenbloemgeel]]
[[pl:Żółty barwnik]]
[[pt:Corante amarelo]]
[[ru:Жёлтый краситель]]
[[zh:黄色染料]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li></ul></nowiki>
Pre-Release 4function-permission-level option got added, that controls what permission level functions have
Advertisement