<?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=ItemStack_TileEntityRenderer%2F1.16</id>
	<title>ItemStack TileEntityRenderer/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=ItemStack_TileEntityRenderer%2F1.16"/>
	<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=ItemStack_TileEntityRenderer/1.16&amp;action=history"/>
	<updated>2026-05-22T22:52:08Z</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=ItemStack_TileEntityRenderer/1.16&amp;diff=2772&amp;oldid=prev</id>
		<title>ShrimpBot: Copy ItemStack TileEntityRenderer to MC1.16 archive</title>
		<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=ItemStack_TileEntityRenderer/1.16&amp;diff=2772&amp;oldid=prev"/>
		<updated>2021-07-27T04:14:27Z</updated>

		<summary type="html">&lt;p&gt;Copy &lt;a href=&quot;/wiki/ItemStack_TileEntityRenderer&quot; class=&quot;mw-redirect&quot; title=&quot;ItemStack TileEntityRenderer&quot;&gt;BlockEntityWithoutLevelRenderer&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-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&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=ItemStack_TileEntityRenderer/1.16&amp;diff=2709&amp;oldid=prev</id>
		<title>ShrimpBot: Copy ItemStack TileEntityRenderer to MC1.16 archive</title>
		<link rel="alternate" type="text/html" href="https://forge.gemwire.uk/index.php?title=ItemStack_TileEntityRenderer/1.16&amp;diff=2709&amp;oldid=prev"/>
		<updated>2021-07-27T03:58:40Z</updated>

		<summary type="html">&lt;p&gt;Copy &lt;a href=&quot;/wiki/ItemStack_TileEntityRenderer&quot; class=&quot;mw-redirect&quot; title=&quot;ItemStack TileEntityRenderer&quot;&gt;BlockEntityWithoutLevelRenderer&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;&amp;lt;code&amp;gt;ItemStackTileEntityRenderer&amp;lt;/code&amp;gt; is a class that allows custom usages of &amp;lt;code&amp;gt;MatrixStack&amp;lt;/code&amp;gt;s and &amp;lt;code&amp;gt;IRenderTypeBuffer&amp;lt;/code&amp;gt;s to render items.&lt;br /&gt;
&lt;br /&gt;
== Using &amp;lt;tt&amp;gt;ItemStackTileEntityRenderer&amp;lt;/tt&amp;gt; ==&lt;br /&gt;
&amp;lt;code&amp;gt;ItemStackTileEntityRenderer&amp;lt;/code&amp;gt; allows you to render your item by extending the class and overriding &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ItemStackTileEntityRenderer#func_239207_a_&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to use a ISTER, the Item must first return true for &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;IBakedModel#isBuiltInRenderer&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. It is also recommended that if you are using a block that &amp;lt;code&amp;gt;AbstractBlock#getRenderType&amp;lt;/code&amp;gt; returns &amp;lt;code&amp;gt;BlockRenderType#ENTITYBLOCK_ANIMATED&amp;lt;/code&amp;gt; so that it will render correctly in layers and minecarts. Once that returns true, the Item’s ISTER will be accessed for rendering. If it does not have one, it will use the default &amp;lt;code&amp;gt;ItemStackTileEntityRenderer#instance&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To set the ISTER for an Item, use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Item.Properties#setISTER&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Each Item can only ever provide one ISTER, and the getter is final so that mods do not return new instances each frame.&lt;br /&gt;
&lt;br /&gt;
That’s it, no additional setup is necessary to use a ISTER.&lt;br /&gt;
&lt;br /&gt;
If you need to access the &amp;lt;code&amp;gt;TransformType&amp;lt;/code&amp;gt; for rendering, you can store the one passed through &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;IBakedModel#handlePerspective&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and use it during rendering. This method will always be called before &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ItemStackTileEntityRenderer#func_239207_a_&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Items/1.16]]&lt;/div&gt;</summary>
		<author><name>ShrimpBot</name></author>
	</entry>
</feed>