aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java
diff options
context:
space:
mode:
authorAnthony Hilyard <anthony.hilyard@gmail.com>2021-10-14 11:26:29 -0700
committerAnthony Hilyard <anthony.hilyard@gmail.com>2021-10-14 11:26:29 -0700
commit2077b6b7c9b63d329bd095a8632f40136a3ba352 (patch)
tree43a81e65cd6dc013c66116656c4fd3a50acf29b3 /src/main/java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java
parent32c9fb58d33320b8b6c3bc8d879ce793fa516f8d (diff)
downloadIceberg-2077b6b7c9b63d329bd095a8632f40136a3ba352.tar.gz
Iceberg-2077b6b7c9b63d329bd095a8632f40136a3ba352.tar.bz2
Iceberg-2077b6b7c9b63d329bd095a8632f40136a3ba352.zip
Fixed access issue on
CustomItemRenderer.renderItemModelIntoGUIWithAlpha.
Diffstat (limited to 'src/main/java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java')
-rw-r--r--src/main/java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java b/src/main/java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java
index e86d824..b77bb09 100644
--- a/src/main/java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java
+++ b/src/main/java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java
@@ -56,7 +56,7 @@ public class CustomItemRenderer extends ItemRenderer
}
}
- protected void renderItemModelIntoGUIWithAlpha(ItemStack stack, int x, int y, float alpha)
+ public void renderItemModelIntoGUIWithAlpha(ItemStack stack, int x, int y, float alpha)
{
BakedModel bakedModel = mc.getItemRenderer().getModel(stack, null, null, 0);
RenderTarget lastFrameBuffer = mc.getMainRenderTarget();