few hundred errors gone just like that

This commit is contained in:
Progwml6 committed 2014-01-01 09:16:34 -05:00
1 parent c5426eb992
commit 0ee7ac1718
28 files changed
+720 -718

No files matched your search

@@ -1,6 +1,7 @@
package tconstruct.client;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.relauncher.*;
import java.util.Random;
@@ -14,7 +15,7 @@ import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.entity.*;
import net.minecraft.entity.ai.attributes.AttributeInstance;
import net.minecraft.entity.ai.attributes.IAttributeInstance;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.potion.*;
@@ -24,7 +25,6 @@ import net.minecraftforge.client.GuiIngameForge;
import net.minecraftforge.client.event.*;
import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType;
import net.minecraftforge.client.event.sound.SoundLoadEvent;
import net.minecraftforge.event.ForgeSubscribe;
import net.minecraftforge.fluids.*;
import tconstruct.TConstruct;
import tconstruct.client.armor.WingModel;
@@ -41,7 +41,7 @@ public class TClientEvents
boolean initSounds;
@ForgeSubscribe
@SubscribeEvent
public void onSound (SoundLoadEvent event)
{
if (!initSounds)
@@ -67,7 +67,7 @@ public class TClientEvents
IIcon[] stillIcons = new IIcon[2];
IIcon[] flowIcons = new IIcon[2];
@ForgeSubscribe
@SubscribeEvent
public void preStitch (TextureStitchEvent.Pre event)
{
TextureMap register = event.map;
@@ -78,7 +78,7 @@ public class TClientEvents
}
}
@ForgeSubscribe
@SubscribeEvent
public void postStitch (TextureStitchEvent.Post event)
{
if (event.map.textureType == 0)
@@ -99,7 +99,7 @@ public class TClientEvents
int updateCounter = 0;
/* HUD */
@ForgeSubscribe
@SubscribeEvent
public void renderHealthbar (RenderGameOverlayEvent.Pre event)
{
if (!Loader.isModLoaded("tukmc_Vz"))// Loader check to avoid conflicting with a GUI mod (thanks Vazkii!)
@@ -122,7 +122,7 @@ public class TClientEvents
highlight = false;
}
AttributeInstance attrMaxHealth = this.mc.thePlayer.getEntityAttribute(SharedMonsterAttributes.maxHealth);
IAttributeInstance attrMaxHealth = this.mc.thePlayer.getEntityAttribute(SharedMonsterAttributes.maxHealth);
int health = MathHelper.ceiling_float_int(mc.thePlayer.getHealth());
int healthLast = MathHelper.ceiling_float_int(mc.thePlayer.prevHealth);
float healthMax = (float) attrMaxHealth.getAttributeValue();
@@ -243,7 +243,7 @@ public class TClientEvents
double zLevel = 0;
@ForgeSubscribe
@SubscribeEvent
public void fovModifier(FOVUpdateEvent event)
{
float f = 1.0F;