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.

Leaderboard

Popular Content

Showing content with the highest reputation on 03/09/22 in all areas

  1. you use 1.16.5-36.1.21 but you should use version 1.16.5 - 36.2.30
  2. Hi, im fairly new to forge modding, so please forgive for asking such a stupid question. Now for my problem. Im trying to draw a line between two positions. Drawing the line works, but when I change pitch or yaw, the line doesn't adjust, it just stays in the same position on screen. I want it to adjust it's position, just like a normal block would. What happens: https://imgur.com/EwpOGuo What I tried: Main class: @Mod("path") public class path { public path() { FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); } private void setup(final FMLCommonSetupEvent event) { MinecraftForge.EVENT_BUS.register(new PathRenderer()); } } Renderer: public class PathRenderer { private Minecraft mc; public PathRenderer() { mc = Minecraft.getInstance(); } @SubscribeEvent public void render(RenderWorldLastEvent event){ double x = mc.player.getPositionVec().x; double y = mc.player.getPositionVec().y; double z = mc.player.getPositionVec().z; Vec3d p1 = new Vec3d(0, 57, 0); Vec3d p2 = new Vec3d(5, 57, 0); GL11.glPushMatrix(); GL11.glTranslated(-x, -y, -z); GL11.glLineWidth(6.0f); GL11.glColor3ub((byte)255,(byte)0,(byte)0); GL11.glBegin(GL11.GL_LINES); GL11.glVertex3d(p1.x, p1.y, p1.z); GL11.glVertex3d(p2.x, p2.y, p2.z); GL11.glEnd(); GL11.glPopMatrix(); } }

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.