Jump to content

S4TURN

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by S4TURN

  1. Similar question was asked few days ago [1.19] Hide items if another mod isn't loaded. Reminder, search the forums before making a new post.
  2. And if you are using "IntelliJ IDEA", you can also press Double Shift to Search Everywhere
  3. I know this will not answer your question, but still... I think it is not about some particular method, I think it is about architecture. Generally content that uses two mods at the same time are delivered in form of a mod add-on. I think you should consider this.
  4. Use your IDE for this. For example, if you are using "IntelliJ IDEA" and you correctly setup your project (jdk, forge mdk, gradle, parchment, etc.), then you can just use Ctrl + B with Block type selected. It will navigate you to class declaration.
  5. Making my own screen by extending from net.minecraft.client.gui.screens.Screen and override render method. I am trying to make green square only to be visible when intersecting with red square. This is what I got so far: @Override public void render(PoseStack poseStack, int mx, int my, float partialTick) { RenderSystem.enableDepthTest(); // Red square GuiComponent.fill(pPoseStack, 32, 32, 64, 64, 0xFFFF0000); RenderSystem.depthFunc(GlConst.GL_LEQUAL); // Green square GuiComponent.fill(pPoseStack, mx-16, my-16, mx+16, my+16, 0xFF00FF00); } Thank you in advance.
  6. I have custom geometry loader, unbaked geometry and bakedmodel. Everything is fine, except textures when breaking block. I need to set texture coordinates for breaking overlay textures. How can I do that? My guess is that I need to fix model's normals. EDIT: To be clear, this is how I want it to look:
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.