mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-18 19:39:12 +00:00
more 1.7 work
This commit is contained in:
1 parent
3bf37fa6a7
commit
3c23d27cf7
48 files changed
+330
-332
No files matched your search
@@ -11,10 +11,11 @@ import net.minecraft.client.audio.SoundManager;
|
||||
import net.minecraft.client.gui.ScaledResolution;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
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.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.potion.*;
|
||||
import net.minecraft.util.*;
|
||||
@@ -63,8 +64,8 @@ public class TClientEvents
|
||||
|
||||
/* Liquids */
|
||||
|
||||
Icon[] stillIcons = new Icon[2];
|
||||
Icon[] flowIcons = new Icon[2];
|
||||
IIcon[] stillIcons = new IIcon[2];
|
||||
IIcon[] flowIcons = new IIcon[2];
|
||||
|
||||
@ForgeSubscribe
|
||||
public void preStitch (TextureStitchEvent.Pre event)
|
||||
@@ -252,7 +253,7 @@ public class TClientEvents
|
||||
f *= 1.1F;
|
||||
}
|
||||
|
||||
if (event.entity.isUsingItem() && event.entity.getItemInUse().itemID == Item.bow.itemID)
|
||||
if (event.entity.isUsingItem() && event.entity.getItemInUse().itemID == Items.bow.itemID)
|
||||
{
|
||||
int i = event.entity.getItemInUseDuration();
|
||||
float f1 = (float) i / 20.0F;
|
||||
|
||||
Reference in new issue
Block a user