diff options
author | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-10-14 11:26:29 -0700 |
---|---|---|
committer | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-10-14 11:26:29 -0700 |
commit | 2077b6b7c9b63d329bd095a8632f40136a3ba352 (patch) | |
tree | 43a81e65cd6dc013c66116656c4fd3a50acf29b3 | |
parent | 32c9fb58d33320b8b6c3bc8d879ce793fa516f8d (diff) | |
download | Iceberg-2077b6b7c9b63d329bd095a8632f40136a3ba352.tar.gz Iceberg-2077b6b7c9b63d329bd095a8632f40136a3ba352.tar.bz2 Iceberg-2077b6b7c9b63d329bd095a8632f40136a3ba352.zip |
Fixed access issue on
CustomItemRenderer.renderItemModelIntoGUIWithAlpha.
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | src/main/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(); |