<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://forge.gemwire.uk/index.php?action=history&amp;feed=atom&amp;title=Making_Items%2F1.16</id>
	<title>Making Items/1.16 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://forge.gemwire.uk/index.php?action=history&amp;feed=atom&amp;title=Making_Items%2F1.16"/>
	<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=Making_Items/1.16&amp;action=history"/>
	<updated>2026-05-01T17:26:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://forge.gemwire.uk/index.php?title=Making_Items/1.16&amp;diff=2776&amp;oldid=prev</id>
		<title>ShrimpBot: Copy Making Items to MC1.16 archive</title>
		<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=Making_Items/1.16&amp;diff=2776&amp;oldid=prev"/>
		<updated>2021-07-27T04:14:37Z</updated>

		<summary type="html">&lt;p&gt;Copy &lt;a href=&quot;/wiki/Making_Items&quot; title=&quot;Making Items&quot;&gt;Making Items&lt;/a&gt; to MC1.16 archive&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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-GB&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 04:14, 27 July 2021&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-l30&quot; &gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;== Registering an Item ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;== Registering an Item ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;Items must be [[Registration&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|registered&lt;/del&gt;/1.16]] to function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;Items must be [[Registration/1.16&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|registered&lt;/ins&gt;]] to function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;[[Category:Items/1.16]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;[[Category:Items/1.16&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|Category:Items&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ShrimpBot</name></author>
	</entry>
	<entry>
		<id>https://forge.gemwire.uk/index.php?title=Making_Items/1.16&amp;diff=2715&amp;oldid=prev</id>
		<title>ShrimpBot: Copy Making Items to MC1.16 archive</title>
		<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=Making_Items/1.16&amp;diff=2715&amp;oldid=prev"/>
		<updated>2021-07-27T03:58:48Z</updated>

		<summary type="html">&lt;p&gt;Copy &lt;a href=&quot;/wiki/Making_Items&quot; title=&quot;Making Items&quot;&gt;Making Items&lt;/a&gt; to MC1.16 archive&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Under construction}}&lt;br /&gt;
&lt;br /&gt;
Along with blocks, items are a key component of most mods. While blocks make up the world around you, items are what let you change it.&lt;br /&gt;
&lt;br /&gt;
== Creating an Item ==&lt;br /&gt;
=== Basic Items ===&lt;br /&gt;
Basic items that need no special functionality (think sticks or sugar) don’t need custom classes. You can create an item by instantiating the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Item&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; class with an &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Item$Properties&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; object. This &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Item$Properties&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; object can be made by calling the constructor and can be customised by calling its methods. For instance:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; border=1&lt;br /&gt;
!Method                   !!Description   &lt;br /&gt;
|-&lt;br /&gt;
|   &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;group&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;           ||  Sets which &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ItemGroup&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (previously called creative tab) this item is under. Must be called if this item is meant to be shown on the creative menu. Vanilla groups can be found in the class &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ItemGroup&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
|-&lt;br /&gt;
|   &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;maxDamage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;       ||  Sets the maximum damage value for this item. If it is greater than ''0'', the properties ''damaged'' and ''damage'' are added to keep track of the current ''ItemStack'' damage. &lt;br /&gt;
|-&lt;br /&gt;
|   &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;maxStackSize&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;    ||  Sets the maximum stack size. You cannot have an item that is both damagable and stackable. &lt;br /&gt;
|-&lt;br /&gt;
|   &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;setNoRepair&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;     ||  Makes this item impossible to repair, even if it is damageable. &lt;br /&gt;
|-&lt;br /&gt;
|   &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;containerItem&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;   ||  Sets this item’s container item. For example, milk buckets give you back an empty bucket when they are crafted. &lt;br /&gt;
|-&lt;br /&gt;
|   &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;addToolType&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;     ||  Gives the item the ability of a &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ToolType&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;SHOVEL&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;AXE&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) at the specified harvest level (''0'' for Wood/Gold, ''1'' for Stone, ''2'' for Iron, ''3'' for Gold). &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above methods are chainable, meaning they &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;return this&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to facilitate calling them in series.&lt;br /&gt;
&lt;br /&gt;
=== Advanced Items ===&lt;br /&gt;
Setting the properties of an item as above only works for simple items. If you want more complicated items, you should subclass ''Item'' and override its methods.&lt;br /&gt;
&lt;br /&gt;
== Registering an Item ==&lt;br /&gt;
Items must be [[Registration|registered/1.16]] to function.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Items/1.16]]&lt;/div&gt;</summary>
		<author><name>ShrimpBot</name></author>
	</entry>
</feed>