From 2077b6b7c9b63d329bd095a8632f40136a3ba352 Mon Sep 17 00:00:00 2001 From: Anthony Hilyard Date: Thu, 14 Oct 2021 11:26:29 -0700 Subject: Fixed access issue on CustomItemRenderer.renderItemModelIntoGUIWithAlpha. --- gradle.properties | 2 +- .../java/com/anthonyhilyard/iceberg/renderer/CustomItemRenderer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 832ac67..ce21702 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,6 +6,6 @@ org.gradle.daemon=false name=${rootProject.name} group=com.anthonyhilyard.${name.toLowerCase()} author=anthonyhilyard -version=1.0.12 +version=1.0.13 mcVersion=1.17.1 forgeVersion=37.0.90 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(); -- cgit