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.

CrypoXL

Members
  • Joined

  • Last visited

  1. hi everyone how can i make this script smoother or make them delay @SubscribeEvent( priority = EventPriority.HIGH ) public void renderCrosshair(RenderGameOverlayEvent event) { if(mc.gameSettings.guiScale == 2) { Minecraft minecraft = Minecraft.getMinecraft(); if(event.type == ElementType.CROSSHAIRS && isGunInHand(minecraft.thePlayer)) { event.setCanceled(true); Icon crosshairIcon = ClientProxy.iconRegistry.crosshairIcon; double scale = 6.0F + getScaleByMotion(minecraft.thePlayer); if(FlansModClient.currentScope == null) scale = 45.0F + getScaleByMotion(minecraft.thePlayer); GL11.glPushAttrib(16384); GL11.glPushMatrix(); GL11.glEnable(3042); OpenGlHelper.glBlendFunc(775, 769, 1, 0); GL11.glEnable(3008); GL11.glColor3d(1.0D, 1.0D, 1.0D); GL11.glTranslated((double)(event.resolution.getScaledWidth() / 2), (double)(event.resolution.getScaledHeight() / 2), 0.0D); GL11.glPushMatrix(); ClientProxy.iconRegistry.bindSheet(); GL11.glRotated(90.0D, 0.0D, 0.0D, 2.0D); ClientProxy.iconRegistry.renderIcon(crosshairIcon, -1.9D, (double)(-scale) + 0.1D); GL11.glRotated(90.0D, 0.0D, 0.0D, 1.0D); ClientProxy.iconRegistry.renderIcon(crosshairIcon, -3.0D, (double)(-scale) - 0.1D); GL11.glRotated(90.0D, 0.0D, 0.0D, 1.0D); ClientProxy.iconRegistry.renderIcon(crosshairIcon, -3.0D, (double)(-scale) + 0.9D); if(FlansModClient.currentScope == null) { GL11.glRotated(90.0D, 0.0D, 0.0D, 1.0D); ClientProxy.iconRegistry.renderIcon(crosshairIcon, -2.1D, (double)(-scale) + 0.9D); } else if (scale >= 6.5F) { GL11.glRotated(90.0D, 0.0D, 0.0D, 1.0D); ClientProxy.iconRegistry.renderIcon(crosshairIcon, -2.1D, (double)(-scale) + 0.9D); } GL11.glPopMatrix(); GL11.glPopMatrix(); GL11.glPopAttrib(); minecraft.getTextureManager().bindTexture(Gui.icons); } } }

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.