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.

LederhosenSheep

Members
  • Joined

  • Last visited

Everything posted by LederhosenSheep

  1. Not sure if this will work 100%, but try and add: if (!worldObj.isRemote) { //code }
  2. Awesome man thanks, I'll check it out now!
  3. I started my mod in 1.4.7 and it was working okay until this new 1.5 crazy texture change and now my ItemRenderer class is acting up in relation to the binding and unbinding of a texture. If anyone knows how to fix this for the newer update, I'd appreciate it @Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { switch (type) { case EQUIPPED: { GL11.glPushMatrix(); //ForgeHooksClient.bindTexture("/lederhosensheep/stevechem/egun.png", 0); GL11.glRotatef(190F, 1.0F, 0.0F, 0.0F); GL11.glRotatef(15F, 0.0F, 1.0F, 0.0F); GL11.glRotatef(250F, 0.0F, 0.0F, 1.0F); boolean isFirstPerson = false; if (data[1] != null && data[1] instanceof EntityPlayer) { if (!((EntityPlayer) data[1] == Minecraft.getMinecraft().renderViewEntity && Minecraft.getMinecraft().gameSettings.thirdPersonView == 0 && !((Minecraft.getMinecraft().currentScreen instanceof GuiInventory || Minecraft.getMinecraft().currentScreen instanceof GuiContainerCreative) && RenderManager.instance.playerViewY == 180.0F))) { GL11.glTranslatef(0.2F, -0.5F, 0.2F); } else { isFirstPerson = true; } } else { GL11.glTranslatef(0.2F, -0.5F, 0.2F); } float scale = 1.2F; GL11.glScalef(scale, scale, scale); egunModel.render((Entity) data[1], 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0625F); //ForgeHooksClient.unbindTexture(); GL11.glPopMatrix(); } default: break; } } Thanks in advance! - Leder

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.