<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3ACommands%2Floot</id>
	<title>Minecraft:Commands/loot - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3ACommands%2Floot"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/loot&amp;action=history"/>
	<updated>2026-04-09T16:05:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/loot&amp;diff=69088&amp;oldid=prev</id>
		<title>SyncBot: Remove broken links to missing pages</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/loot&amp;diff=69088&amp;oldid=prev"/>
		<updated>2026-04-09T15:44:40Z</updated>

		<summary type="html">&lt;p&gt;Remove broken links to missing pages&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:44, 9 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 2 {{only|java|short=1}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 2 {{only|java|short=1}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 1 {{only|bedrock|short=1}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 1 {{only|bedrock|short=1}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|others=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;Cheats&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/del&gt;only{{only|bedrock|short=1}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|others=Cheats only{{only|bedrock|short=1}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Drops the given &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;loot table&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/del&gt;into the specified inventory or into the world.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Drops the given loot table into the specified inventory or into the world.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Syntax==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Syntax==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::&amp;lt;code&amp;gt;&amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::&amp;lt;code&amp;gt;&amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::: &amp;lt;code&amp;gt;fish &amp;lt;loot_table&amp;gt; &amp;lt;pos&amp;gt; [&amp;lt;tool&amp;gt;|mainhand|offhand]&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::: &amp;lt;code&amp;gt;fish &amp;lt;loot_table&amp;gt; &amp;lt;pos&amp;gt; [&amp;lt;tool&amp;gt;|mainhand|offhand]&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;fishing&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/del&gt;with a specified tool at a specified position.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates fishing with a specified tool at a specified position.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::: &amp;lt;code&amp;gt;loot &amp;lt;loot_table&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::: &amp;lt;code&amp;gt;loot &amp;lt;loot_table&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Invokes a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;loot table&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/del&gt;directly.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Invokes a loot table directly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::: &amp;lt;code&amp;gt;kill &amp;lt;target&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::: &amp;lt;code&amp;gt;kill &amp;lt;target&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates killing a specified entity.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates killing a specified entity.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates mining a block at a specified position with a specified tool.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates mining a block at a specified position with a specified tool.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:[[Minecraft&lt;/del&gt;:Loot context&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/del&gt;provided by each &amp;lt;code&amp;gt;&amp;lt;&#039;&#039;SOURCE&#039;&#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::Loot context provided by each &amp;lt;code&amp;gt;&amp;lt;&#039;&#039;SOURCE&#039;&#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::{|class=&amp;quot;wikitable collapsible collapsed&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::{|class=&amp;quot;wikitable collapsible collapsed&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;! &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt; !!  Supplied loot context parameters&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;! &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt; !!  Supplied loot context parameters&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l51&quot;&gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;{{cd|this}} entity:&amp;#039;&amp;#039;&amp;#039; The specified entity.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;{{cd|this}} entity:&amp;#039;&amp;#039;&amp;#039; The specified entity.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Origin:&amp;#039;&amp;#039;&amp;#039; The command execution position.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Origin:&amp;#039;&amp;#039;&amp;#039; The command execution position.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Damage source:&#039;&#039;&#039; The &amp;lt;code&amp;gt;magic&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;damage type&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Damage source:&#039;&#039;&#039; The &amp;lt;code&amp;gt;magic&amp;lt;/code&amp;gt; damage type&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;{{cd|attacker}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;{{cd|attacker}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;{{cd|direct_attacker}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;{{cd|direct_attacker}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l91&quot;&gt;Line 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates killing a specified entity with a specified tool.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates killing a specified entity with a specified tool.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::&amp;lt;code&amp;gt;loot &amp;lt;loot_table: string&amp;gt; [&amp;quot;&amp;lt;tool&amp;gt;|mainhand|offhand&amp;quot;: string]&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::&amp;lt;code&amp;gt;loot &amp;lt;loot_table: string&amp;gt; [&amp;quot;&amp;lt;tool&amp;gt;|mainhand|offhand&amp;quot;: string]&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Invokes a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;loot table&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/del&gt;with a specified tool.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Invokes a loot table with a specified tool.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::&amp;lt;code&amp;gt;mine &amp;lt;TargetBlockPosition: x y z&amp;gt; [&amp;quot;&amp;lt;tool&amp;gt;|mainhand|offhand&amp;quot;: string]&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::&amp;lt;code&amp;gt;mine &amp;lt;TargetBlockPosition: x y z&amp;gt; [&amp;quot;&amp;lt;tool&amp;gt;|mainhand|offhand&amp;quot;: string]&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates mining the block at the designated position with a specified tool.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::: Simulates mining the block at the designated position with a specified tool.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l219&quot;&gt;Line 219:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 219:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Navbox commands}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Navbox commands}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;de:Befehl/loot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;de:Befehl/loot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;es:Comandos/loot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;es:Comandos/loot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;ja:コマンド/loot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ja:コマンド/loot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;ko:명령어/loot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ko:명령어/loot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;pt:Comandos/loot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pt:Comandos/loot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;ru:Команды консоли/loot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ru:Команды консоли/loot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;uk:Команди консолі/loot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;uk:Команди консолі/loot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Minecraft:&lt;/del&gt;zh:命令/loot&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;zh:命令/loot&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/loot&amp;diff=49726&amp;oldid=prev</id>
		<title>2600:1700:71E0:3100:BDD7:7839:18B5:6B90: /* Syntax */ added &quot;mine&quot; source for Bedrock</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/loot&amp;diff=49726&amp;oldid=prev"/>
		<updated>2025-12-29T22:21:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Syntax: &lt;/span&gt; added &amp;quot;mine&amp;quot; source for Bedrock&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox command&lt;br /&gt;
|name=loot&lt;br /&gt;
|oplevel=&lt;br /&gt;
* 2 {{only|java|short=1}}&lt;br /&gt;
* 1 {{only|bedrock|short=1}}&lt;br /&gt;
|others=[[Minecraft:Cheats]] only{{only|bedrock|short=1}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Drops the given [[Minecraft:loot table]] into the specified inventory or into the world.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Java Edition&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;lt;code&amp;gt;loot &amp;lt;&amp;#039;&amp;#039;TARGET&amp;#039;&amp;#039;&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::In which:&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;&amp;#039;&amp;#039;TARGET&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;br /&gt;
::: &amp;lt;code&amp;gt;give &amp;lt;players&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Distributes items to players, ignoring empty item stacks.&lt;br /&gt;
::: &amp;lt;code&amp;gt;insert &amp;lt;targetPos&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Distributes items to a container block, ignoring empty item stacks.&lt;br /&gt;
::: &amp;lt;code&amp;gt;spawn &amp;lt;targetPos&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Spawns item entities. Empty item stacks are also spawned, but disappear instantly.&lt;br /&gt;
::: &amp;lt;code&amp;gt;replace block &amp;lt;targetPos&amp;gt; &amp;lt;slot&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::: &amp;lt;code&amp;gt;replace entity &amp;lt;entities&amp;gt; &amp;lt;slot&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Replaces item stacks into some consecutive [[Minecraft:slot]]s in order. An empty item stack generated by the &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt; clears a slot.&lt;br /&gt;
::: &amp;lt;code&amp;gt;replace block &amp;lt;targetPos&amp;gt; &amp;lt;slot&amp;gt; &amp;lt;count&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::: &amp;lt;code&amp;gt;replace entity &amp;lt;entities&amp;gt; &amp;lt;slot&amp;gt; &amp;lt;count&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Clears some consecutive [[Minecraft:slot]]s, and then places item stacks into them in order. Empty item stacks are also placed. If the number of item stacks generated by the &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt; exceeds the specified slot number, excess item stacks are ignored.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;br /&gt;
::: &amp;lt;code&amp;gt;fish &amp;lt;loot_table&amp;gt; &amp;lt;pos&amp;gt; [&amp;lt;tool&amp;gt;|mainhand|offhand]&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Simulates [[Minecraft:fishing]] with a specified tool at a specified position.&lt;br /&gt;
::: &amp;lt;code&amp;gt;loot &amp;lt;loot_table&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Invokes a [[Minecraft:loot table]] directly.&lt;br /&gt;
::: &amp;lt;code&amp;gt;kill &amp;lt;target&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Simulates killing a specified entity.&lt;br /&gt;
::: &amp;lt;code&amp;gt;mine &amp;lt;pos&amp;gt; [&amp;lt;tool&amp;gt;|mainhand|offhand]&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Simulates mining a block at a specified position with a specified tool.&lt;br /&gt;
&lt;br /&gt;
::[[Minecraft:Loot context]] provided by each &amp;lt;code&amp;gt;&amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;br /&gt;
:::{|class=&amp;quot;wikitable collapsible collapsed&lt;br /&gt;
! &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt; !!  Supplied loot context parameters&lt;br /&gt;
|-&lt;br /&gt;
| fish&lt;br /&gt;
| &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{cd|this}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Origin:&amp;#039;&amp;#039;&amp;#039; The center of the block at the specified position.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tool:&amp;#039;&amp;#039;&amp;#039; The specified item.&lt;br /&gt;
|-&lt;br /&gt;
| kill&lt;br /&gt;
| &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{cd|this}} entity:&amp;#039;&amp;#039;&amp;#039; The specified entity.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Origin:&amp;#039;&amp;#039;&amp;#039; The command execution position.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Damage source:&amp;#039;&amp;#039;&amp;#039; The &amp;lt;code&amp;gt;magic&amp;lt;/code&amp;gt; [[Minecraft:damage type]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{cd|attacker}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{cd|direct_attacker}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{cd|attacking_player}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is a player) The command executor player.&lt;br /&gt;
|-&lt;br /&gt;
| loot&lt;br /&gt;
|&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{cd|this}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Origin:&amp;#039;&amp;#039;&amp;#039; The command execution position.&lt;br /&gt;
|-&lt;br /&gt;
| mine&lt;br /&gt;
|&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;{{cd|this}} entity:&amp;#039;&amp;#039;&amp;#039; (If the executor is an entity) The command executor entity.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Origin:&amp;#039;&amp;#039;&amp;#039; The center of the block at the specified position.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tool:&amp;#039;&amp;#039;&amp;#039; The specified item.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Block state:&amp;#039;&amp;#039;&amp;#039; The specified block.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Block entity:&amp;#039;&amp;#039;&amp;#039; (If the block is a block entity.) Block entity data of the block.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Bedrock Edition&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: &amp;lt;code&amp;gt;loot &amp;lt;&amp;#039;&amp;#039;TARGET&amp;#039;&amp;#039;&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::In which:&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;&amp;#039;&amp;#039;TARGET&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;br /&gt;
::: &amp;lt;code&amp;gt;give &amp;lt;player: target&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Gives items to players, ignoring empty item stacks.&lt;br /&gt;
::: &amp;lt;code&amp;gt;insert &amp;lt;position: x y z&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Distributes items to a container block, ignoring empty item stacks.&lt;br /&gt;
::: &amp;lt;code&amp;gt;spawn &amp;lt;position: x y z&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Spawns item entities, ignoring empty item stacks.&lt;br /&gt;
::: &amp;lt;code&amp;gt;replace block &amp;lt;position: x y z&amp;gt; slot.container &amp;lt;slotId: int&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::&amp;lt;code&amp;gt;replace entity &amp;lt;entity: target&amp;gt; &amp;lt;slotType: EntityEquipmentSlot&amp;gt; &amp;lt;slotId: int&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Replaces item stacks into some consecutive [[Minecraft:slot]]s in order. An empty item stack generated by the &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt; clears a slot.&lt;br /&gt;
::: &amp;lt;code&amp;gt;replace block &amp;lt;position: x y z&amp;gt; slot.container &amp;lt;slotId: int&amp;gt; [count: int]&amp;lt;/code&amp;gt;&lt;br /&gt;
:::&amp;lt;code&amp;gt;replace entity &amp;lt;entity: target&amp;gt; &amp;lt;slotType: EntityEquipmentSlot&amp;gt; &amp;lt;slotId: int&amp;gt; [count: int]&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Clears some consecutive [[Minecraft:slot]]s, and then places item stacks into them in order. Empty item stacks are also placed. If the number of item stacks generated by the &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt; exceeds the specified slot number, excess item stacks are ignored. An entity or a container must have all the specified consecutive slots in order to clear and place items in it.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;/code&amp;gt; is:&lt;br /&gt;
:::&amp;lt;code&amp;gt;kill &amp;lt;entity: target&amp;gt; [&amp;quot;&amp;lt;tool&amp;gt;|mainhand|offhand&amp;quot;: string]&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Simulates killing a specified entity with a specified tool.&lt;br /&gt;
:::&amp;lt;code&amp;gt;loot &amp;lt;loot_table: string&amp;gt; [&amp;quot;&amp;lt;tool&amp;gt;|mainhand|offhand&amp;quot;: string]&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Invokes a [[Minecraft:loot table]] with a specified tool.&lt;br /&gt;
:::&amp;lt;code&amp;gt;mine &amp;lt;TargetBlockPosition: x y z&amp;gt; [&amp;quot;&amp;lt;tool&amp;gt;|mainhand|offhand&amp;quot;: string]&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: Simulates mining the block at the designated position with a specified tool.&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
{{el|je|short=1}}: {{argument|loot_table|loot_table}}&lt;br /&gt;
&lt;br /&gt;
{{el|be|short=1}}: {{argument|loot_table: string|basic_string|be=1}}  &lt;br /&gt;
:Specifies which loot table to use.&lt;br /&gt;
:{{IN|java}}, {{lcfirst:{{arg desc|je=loot_table}}}}&lt;br /&gt;
:{{IN|bedrock}}, {{lcfirst:{{arg desc|be=string}}}} And it refers to a loot table with the path of &amp;quot;loot_tables/&amp;lt;code&amp;gt;loot_table: string&amp;lt;/code&amp;gt;.json&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|tool|item_stack}} &lt;br /&gt;
:Specifies a tool to simulatively mine or fish.&lt;br /&gt;
:{{arg desc|je=item_stack}}&lt;br /&gt;
&lt;br /&gt;
{{el|be|short=1}}: {{argument|be=1|&amp;quot;&amp;lt;tool&amp;gt;{{!}}mainhand{{!}}offhand&amp;quot;: string|basic_string}} &lt;br /&gt;
:Specifies a tool to be used to simulatively kill or loot.&lt;br /&gt;
:{{arg desc|be=string}} Can be &amp;lt;code&amp;gt;mainhand&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;offhand&amp;lt;/code&amp;gt;, otherwise it represents an item id.&lt;br /&gt;
&lt;br /&gt;
{{argument|target|entity|entity: target|CommandSelector&amp;lt;Actor&amp;gt;}} (in &amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt; source)&lt;br /&gt;
: Specifies one entity to kill simulatively.&lt;br /&gt;
:{{arg desc|je=entity|amount=single|type=entities|actor}}&lt;br /&gt;
&lt;br /&gt;
{{argument|players|entity|player: target|CommandSelector&amp;lt;Player&amp;gt;}} &lt;br /&gt;
:Specifies one or more players to give.&lt;br /&gt;
:{{arg desc|je=entity|amount=multiple|type=players|be=CommandSelector&amp;lt;Player&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|pos|block_pos}} and {{argument|targetPos|block_pos}} (in &amp;lt;code&amp;gt;replace block&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;insert&amp;lt;/code&amp;gt; mode)&amp;lt;br&amp;gt;&lt;br /&gt;
{{el|be|short=1}}: {{argument|be=1|position: x y z|CommandPositionFloat}} (in &amp;lt;code&amp;gt;replace block&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;insert&amp;lt;/code&amp;gt; mode) &lt;br /&gt;
:Specifies the position of a block.&lt;br /&gt;
:{{IN|java}}: {{lcfirst:{{arg desc|je=block_pos}}}}&lt;br /&gt;
:{{IN|bedrock}}: {{lcfirst:{{arg desc|be=CommandPositionFloat}}}}&lt;br /&gt;
&lt;br /&gt;
{{argument|targetPos|block_pos|position: x y z|CommandPositionFloat}} (in &amp;lt;code&amp;gt;spawn&amp;lt;/code&amp;gt; mode) &lt;br /&gt;
:Specifies the location where item entities drop.&lt;br /&gt;
:{{arg desc|je=vec3|be=CommandPositionFloat}}&lt;br /&gt;
&lt;br /&gt;
{{argument|entities|entity|entity: target|CommandSelector&amp;lt;Actor&amp;gt;}} &lt;br /&gt;
:Specifies one or more entities to modify.&lt;br /&gt;
:{{arg desc|je=entity|amount=multiple|type=entities|be=actor}}&lt;br /&gt;
&lt;br /&gt;
{{argument|count|integer|count: int|int}} &lt;br /&gt;
:Specifies the number of consecutive slots to be cleared.&lt;br /&gt;
:{{arg desc|je=integer|min=0|be=int}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|slot|item_slot}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{el|be|short=1}}: {{argument|be=1|slotType: EntityEquipmentSlot|enum}}, &amp;lt;code&amp;gt;slot.container&amp;lt;/code&amp;gt;, and {{argument|be=1|slotId: int|int}}  &lt;br /&gt;
:Specifies the inventory slot to be modified.&lt;br /&gt;
:{{arg desc|je=item_slot|be=enum}}&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
&lt;br /&gt;
{{Result table}}&lt;br /&gt;
{{Result table|The command is incomplete, or any argument is not specified correctly.|unparseable|unparseable}}&lt;br /&gt;
{{Result table|cmd=/... fish ...&amp;lt;br&amp;gt;/... mine ...|&amp;lt;code&amp;gt;&amp;lt;pos&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;position: x y z&amp;lt;/code&amp;gt; is unloaded or out of the world.|fail|fail}}&lt;br /&gt;
{{Result table|cmd=/... mainhand&amp;lt;br&amp;gt;/... offhand|The executor is not a living entity.||N/A}}&lt;br /&gt;
{{Result table|The executor is not an entity.||fail}}&lt;br /&gt;
{{Result table|cmd=/... kill ...|&amp;lt;code&amp;gt;&amp;lt;target&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;entity: target&amp;lt;/code&amp;gt; fails to resolve to a single entity (named player must be online).}}&lt;br /&gt;
{{Result table|The target is not a living entity.||N/A}}&lt;br /&gt;
{{Result table|The target has no loot table.|N/A|fail}}&lt;br /&gt;
{{Result table|cmd=/... loot ...|The &amp;lt;code&amp;gt;loot_table: string&amp;lt;/code&amp;gt; is not a valid loot table.&amp;lt;!--unparseable in java because the argument is not specified correctly--&amp;gt;}}&lt;br /&gt;
{{Result table|cmd=/loot replace entity ...|&amp;lt;code&amp;gt;&amp;lt;entities&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;entity: target&amp;lt;/code&amp;gt; fails to resolve to one or more entities (named player must be online).|fail}}&lt;br /&gt;
{{Result table|cmd=/loot replace entity &amp;lt;entities&amp;gt; &amp;lt;slot&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;br&amp;gt;/loot replace entity ... &amp;lt;slotId: int&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;|One or more item stacks are got, and all the targeted entities do not have the specified slot.|success}}&lt;br /&gt;
{{Result table|cmd=-{}-/loot replace entity &amp;lt;entities&amp;gt; &amp;lt;slot&amp;gt; &amp;lt;count&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;br&amp;gt;/loot replace entity ... &amp;lt;slotId: int&amp;gt; &amp;lt;count: int&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;|One or more item stacks are got, and all the targeted entities do not have all the specified consecutive slots.}}&lt;br /&gt;
{{Result table|cmd=/loot give ...|&amp;lt;code&amp;gt;&amp;lt;players&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;player: target&amp;lt;/code&amp;gt; fails to resolve to one or more online players.|fail}}&lt;br /&gt;
{{Result table|cmd=/loot insert ...&amp;lt;br&amp;gt;/loot replace block ...|&amp;lt;code&amp;gt;&amp;lt;targetPos&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;position: x y z&amp;lt;/code&amp;gt; is unloaded or out of the world.}}&lt;br /&gt;
{{Result table|The block at &amp;lt;code&amp;gt;&amp;lt;targetPos&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;position: x y z&amp;lt;/code&amp;gt; is not a container.}}&lt;br /&gt;
{{Result table|cmd=/loot replace block ...|The block does not have the specified slot.}}&lt;br /&gt;
{{Result table|cmd=/loot replace block &amp;lt;targetPos&amp;gt; &amp;lt;slot&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;br&amp;gt;/loot replace block ... &amp;lt;slotId: int&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;|The number of item stacks got from the source plus the &amp;lt;code&amp;gt;&amp;lt;slot&amp;gt;&amp;lt;/code&amp;gt; id is bigger than the number of all slots in the specified container.|exception|success}}&lt;br /&gt;
{{Result table|cmd=/loot replace block &amp;lt;targetPos&amp;gt; &amp;lt;slot&amp;gt; &amp;lt;count&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;&amp;lt;br&amp;gt;/loot replace block ... &amp;lt;slotId: int&amp;gt; &amp;lt;count: int&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;|The &amp;lt;code&amp;gt;&amp;lt;count&amp;gt;&amp;lt;/code&amp;gt; plus the &amp;lt;code&amp;gt;&amp;lt;slot&amp;gt;&amp;lt;/code&amp;gt; id is bigger than the number of all slots in the specified container.||fail}}&lt;br /&gt;
{{Result table|cmd=|success}}&lt;br /&gt;
{{Result table}}&lt;br /&gt;
&lt;br /&gt;
==Output==&lt;br /&gt;
&lt;br /&gt;
{{Output table}}&lt;br /&gt;
{{Output table|edition=je|On fail|0|0|0}}&lt;br /&gt;
{{Output table|cmd=/loot spawn ...|On success|1|1|the number of item stacks got from loot}}&lt;br /&gt;
{{Output table|cmd=/loot give ...|On success|1|1|the total number of item stacks successfully allocated to each player}}&lt;br /&gt;
{{Output table|cmd=/loot insert ...|On success|1|1|the number of item stacks successfully distributed to the container}}&lt;br /&gt;
{{Output table|cmd=/loot replace block ...|On success|1|1|the number of item stacks successfully distributed to the container}}&lt;br /&gt;
{{Output table|On error|0|unchanged|unchanged}}&lt;br /&gt;
{{Output table|cmd=/loot replace entity ...|On success|1|1|the total number of item stacks successfully allocated to each entity}}&lt;br /&gt;
{{Output table|On error|0|unchanged|unchanged}}&lt;br /&gt;
{{Output table|edition=be|cmd=|On fail|0}}&lt;br /&gt;
{{Output table|cmd=loot give ...|On success|{{needs testing}}}}&lt;br /&gt;
{{Output table|cmd=loot spawn ...&amp;lt;br&amp;gt;loot insert ...|On success|1}}&lt;br /&gt;
{{Output table|cmd=-{}-/loot replace entity ... &amp;lt;slotId: int&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;|On success|When zero item stack is got, outputs 1.&amp;lt;br&amp;gt;Otherwise, outputs the number of targeted entities that have the specified slot}}&lt;br /&gt;
{{Output table|cmd=-{}-/loot replace entity ... &amp;lt;slotId: int&amp;gt; &amp;lt;count: int&amp;gt; &amp;lt;&amp;#039;&amp;#039;SOURCE&amp;#039;&amp;#039;&amp;gt;|On success|When zero item stack is got, outputs 1.&amp;lt;br&amp;gt;Otherwise, outputs the number of targeted entities that have all the specified consecutive slots}}&lt;br /&gt;
{{Output table}}&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== &amp;#039;&amp;#039;Java Edition&amp;#039;&amp;#039; ===&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|java}}&lt;br /&gt;
|{{HistoryLine||1.14|dev=18w43a|Added {{cmd|drop|link=none}}.}}&lt;br /&gt;
|{{HistoryLine|||dev=18w45a|Renamed {{cmd|drop|link=none}} to {{cmd|loot|link=none}}.&lt;br /&gt;
|{{cmd|loot|link=none}} got reworked.}}&lt;br /&gt;
|{{HistoryLine||1.20.5|dev=24w12a|{{cmd|loot|link=none}} now also accepts an inline SNBT-formatted loot table definition for the {{argument|loot_table|loot_table}} argument.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Bedrock Edition&amp;#039;&amp;#039; ===&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|bedrock}}&lt;br /&gt;
|{{HistoryLine||1.18|dev=beta 1.18.0.21|Added {{cmd|loot spawn ... loot ...|link=none}}.}}&lt;br /&gt;
|{{HistoryLine||1.18|dev=beta 1.18.0.22|Removed {{cmd|loot|link=none}}.}}&lt;br /&gt;
|{{HistoryLine||1.18.10|dev=beta 1.18.10.21|Re-added {{cmd|loot|link=none}}.}}&lt;br /&gt;
|{{HistoryLine||1.18.10|dev=beta 1.18.10.24|Added {{cmd|loot spawn ... kill ...|link=none}}}}&lt;br /&gt;
|{{HistoryLine||1.18.30|dev=beta 1.18.20.21|Added {{cmd|loot give ...|link=none}}}}&lt;br /&gt;
|{{HistoryLine|||dev=beta 1.18.30.20|Added {{cmd|loot insert ...|link=none}}}}&lt;br /&gt;
|{{HistoryLine||1.19.0|dev=beta 1.19.0.30|Added {{cmd|loot replace entity ...|link=none}}}}&lt;br /&gt;
|{{HistoryLine||1.19.40|dev=Preview 1.19.40.20|Added {{cmd|loot replace block ...|link=none}}}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also==&lt;br /&gt;
&lt;br /&gt;
*{{cmd|give}} — give specific items to players without specifying a loot table&lt;br /&gt;
*{{cmd|item}}{{only|je}} — modify specific item slots of entities or container&lt;br /&gt;
*{{cmd|replaceitem}}{{only|be}} — modify specific item slots of entities or container&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* {{Cite|url=https://learn.microsoft.com/en-us/minecraft/creator/commands/commands/loot?view=minecraft-bedrock-stable|title=&amp;lt;code&amp;gt;/loot&amp;lt;/code&amp;gt; Command|website=Microsoft Learn|date=October 30, 2024}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox commands}}&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Befehl/loot]]&lt;br /&gt;
[[Minecraft:es:Comandos/loot]]&lt;br /&gt;
[[Minecraft:ja:コマンド/loot]]&lt;br /&gt;
[[Minecraft:ko:명령어/loot]]&lt;br /&gt;
[[Minecraft:pt:Comandos/loot]]&lt;br /&gt;
[[Minecraft:ru:Команды консоли/loot]]&lt;br /&gt;
[[Minecraft:uk:Команди консолі/loot]]&lt;br /&gt;
[[Minecraft:zh:命令/loot]]&lt;/div&gt;</summary>
		<author><name>2600:1700:71E0:3100:BDD7:7839:18B5:6B90</name></author>
	</entry>
</feed>