[SOLVED][1.7.10] world.getBlock() treating lava and flowing_lava the same
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
I'm trying to render an item in GUI, and upon hover, I want to display an image above it. However, this image is rendered beneath the item. Is this even possible? final PoseStack poseStack2 = RenderSystem.getModelViewStack(); poseStack2.pushPose(); poseStack2.mulPoseMatrix(poseStack.last().pose()); poseStack2.translate(x, y, 0f); poseStack2.scale(scale, scale, scale); Minecraft.getInstance().getItemRenderer().renderAndDecorateFakeItem(itemStack, 0, 0); RenderSystem.disableBlend(); poseStack2.popPose(); RenderSystem.applyModelViewMatrix(); // Reset to the current pose stack if (isHovered) { poseStack.pushPose(); RenderSystem.enableBlend(); RenderSystem.setShaderColor(1f, 1f, 1f, 1f); RenderSystem.setShaderTexture(0, BG); Screen.blit(poseStack, x, y, 0, 0, SIZE, SIZE, SIZE, SIZE); RenderSystem.disableBlend(); poseStack.popPose(); }
-
Hey! I want to add a glow texture for my custom armor. How can i do it?
-
Hi Guys, Thanks again for the replies. Uninstalling version 22 fixed my issue. I tried starting the server using the suggestion @TileEntity gave but could not see how to invoke Forge. I then uninstalled JDK version 22 as @Xoroshio advised. I may have to stay with having only JDK 17 installed. Now I need to figure out why the startup does not like the number of mods I installed.
-
By HHYPER_Red · Posted
import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.ItemStack; public class sbcTab { public static final CreativeModeTab SBCTAB = new CreativeModeTab("StayBackCretin!") { @Override public ItemStack makeIcon() { return null; } }; } Everything I've tried so far has been met with nothing, currently in this code the (@Overide) is causing this error to show : 'Method does not override method from its superclass' but after removing it, trying other things I've always been met with the other one : 'Required type: Builder Provided: String' or sometimes even both in my attempts, someone help please
-
-
Topics
-
Who's Online (See full list)
- There are no registered users currently online
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.