Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mrp_v2

Members
  • Joined

  • Last visited

  1. I have a mod that draws lines in the world, and everything works fine with Fast or Fancy graphics. However, with Fabulous graphics, no lines render at all. I've tried to look for the differences between Fabulous and Fancy graphics, but I can't find anything that looks useful. Anyone know why something that renders with Fancy graphics wouldn't render with Fabulous graphics? Example code: @SubscribeEvent public static void renderEvent(RenderWorldLastEvent event) { @SuppressWarnings("resource") PlayerEntity player = Minecraft.getInstance().player; Vector3d playerPos = player.getEyePosition(event.getPartialTicks()); //used to use lightning, but now uses a custom render type that is a mix of lightning and transparency IVertexBuilder builder = Minecraft.getInstance().getRenderTypeBuffers().getBufferSource().getBuffer(RenderType.getLightning()); event.getMatrixStack().push(); event.getMatrixStack().translate(-playerPos.x, -playerPos.y, -playerPos.z); Matrix4f matrix = event.getMatrixStack().getLast().getMatrix(); //example draw - makes a squre builder.pos(matrix, 0, 70, 0).color(255, 255, 255, 255).endVertex(); builder.pos(matrix, 1, 70, 0).color(255, 255, 255, 255).endVertex(); builder.pos(matrix, 1, 70, 1).color(255, 255, 255, 255).endVertex(); builder.pos(matrix, 0, 70, 1).color(255, 255, 255, 255).endVertex(); //end draw event.getMatrixStack().pop(); Minecraft.getInstance().getRenderTypeBuffers().getBufferSource().finish(RenderType.getLightning()); }

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.