help
-
how to draw ItemStack in render2d
i know its possible with this code but I get an error 'OpenGL Stack Overflow'
var stack = mc.thePlayer.getHeldItem(); mc.renderItem.renderItemAndEffectIntoGUI(stack, 10, 10); mc.renderItem.renderItemOverlays(mc.fontRendererObj, stack, 10, 10);
-
@skidma skid from allah client!
-
@legrand-dev allah = sex free download
-
@skidma yep
-
@DreamWasFucked despite the fact that you are banned, this might still be interesting:
mc.getRenderItem().renderItemAndEffectIntoGUI(ItemStack, x, y);
This worked for me. Haven't found this one on this forum yet. Maybe it helps somebody.
and if you want to get rid of some shade when rendering blocks
RenderHelper = Java.type("net.minecraft.client.renderer.RenderHelper"); RenderHelper.enableGUIStandardItemLighting() mc.getRenderItem().renderItemIntoGUI(stack, x, y); mc.getRenderItem().renderItemOverlays(mc.fontRendererObj, stack, x, y) RenderHelper.disableStandardItemLighting();