Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition. 

Commands/infobox

Drops the given loot table into the specified inventory or into the world.

Syntax

loot <TARGET> <SOURCE>
<TARGET>:
spawn <targetPos>
Spawns item entities.
replace entity <entities> <slot> [<count>]
Distributes items to entities.
replace block <targetPos> <slot> [<count>]
Distributes items to a container block.
give <players>
Gives items to players, ignoring empty item stacks.
insert <targetPos>
Distributes items to a container block.
<SOURCE>:
fish <loot_table> <pos> [<tool>|mainhand|offhand]
loot <loot_table>
kill <target>
mine <pos> [<tool>|mainhand|offhand]

Arguments

<loot_table>: resource_location

Must be a resource location which will be resolved during command execution into unregistered content or client-side content.
Specifies which loot table to use.

<pos>: block_pos and <targetPos>: block_pos (in replace block and insert mode)

Must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation.
Specifies the position of a block.

<targetPos>: block_pos (in spawn mode)

Must be a three-dimensional coordinates with floating-point number elements. Accepts tilde and caret notations.
Specifies the location where item drops.

<entities>: entity

Must be a player name, a target selector or a UUID.
Specifies one or more entities to modify.

<players>: entity

Must be a player name, a target selector or a UUID. And the target selector must be of player type.
Specifies one or more players to give.

<tool>: item_stack

It must be in the format of item_id{data_tags}(accepts item and block tags), in which data tags can be omitted when they are not needed.
Specifies an tool to mine or fish.

<target>: entity

Must be a player name, a target selector or a UUID. And the target selector must be in single type.
Specifies one entity to kill simulatively.

<count>: integer

Must be a 32-bit integer number. And it must be between 0 and 2147483647 (inclusive).
Specifies the number of consecutive slots to be filled. If the target is a block, <slot_number> + <count> cannot exceed the greatest slot number.

<slot>: item_slot

Specifies the inventory slot to be modified. Valid values depend on whether a block or an entity is being modified.
For blocks, must be container.<slot_number> where <slot_number> is replaced with a number specifying the slot.
  • Chests, dispensers, droppers, hoppers, and trapped chests are numbered 0 for the top-left slot and then increase first horizontally, then vertically (so, for example, a chest's top row slots are numbered 0 to 8 from left to right). Double chests and double trapped chests are treated as two single container blocks.
  • A brewing stand's bottom slots are numbered 0 to 2 from left to right, its top slot is 3 and the fuel slot is 4.
  • A furnace's slots are numbered 0 for the input slot, 1 for the fuel slot, and 2 for the output slot.
Other blocks which hold items but don't have inventory GUIs (flower pots and jukeboxes) can be changed only with /data.
For entities, must be one of the following, where <slot_number> is replaced with a number specifying the slot:
Slot Slot Numbers Restrictions
armor.chest armor stands, mobs, and players only (though not all mobs show or make use of the items)
armor.feet
armor.head
armor.legs
weapon.mainhand
weapon.offhand
container.slot_number 0–53 players, item frames (slot 0), and minecarts only
enderchest.slot_number 0–26 players only
hotbar.slot_number 0–8
inventory.slot_number 0–26
horse.saddle horses, donkeys, and mules only; item must be a saddle
horse.chest donkeys, and mules only; item must be a chest
horse.armor horses and llamas only; item must be a type of horse armor (if a horse) or a carpet (if a llama)
horse.slot_number 0–14 donkeys and mules with chests only
villager.slot_number 0–7 villagers only

Result

CommandTriggerJava Edition
anythe arguments are not specified correctly Unparseable
/... fish ...
/... mine ...
if <pos> is unloaded or out of the world Failed
/... mainhand
... offhand
if the executor is not a living entity
/... kill ...if <target> fails to resolve to a single entity (named player must be online)
/loot replace entity ...if <entities> fails to resolve to one or more entities (named player must be online)
/loot give ...if <players> fails to resolve to one or more online players
/... kill ...if the <target> is not a living entity
/loot insert ...
/loot replace block ...
if <targetPos> is unloaded or out of the worldif the block at <targetPos> is not a container
if the block at <targetPos> is not a container
/loot replace block ...if the block does not has the specified <slot>
/loot replace block <targetPos> <slot> ...if the number of item stacks got from loot plus the <slot> id is bigger than the number of all slots in the specified container Error
/loot replace block <targetPos> <slot> <count> ...if the <count> plus the <slot> id is bigger than the number of all slots in the specified container
anyOtherwiseDrops the given loot table into the specified inventory or into the world.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
/loot spawn ...On success11the number of item stacks got from loot
/loot give ...On success11the total number of item stacks successfully allocated to each players
/loot insert ...On success11the total number of item stacks successfully distributed to the container
/loot replace block ...On success11the total number of item stacks successfully distributed to the container
On error0unchangedunchanged
/loot replace entity ...On success11the total number of item stacks successfully allocated to each entities
On error0unchangedunchanged

See also

  • /give — give specific items to players without specifying a loot table

History

Java Edition
1.14
{{Extension DPL}}<ul><li>[[Lava Bucket|Lava Bucket]]<br/>{{Item
| title = Lava Bucket
| image = Lava Bucket.png
| renewable = Yes
| stackable = No 
}}
A '''lava bucket''' is a [[bucket]] filled with [[lava]].

== Obtaining ==
=== Interacting ===
To fill an empty [[bucket]] with lava, {{control|use}} it on a [[lava]] source block or lava in a [[cauldron]]. The block is consumed in the process. Flowing lava does not fill a bucket.

If there is a lava source above the [[pointed dripstone]] stalactite, there is a {{frac|15|256}} (~5.9%) chance for it to completely fill an empty cauldron within 10 blocks under the tip with lava after a [[random tick]]. This lava can then be scooped with a bucket, making it a renewable resource.

==Usage==
A lava bucket can be used to place down lava sources with the {{key|Use Item}} button. Doing so gives the player the bucket back. Lava buckets can be used to replace some transparent, non-full blocks such as [[tall grass]] and [[water]], both flowing and sources.

{{IN|java}}, lava buckets can be used to break [[Nether Portal (block)|Nether portal blocks]] by placing the lava on the side of a block next to the portal block.

=== Smelting ===
A lava bucket can be used as an efficient [[fuel]]. It has the longest burning value of 1000 seconds, compared to 800 seconds for a [[coal block]] (a lava bucket smelts 100 items, and a coal block smelts 80). After smelting starts, the lava bucket turns into an empty bucket.

=== Trading ===
{{IN|bedrock}}, journeyman-level armorer villagers buy a lava bucket for one [[emerald]] as part of their trades.

{{IN|java}}, journeyman-level armorer villagers have a 40% chance of offering to buy a lava bucket for one emerald.

=== Cauldrons === 
A lava bucket can be used to fill a [[cauldron]] with lava. The lava damages any entity standing inside the cauldron, unless the entity is immune to fire damage.<!-- ex: nether mobs--> Flowing water or waterlogging does not affect the lava in the cauldron.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Fill lava bucket1.ogg
|sound2=Fill lava bucket2.ogg
|sound3=Fill lava bucket3.ogg
|subtitle=Bucket fills
|source=player
|description=When a bucket is filled with lava
|id=item.bucket.fill_lava
|translationkey=subtitles.item.bucket.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Empty lava bucket1.ogg
|sound2=Empty lava bucket2.ogg
|sound3=Empty lava bucket3.ogg
|subtitle=Bucket empties
|source=block
|description=When a lava bucket is emptied
|id=item.bucket.empty_lava
|translationkey=subtitles.item.bucket.empty
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Fill lava bucket1.ogg
|sound2=Fill lava bucket2.ogg
|sound3=Fill lava bucket3.ogg
|source=block
|description=When a bucket is filled with lava
|id=bucket.fill_lava
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Empty lava bucket1.ogg
|sound2=Empty lava bucket2.ogg
|sound3=Empty lava bucket3.ogg
|source=block
|description=When a lava bucket is emptied
|id=bucket.empty_lava
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Lava Bucket
|spritetype=item
|nameid=lava_bucket
|aliasid=bucket / 10
|id=363
|form=item
|translationkey=item.bucketLava.name
|foot=1}}

== Achievements ==
{{load achievements|Super Fuel}}

== Advancements ==
{{Load advancements|Hot Stuff}}

==History==
{{History|java infdev}}
{{History||20100615|[[File:Lava Bucket JE1 BE1.png|32px]] Added lava buckets.}}
{{History|java alpha}}
{{History||v1.1.0|Buckets of lava can now be used to fuel a [[furnace]] for 100 [[smelting|smelts]], consuming the [[lava]] and the [[bucket]]. This is the highest number of smelts of any single [[item]] in the game.}}
{{History||v1.2.6|{{control|use|text=Using}} a lava bucket on [[block]]s with GUIs ([[chest]]s, furnaces, etc.) no longer places the lava.}}
{{History|java}}
{{History||1.2.1|snap=1.2|Changed name from "Lava bucket" to "Lava Bucket".}}
{{History||1.3|snap=12w22a|[[Smelting]] in a [[furnace]] with a lava bucket now leaves an empty [[bucket]] for the [[player]] to retrieve.}}
{{History||1.8|snap=14w25a|A lava bucket is now shown as the icon when [[lava]] is used as a layer in [[Superflat]].}}
{{History||1.9|snap=15w50a|Added sounds for filling and pouring lava buckets.}}
{{History||1.13|snap=17w47a|Prior to the ''[[Flattening]]'' this item's numerical ID was 327.}}
{{History||1.14|snap=18w43a|[[File:Lava Bucket JE2 BE2.png|32px]] The texture of lava buckets has been changed.}}
{{History|||snap=19w11a|Armorer villagers can now [[trading|buy]] lava buckets.}}
{{History||1.17|snap=20w45a|Lava buckets can now be used to fill a [[cauldron]] with lava.}}
{{History|||snap=21w13a|The lava bucket is now fully renewable, as [[pointed dripstone]] can now be obtained in Survival mode without custom generation.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Lava Bucket JE1 BE1.png|32px]] Added lava buckets.}}
{{History||v0.7.4|Lava buckets can now be used as [[fuel]] in a [[furnace]].
|Lava buckets no longer stack to 64.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Moved all bucket items, including lava buckets, from the Equipment tab to the Items tab in the [[Creative inventory]].{{verify|type=update}}{{info needed}}<!---please check snapshots, only 1 major release version was checked each--->}}
{{History||1.9.0|snap=beta 1.9.0.2|Lava bucket can now be used to fill a [[cauldron]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Lava Bucket JE2 BE2.png|32px]] The texture of lava buckets has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Lava buckets can now be [[trading|sold]] to armorer [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of lava buckets has been changed from <code>bucket/10</code> to <code>lava_bucket</code>.}}
{{History||1.17.0|snap=beta 1.16.230.54|The lava bucket is now fully renewable, as [[pointed dripstone]] can now be obtained in Survival mode without custom generation.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Lava Bucket JE1 BE1.png|32px]] Added lava buckets.}}
{{History||xbox=TU9|[[Dispenser]]s have now been given the ability to shoot out the [[liquids]] inside lava buckets. They can also suck up the liquids if activated again, but do not fill up the [[bucket]]s with the liquid dropped due to a bug.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Lava Bucket JE2 BE2.png|32px]] The texture of lava buckets has been changed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Lava Bucket JE1 BE1.png|32px]] Added lava buckets.}}
{{History|foot}}

== Issues ==
{{Issue list}}

==Trivia==
* One lava bucket has the highest number of [[smelting|smelts]] in the game at 100 items per bucket.
** This makes it 12.5 times more efficient than [[coal]] and [[charcoal]].
* A lava bucket is used as Steve's Down-Smash attack in the crossover fighting game Super Smash Bros. Ultimate.

{{Items}}

[[Category:Renewable resources]]
[[Category:Tools]]

[[de:Lavaeimer]]
[[ja:溶岩入りバケツ]]
[[pt:Balde de lava]]
[[th:ถังลาวา]]
[[uk:Відро лави]]
[[zh:熔岩桶]]</li><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></ul></nowiki>
18w43aAdded /drop.
18w45aRenamed /drop to /loot.
/loot got reworked.
Advertisement