This commit is contained in:
modmuss50 2021-11-26 18:38:51 +00:00
parent 4eccb0100e
commit b5004d3c85
2 changed files with 4 additions and 5 deletions

View file

@ -80,8 +80,7 @@ public class ItemStackRenderer implements HudRenderCallback {
MinecraftClient.getInstance().getItemRenderer().renderInGui(item, 0, 0); MinecraftClient.getInstance().getItemRenderer().renderInGui(item, 0, 0);
framebuffer.endWrite(); framebuffer.endWrite();
// framebuffer.beginRead framebuffer.beginRead();
framebuffer.method_35610();
nativeImage.loadFromTextureImage(0, false); nativeImage.loadFromTextureImage(0, false);
nativeImage.mirrorVertically(); nativeImage.mirrorVertically();
framebuffer.endRead(); framebuffer.endRead();

View file

@ -6,10 +6,10 @@ org.gradle.jvmargs=-Xmx2G
# Fabric Properties # Fabric Properties
# check these on https://modmuss50.me/fabric.html # check these on https://modmuss50.me/fabric.html
minecraft_version=1.18-pre5 minecraft_version=1.18-rc3
yarn_version=1.18-pre5+build.4 yarn_version=1.18-rc3+build.1
loader_version=0.12.5 loader_version=0.12.5
fapi_version=0.42.8+1.18 fapi_version=0.43.1+1.18
# Dependencies # Dependencies
energy_version=2.0.0-beta1 energy_version=2.0.0-beta1