Permalink
Browse files

Updated to MDX build 28

  • Loading branch information...
Ri5ux committed Dec 15, 2017
1 parent cc3511f commit 6b13b141529c80846e47589cd50f5dff65c0543e
Showing with 56 additions and 50 deletions.
  1. +1 −1 src/main/java/org/avp/client/render/TacticalHUDRenderEvent.java
  2. +1 −1 src/main/java/org/avp/client/render/block/model/cached/CachedModelReflectiveShape.java
  3. +2 −1 src/main/java/org/avp/client/render/items/RenderItem88MOD4.java
  4. +1 −1 src/main/java/org/avp/client/render/items/RenderItemAK47.java
  5. +4 −3 src/main/java/org/avp/client/render/items/RenderItemM240ICU.java
  6. +2 −1 src/main/java/org/avp/client/render/items/RenderItemM4.java
  7. +5 −4 src/main/java/org/avp/client/render/items/RenderItemM41A.java
  8. +3 −2 src/main/java/org/avp/client/render/items/RenderItemNostromoFlamethrower.java
  9. +11 −10 src/main/java/org/avp/client/render/items/RenderItemSniper.java
  10. +1 −1 src/main/java/org/avp/client/render/items/RenderMotionTrackerScreen.java
  11. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItem88Mod4Action.java
  12. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItem88Mod4Barrel.java
  13. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItem88Mod4Stock.java
  14. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemAK47Action.java
  15. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemAK47Barrel.java
  16. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemAK47Stock.java
  17. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM41AAction.java
  18. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM41ABarrel.java
  19. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM41APeripherals.java
  20. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM41AStock.java
  21. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM4Action.java
  22. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM4Barrel.java
  23. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM4Stock.java
  24. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM56SGAction.java
  25. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM56SGAimingModule.java
  26. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM56SGBarrel.java
  27. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM56SGStock.java
  28. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemM56SGSupportFrame.java
  29. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemSniperAction.java
  30. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemSniperBarrel.java
  31. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemSniperPeripherals.java
  32. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemSniperScope.java
  33. +1 −1 src/main/java/org/avp/client/render/items/firearms/parts/RenderItemSniperStock.java
  34. +1 −1 src/main/java/org/avp/entities/EntityBullet.java
  35. +1 −1 src/main/java/org/avp/tile/TileEntityTurret.java
@@ -102,7 +102,7 @@ public void renderWorldLastEvent(RenderWorldLastEvent event)
if (living != null && (Entities.canEntityBeSeenBy(living, Game.minecraft().player) || !specialPlayer.isEntityCullingEnabled()) && living instanceof EntityLivingBase)
{
Organism organism = (Organism) living.getCapability(Provider.CAPABILITY, null);
Entity rve = Game.minecraft().renderViewEntity;
Entity rve = Game.minecraft().getRenderViewEntity();
Vec3d lPos = new Vec3d(living.posX, living.posY, living.posZ).addVector(0, living.getEyeHeight() / 2, 0);
lPos = lPos.subtract(new Vec3d(rve.posX + (rve.posX - rve.prevPosX) * event.getPartialTicks(), rve.posY + (rve.posY - rve.prevPosY) * event.getPartialTicks(), rve.posZ + (rve.posZ - rve.prevPosZ) * event.getPartialTicks()));
@@ -166,7 +166,7 @@ public TextureAtlasSprite apply(ResourceLocation location)
if (side == null && transformType == null)
{
TextureMap textureMap = Game.minecraft().textureMapBlocks;
TextureMap textureMap = Game.minecraft().getTextureMapBlocks();
BlockRendererDispatcher dispatcher = Game.minecraft().getBlockRendererDispatcher();
IModel retextured = model;
TRSRTransformation transformation = rotation(state);
@@ -6,6 +6,7 @@
import com.arisux.mdx.lib.client.render.ItemRenderer;
import com.arisux.mdx.lib.client.render.OpenGL;
import com.arisux.mdx.lib.game.Game;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType;
@@ -36,7 +37,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
float glScale = 1F;
OpenGL.translate(0.25F, 0.16F, -0.5F);
if (Mouse.isButtonDown(0) && mc.inGameHasFocus)
if (Mouse.isButtonDown(0) && Game.minecraft().inGameHasFocus)
{
OpenGL.translate(-0.77F, 0.25F, 0.35F);
}
@@ -48,7 +48,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
{
OpenGL.translate(1F, 0.2F, 0.2F);
if (Mouse.isButtonDown(0) && mc.inGameHasFocus)
if (Mouse.isButtonDown(0) && Game.minecraft().inGameHasFocus)
{
OpenGL.translate(-1.735F, 0.24F, 0.8F);
}
@@ -9,6 +9,7 @@
import com.arisux.mdx.lib.client.render.Draw;
import com.arisux.mdx.lib.client.render.ItemRenderer;
import com.arisux.mdx.lib.client.render.OpenGL;
import com.arisux.mdx.lib.game.Game;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType;
@@ -50,7 +51,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
{
OpenGL.translate(0F, 0.15F, -0.4F);
if (Mouse.isButtonDown(0) && mc.inGameHasFocus)
if (Mouse.isButtonDown(0) && Game.minecraft().inGameHasFocus)
{
OpenGL.translate(-0.6495F, 0F, 0F);
}
@@ -59,7 +60,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
OpenGL.scale(-glScale, -glScale, -glScale);
this.getModel().draw();
if (mc.player.getHeldItemMainhand() != null && mc.player.getHeldItemMainhand().getItem() instanceof ItemFirearm)
if (Game.minecraft().player.getHeldItemMainhand() != null && Game.minecraft().player.getHeldItemMainhand().getItem() instanceof ItemFirearm)
{
OpenGL.disable(GL11.GL_LIGHTING);
OpenGL.translate(-0.3439F, 0.6F, 0.04F);
@@ -89,7 +90,7 @@ public void renderInInventory(ItemStack itemstack, EntityLivingBase entity, Tran
public String getAmmoCountDisplayString()
{
int ammoCount = ((ItemFirearm) mc.player.inventory.getCurrentItem().getItem()).getAmmoCount();
int ammoCount = ((ItemFirearm) Game.minecraft().player.inventory.getCurrentItem().getItem()).getAmmoCount();
return (ammoCount < 10 ? "0" + ammoCount : String.valueOf(ammoCount));
}
}
@@ -6,6 +6,7 @@
import com.arisux.mdx.lib.client.render.ItemRenderer;
import com.arisux.mdx.lib.client.render.OpenGL;
import com.arisux.mdx.lib.game.Game;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType;
@@ -45,7 +46,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
float glScale = 1.0F;
OpenGL.translate(0F, 0.85F, 0F);
if (Mouse.isButtonDown(0) && mc.inGameHasFocus)
if (Mouse.isButtonDown(0) && Game.minecraft().inGameHasFocus)
{
OpenGL.translate(-0.8095F, 0.165F, 0.4F);
}
@@ -18,6 +18,7 @@
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
public class RenderItemM41A extends ItemRenderer<ModelM41A>
@@ -57,7 +58,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
{
OpenGL.translate(1F, 1.25F, -0.3F);
if (Mouse.isButtonDown(0) && mc.inGameHasFocus)
if (Mouse.isButtonDown(0) && Game.minecraft().inGameHasFocus)
{
OpenGL.translate(-1.16F, -0.095F, 0.52F);
}
@@ -67,7 +68,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
new Texture(Remote.downloadResource(String.format(URLs.SKIN_M41A, Game.session().getPlayerID()), this.getModel().getTexture())).bind();
this.getModel().getModel().render();
if (mc.player.getHeldItemMainhand() != null && mc.player.getHeldItemMainhand().getItem() instanceof ItemFirearm)
if (Game.minecraft().player.getHeldItemMainhand() != null && Game.minecraft().player.getHeldItemMainhand().getItem() instanceof ItemFirearm)
{
OpenGL.disable(GL11.GL_LIGHTING);
OpenGL.translate(-0.3439F, 0.6F, 0.04F);
@@ -81,7 +82,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
OpenGL.color(1F, 1F, 1F, 1F);
}
if (Inventories.getAmountOfItemEntityHas(AliensVsPredator.items().itemMotionTracker, entity) > 0)
if (Inventories.getAmountOfItemPlayerHas(AliensVsPredator.items().itemMotionTracker, (EntityPlayer) entity) > 0)
{
OpenGL.translate(-50F, -20F, -50F);
OpenGL.rotate(-90F, 0F, 1F, 0F);
@@ -107,7 +108,7 @@ public void renderInInventory(ItemStack itemstack, EntityLivingBase entity, Tran
public String getAmmoCountDisplayString()
{
int ammoCount = ((ItemFirearm) mc.player.inventory.getCurrentItem().getItem()).getAmmoCount();
int ammoCount = ((ItemFirearm) Game.minecraft().player.inventory.getCurrentItem().getItem()).getAmmoCount();
return (ammoCount < 10 ? "0" + ammoCount : String.valueOf(ammoCount));
}
}
@@ -7,6 +7,7 @@
import com.arisux.mdx.lib.client.render.ItemRenderer;
import com.arisux.mdx.lib.client.render.OpenGL;
import com.arisux.mdx.lib.game.Game;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType;
@@ -47,7 +48,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
{
OpenGL.translate(0F, 0.35F, -0.9F);
if (Mouse.isButtonDown(0) && mc.inGameHasFocus)
if (Mouse.isButtonDown(0) && Game.minecraft().inGameHasFocus)
{
OpenGL.translate(-0.5595F, 0F, 0F);
}
@@ -73,7 +74,7 @@ public void renderInInventory(ItemStack itemstack, EntityLivingBase entity, Tran
public String getAmmoCountDisplayString()
{
int ammoCount = ((ItemFirearm) mc.player.inventory.getCurrentItem().getItem()).getAmmoCount();
int ammoCount = ((ItemFirearm) Game.minecraft().player.inventory.getCurrentItem().getItem()).getAmmoCount();
return (ammoCount < 10 ? "0" + ammoCount : String.valueOf(ammoCount));
}
}
@@ -6,6 +6,7 @@
import com.arisux.mdx.lib.client.render.ItemRenderer;
import com.arisux.mdx.lib.client.render.OpenGL;
import com.arisux.mdx.lib.game.Game;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType;
@@ -15,7 +16,7 @@
public class RenderItemSniper extends ItemRenderer<ModelSniper>
{
private float defaultFOV = mc.gameSettings.getOptionFloatValue(GameSettings.Options.FOV);
private float defaultFOV = Game.minecraft().gameSettings.getOptionFloatValue(GameSettings.Options.FOV);
public RenderItemSniper()
{
@@ -33,22 +34,22 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
public void renderZoom()
{
if (mc.gameSettings.thirdPersonView == 0 && mc.player.getHeldItemMainhand() != null)
if (Game.minecraft().gameSettings.thirdPersonView == 0 && Game.minecraft().player.getHeldItemMainhand() != null)
{
if (mc.player.getHeldItemMainhand().getItem() == AliensVsPredator.items().itemSniper)
if (Game.minecraft().player.getHeldItemMainhand().getItem() == AliensVsPredator.items().itemSniper)
{
if (!mc.inGameHasFocus)
if (!Game.minecraft().inGameHasFocus)
{
this.defaultFOV = mc.gameSettings.getOptionFloatValue(GameSettings.Options.FOV);
this.defaultFOV = Game.minecraft().gameSettings.getOptionFloatValue(GameSettings.Options.FOV);
}
if (Mouse.isButtonDown(0) && mc.inGameHasFocus)
if (Mouse.isButtonDown(0) && Game.minecraft().inGameHasFocus)
{
mc.gameSettings.setOptionFloatValue(GameSettings.Options.FOV, 9F);
Game.minecraft().gameSettings.setOptionFloatValue(GameSettings.Options.FOV, 9F);
}
else if (mc.inGameHasFocus)
else if (Game.minecraft().inGameHasFocus)
{
mc.gameSettings.setOptionFloatValue(GameSettings.Options.FOV, defaultFOV);
Game.minecraft().gameSettings.setOptionFloatValue(GameSettings.Options.FOV, defaultFOV);
}
}
}
@@ -70,7 +71,7 @@ public void renderFirstPersonRight(ItemStack itemstack, EntityLivingBase entity,
float glScale = 1.5F;
OpenGL.translate(0F, 0.35F, -0.3F);
if (Mouse.isButtonDown(0) && mc.inGameHasFocus)
if (Mouse.isButtonDown(0) && Game.minecraft().inGameHasFocus)
{
this.getModel().getModel().setFirstPerson(true);
OpenGL.translate(-0.5125F, 0.095F, 0.62F);
@@ -197,7 +197,7 @@ else if (this.updateTracker)
if (this.pingCount > 0)
{
Sounds.MOTIONTRACKER_PONG.setPitch(this.pitch[this.minDistance]).playSound(Game.minecraft().player);
Sounds.MOTIONTRACKER_PONG.playSound(Game.minecraft().player, 1F, this.pitch[this.minDistance]);
}
}
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
@@ -40,7 +40,7 @@ public void renderInWorld(ItemStack itemstack, EntityLivingBase entity, Transfor
{
OpenGL.pushMatrix();
{
OpenGL.rotate((this.mc.world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
OpenGL.rotate((Game.minecraft().world.getWorldTime() + Game.partialTicks() % 360) * 10, 0.0F, 1.0F, 0.0F);
GlStateManager.disableCull();
this.renderPart();
}
Oops, something went wrong.

0 comments on commit 6b13b14

Please sign in to comment.