mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-23 21:49:45 +00:00
Fix some bugs :).
This commit is contained in:
1 parent
02059d7325
commit
b70ed14631
20 files changed
+45
-34
No files matched your search
@@ -30,9 +30,9 @@ public class TClientTickHandler
|
||||
|
||||
if (event.phase.equals(Phase.END) && event.type.equals(Type.RENDER))
|
||||
{
|
||||
TRepo.oreBerry.setGraphicsLevel(Blocks.leaves.graphicsLevel);
|
||||
TRepo.oreBerrySecond.setGraphicsLevel(Blocks.leaves.graphicsLevel);
|
||||
TRepo.slimeLeaves.setGraphicsLevel(Blocks.leaves.graphicsLevel);
|
||||
TRepo.oreBerry.func_150122_b(Blocks.leaves.field_150121_P);
|
||||
TRepo.oreBerrySecond.func_150122_b(Blocks.leaves.field_150121_P);
|
||||
TRepo.slimeLeaves.func_150122_b(Blocks.leaves.field_150121_P);
|
||||
/*if (mc.thePlayer != null && !mc.thePlayer.isAirBorne)
|
||||
controlInstance.landOnGround();*/
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ public class RenderArmorCast implements IItemRenderer
|
||||
@Override
|
||||
public void renderItem (ItemRenderType type, ItemStack item, Object... data)
|
||||
{
|
||||
RenderBlocks renderer = Minecraft.getMinecraft().renderGlobal.globalRenderBlocks;
|
||||
RenderBlocks renderer = Minecraft.getMinecraft().renderGlobal.field_147592_B;
|
||||
Tessellator tessellator = Tessellator.instance;
|
||||
IIcon baseIcon = item.getItem() instanceof ArmorPattern ? ((ArmorPattern) item.getItem()).getBaseIcon() : item.getIconIndex();
|
||||
GL11.glPushMatrix();
|
||||
|
||||
@@ -27,9 +27,9 @@ public class SlimeRender extends RenderLiving
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doRenderLiving (EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
|
||||
public void doRender (EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
|
||||
{
|
||||
super.doRenderLiving(par1EntityLiving, par2, par4, par6, par8, par9);
|
||||
super.doRender(par1EntityLiving, par2, par4, par6, par8, par9);
|
||||
renderBossHealth((BlueSlime) par1EntityLiving);
|
||||
}
|
||||
|
||||
|
||||
@@ -218,7 +218,7 @@ public abstract class NewContainerGui extends GuiScreen
|
||||
if (inventoryplayer.getItemStack() == null && this.mainSlot != null && this.mainSlot.getHasStack())
|
||||
{
|
||||
ItemStack itemstack1 = this.mainSlot.getStack();
|
||||
this.drawItemStackTooltip(itemstack1, mouseX, mouseY);
|
||||
this.func_146285_a(itemstack1, mouseX, mouseY);
|
||||
}
|
||||
|
||||
GL11.glEnable(GL11.GL_LIGHTING);
|
||||
@@ -237,7 +237,7 @@ public abstract class NewContainerGui extends GuiScreen
|
||||
itemRenderer.zLevel = 0.0F;
|
||||
}
|
||||
|
||||
protected void drawItemStackTooltip (ItemStack par1ItemStack, int par2, int par3)
|
||||
protected void func_146285_a (ItemStack par1ItemStack, int par2, int par3)
|
||||
{
|
||||
List list = par1ItemStack.getTooltip(this.field_146297_k.thePlayer, this.field_146297_k.gameSettings.advancedItemTooltips);
|
||||
|
||||
@@ -245,7 +245,7 @@ public abstract class NewContainerGui extends GuiScreen
|
||||
{
|
||||
if (k == 0)
|
||||
{
|
||||
list.set(k, "\u00a7" + Integer.toHexString(par1ItemStack.getRarity().rarityColor) + (String) list.get(k));
|
||||
list.set(k, par1ItemStack.getRarity().rarityColor + (String)list.get(k));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user