Everything posted by xcoopergangx
-
[SOLVED] [1.6.2] Recompiling Error
package minecraftmod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.client.resources.ResourceLocation; import net.minecraft.entity.Entity; import net.minecraft.entity.projectile.EntityFireball; import net.minecraft.item.Item; import net.minecraft.util.Icon; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; @SideOnly(Side.CLIENT) public class RenderShuriken extends Render { public RenderShuriken() { } public void doRenderFireball(EntityShuriken par1Entity, double par2, double par4, double par6, float par8, float par9) { GL11.glPushMatrix(); GL11.glTranslatef((float)par2, (float)par4, (float)par6); GL11.glEnable(GL12.GL_RESCALE_NORMAL); Icon icon = TitaniumMod.Shuriken.getIconFromDamage(0); Tessellator tessellator = Tessellator.instance; float f3 = icon.getMinU(); float f4 = icon.getMaxU(); float f5 = icon.getMinV(); float f6 = icon.getMaxV(); float f7 = 1.0F; float f8 = 0.5F; float f9 = 0.25F; GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); this.loadTexture("/gui/items.png"); tessellator.startDrawingQuads(); tessellator.setNormal(0.0F, 1.0F, 0.0F); tessellator.addVertexWithUV((double)(0.0F - f8), (double)(0.0F - f9), 0.0D, (double)f3, (double)f6); tessellator.addVertexWithUV((double)(f7 - f8), (double)(0.0F - f9), 0.0D, (double)f4, (double)f6); tessellator.addVertexWithUV((double)(f7 - f8), (double)(1.0F - f9), 0.0D, (double)f4, (double)f5); tessellator.addVertexWithUV((double)(0.0F - f8), (double)(1.0F - f9), 0.0D, (double)f3, (double)f5); tessellator.draw(); GL11.glDisable(GL12.GL_RESCALE_NORMAL); GL11.glPopMatrix(); } private void loadTexture(String string) { // TODO Auto-generated method stub } protected net.minecraft.util.ResourceLocation func_110790_a(EntityFireball par1EntityFireball) { return TextureMap.field_110576_c; } protected net.minecraft.util.ResourceLocation func_110775_a(Entity par1Entity) { return this.func_110790_a((EntityFireball)par1Entity); } /** * Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then * handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic * (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1, * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that. */ public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) { this.doRenderFireball((EntityShuriken)par1Entity, par2, par4, par6, par8, par9); } } render class that had the errors
-
[SOLVED] [1.6.2] Recompiling Error
no I did a new forge source and copied over. I fixed the errors that occured and it wont recompile same error
-
[SOLVED] [1.6.2] Recompiling Error
package net.minecraft.client.multiplayer; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import java.util.concurrent.Callable; @SideOnly(Side.CLIENT) class WorldClientINNER3 implements Callable { final WorldClient field_142027_a; WorldClientINNER3(WorldClient par1WorldClient) { this.field_142027_a = par1WorldClient; } public String func_142026_a() { return WorldClient.[color=red]func_142027_c[/color](this.field_142027_a).thePlayer.func_142021_k(); } public Object call() { return this.func_142026_a(); } } package net.minecraft.network.packet; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; public class Packet133TileEditorOpen extends Packet { public int field_142037_a; public int field_142035_b; public int field_142036_c; public int field_142034_d; public Packet133TileEditorOpen() {} public Packet133TileEditorOpen(int par1, int par2, int par3, int par4) { this.field_142037_a = par1; this.field_142035_b = par2; this.field_142036_c = par3; this.field_142034_d = par4; } /** * Passes this Packet on to the NetHandler for processing. */ public void processPacket(NetHandler par1NetHandler) { par1NetHandler.func_142031_a(this); } /** * Abstract. Reads the raw packet data from the data stream. */ public void readPacketData(DataInput par1DataInput) throws IOException { this.field_142037_a = par1DataInput.readByte(); this.field_142035_b = par1DataInput.readInt(); this.field_142036_c = par1DataInput.readInt(); this.field_142034_d = par1DataInput.readInt(); } /** * Abstract. Writes the raw packet data to the data stream. */ public void writePacketData(DataOutput par1DataOutput) throws IOException { par1DataOutput.writeByte(this.field_142037_a); par1DataOutput.writeInt(this.field_142035_b); par1DataOutput.writeInt(this.field_142036_c); par1DataOutput.writeInt(this.field_142034_d); } /** * Abstract. Return the size of the packet (not counting the header). */ public int getPacketSize() { return 13; } } package net.minecraft.client.multiplayer; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import java.util.concurrent.Callable; @SideOnly(Side.CLIENT) class WorldClientINNER4 implements Callable { final WorldClient field_142029_a; WorldClientINNER4(WorldClient par1WorldClient) { this.field_142029_a = par1WorldClient; } public String func_142028_a() { return WorldClient.func_142030_c(this.field_142029_a).getIntegratedServer() == null ? "Non-integrated multiplayer server" : "Integrated singleplayer server"; } public Object call() { return this.func_142028_a(); } }
-
[SOLVED] [1.6.2] Recompiling Error
Yeah I may have changed those files.... They have errors on them
-
Throwable tools?
Guff can you also help me with this? My forge wont recompile http://www.minecraftforge.net/forum/index.php/topic,10404.0.html
-
Throwable tools?
I mean like to a custom pickaxe/vanilla tools.
-
[SOLVED] [1.6.2] Recompiling Error
I tryed recompiling because i fixed some things in my mod but this happened Log from mcperr: !! renaming disabled !! 08:41:02 - '"C:\Program Files\Java\jdk1.7.0_25\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1 08:41:02 - 08:41:02 - == ERRORS FOUND in JAVA CODE == 08:41:02 - 08:41:02 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:60: warning: [deprecation] Block in Mod has been deprecated 08:41:02 - import cpw.mods.fml.common.Mod.Block; 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\minecraftmod\TitaniumBlock.java:5: warning: [deprecation] Init in Mod has been deprecated 08:41:02 - import cpw.mods.fml.common.Mod.Init; 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\minecraftmod\TitaniumMod.java:16: warning: [deprecation] Init in Mod has been deprecated 08:41:02 - import cpw.mods.fml.common.Mod.Init; 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\minecraftmod\TitaniumMod.java:18: warning: [deprecation] PreInit in Mod has been deprecated 08:41:02 - import cpw.mods.fml.common.Mod.PreInit; 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\minecraftmod\TitaniumOre.java:5: warning: [deprecation] Init in Mod has been deprecated 08:41:02 - import cpw.mods.fml.common.Mod.Init; 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraftforge\liquids\IBlockLiquid.java:12: warning: [deprecation] ILiquid in net.minecraftforge.liquids has been deprecated 08:41:02 - public interface IBlockLiquid extends ILiquid { 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraftforge\liquids\LiquidTank.java:10: warning: [deprecation] ILiquidTank in net.minecraftforge.liquids has been deprecated 08:41:02 - public class LiquidTank implements ILiquidTank { 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\minecraftmod\TitaniumMod.java:71: warning: [deprecation] Init in Mod has been deprecated 08:41:02 - @Init 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated 08:41:02 - import net.minecraft.client.particle.EntityCrit2FX; 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:507: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated 08:41:02 - public int getSizeInventorySide(ForgeDirection side) 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:490: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated 08:41:02 - public int getStartInventorySide(ForgeDirection side) 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter; 08:41:02 - stringbuilder.append(StatCollector.translateToLocalFormatted(this.field_111090_h, astring)); 08:41:02 - ^ 08:41:02 - 08:41:02 - cast to Object for a varargs call 08:41:02 - cast to Object[] for a non-varargs call and to suppress this warning 08:41:02 - src\minecraft\net\minecraft\item\ItemPotion.java:394: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:41:02 - public boolean hasEffect(ItemStack par1ItemStack) 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\item\ItemEnchantedBook.java:23: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:41:02 - public boolean hasEffect(ItemStack par1ItemStack) 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:113: warning: [deprecation] Block in Mod has been deprecated 08:41:02 - public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\cpw\mods\fml\relauncher\FMLCorePlugin.java:21: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 08:41:02 - public String[] getLibraryRequestClass() 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER3.java:19: error: cannot find symbol 08:41:02 - return WorldClient.func_142030_c(this.field_142027_a).thePlayer.func_142021_k(); 08:41:02 - ^ 08:41:02 - 08:41:02 - symbol: method func_142030_c(WorldClient) 08:41:02 - location: class WorldClient 08:41:02 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER4.java:19: error: cannot find symbol 08:41:02 - return WorldClient.func_142030_c(this.field_142029_a).getIntegratedServer() == null ? "Non-integrated multiplayer server" : "Integrated singleplayer server"; 08:41:02 - ^ 08:41:02 - 08:41:02 - symbol: method func_142030_c(WorldClient) 08:41:02 - location: class WorldClient 08:41:02 - src\minecraft\net\minecraft\item\ItemAppleGold.java:21: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:41:02 - public boolean hasEffect(ItemStack par1ItemStack) 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\item\ItemEditableBook.java:91: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:41:02 - public boolean hasEffect(ItemStack par1ItemStack) 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\item\ItemExpBottle.java:19: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:41:02 - public boolean hasEffect(ItemStack par1ItemStack) 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\item\ItemSimpleFoiled.java:14: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:41:02 - public boolean hasEffect(ItemStack par1ItemStack) 08:41:02 - ^ 08:41:02 - 08:41:02 - src\minecraft\net\minecraft\network\packet\Packet133TileEditorOpen.java:29: error: cannot find symbol 08:41:02 - par1NetHandler.func_142031_a(this); 08:41:02 - ^ 08:41:02 - 08:41:02 - symbol: method func_142031_a(Packet133TileEditorOpen) 08:41:02 - location: variable par1NetHandler of type NetHandler 08:41:02 - src\minecraft\net\minecraftforge\classloading\FMLForgePlugin.java:12: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 08:41:02 - public String[] getLibraryRequestClass() 08:41:02 - ^ 08:41:02 - 08:41:02 - 3 errors 08:41:02 - 21 warnings 08:41:02 - ================== 08:41:02 - 08:41:02 - !! Can not find server sources, try decompiling !! 08:41:27 - !! Can not find server md5s !! 08:01:56 - '"C:\Program Files\Java\jdk1.7.0_25\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1 08:01:56 - 08:01:56 - == ERRORS FOUND in JAVA CODE == 08:01:56 - 08:01:56 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:60: warning: [deprecation] Block in Mod has been deprecated 08:01:56 - import cpw.mods.fml.common.Mod.Block; 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\minecraftmod\TitaniumBlock.java:5: warning: [deprecation] Init in Mod has been deprecated 08:01:56 - import cpw.mods.fml.common.Mod.Init; 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\minecraftmod\TitaniumMod.java:16: warning: [deprecation] Init in Mod has been deprecated 08:01:56 - import cpw.mods.fml.common.Mod.Init; 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\minecraftmod\TitaniumMod.java:18: warning: [deprecation] PreInit in Mod has been deprecated 08:01:56 - import cpw.mods.fml.common.Mod.PreInit; 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\minecraftmod\TitaniumOre.java:5: warning: [deprecation] Init in Mod has been deprecated 08:01:56 - import cpw.mods.fml.common.Mod.Init; 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraftforge\liquids\IBlockLiquid.java:12: warning: [deprecation] ILiquid in net.minecraftforge.liquids has been deprecated 08:01:56 - public interface IBlockLiquid extends ILiquid { 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraftforge\liquids\LiquidTank.java:10: warning: [deprecation] ILiquidTank in net.minecraftforge.liquids has been deprecated 08:01:56 - public class LiquidTank implements ILiquidTank { 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\minecraftmod\TitaniumMod.java:72: warning: [deprecation] Init in Mod has been deprecated 08:01:56 - @Init 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated 08:01:56 - import net.minecraft.client.particle.EntityCrit2FX; 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:507: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated 08:01:56 - public int getSizeInventorySide(ForgeDirection side) 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:490: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated 08:01:56 - public int getStartInventorySide(ForgeDirection side) 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter; 08:01:56 - stringbuilder.append(StatCollector.translateToLocalFormatted(this.field_111090_h, astring)); 08:01:56 - ^ 08:01:56 - 08:01:56 - cast to Object for a varargs call 08:01:56 - cast to Object[] for a non-varargs call and to suppress this warning 08:01:56 - src\minecraft\net\minecraft\item\ItemPotion.java:394: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:01:56 - public boolean hasEffect(ItemStack par1ItemStack) 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\item\ItemEnchantedBook.java:23: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:01:56 - public boolean hasEffect(ItemStack par1ItemStack) 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:113: warning: [deprecation] Block in Mod has been deprecated 08:01:56 - public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\cpw\mods\fml\relauncher\FMLCorePlugin.java:21: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 08:01:56 - public String[] getLibraryRequestClass() 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER3.java:19: error: cannot find symbol 08:01:56 - return WorldClient.func_142030_c(this.field_142027_a).thePlayer.func_142021_k(); 08:01:56 - ^ 08:01:56 - 08:01:56 - symbol: variable thePlayer 08:01:56 - location: class Object 08:01:56 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER4.java:19: error: cannot find symbol 08:01:56 - return WorldClient.func_142030_c(this.field_142029_a).getIntegratedServer() == null ? "Non-integrated multiplayer server" : "Integrated singleplayer server"; 08:01:56 - ^ 08:01:56 - 08:01:56 - symbol: method getIntegratedServer() 08:01:56 - location: class Object 08:01:56 - src\minecraft\net\minecraft\item\ItemAppleGold.java:21: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:01:56 - public boolean hasEffect(ItemStack par1ItemStack) 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\item\ItemEditableBook.java:91: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:01:56 - public boolean hasEffect(ItemStack par1ItemStack) 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\item\ItemExpBottle.java:19: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:01:56 - public boolean hasEffect(ItemStack par1ItemStack) 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\item\ItemSimpleFoiled.java:14: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:01:56 - public boolean hasEffect(ItemStack par1ItemStack) 08:01:56 - ^ 08:01:56 - 08:01:56 - src\minecraft\net\minecraft\network\packet\Packet133TileEditorOpen.java:29: error: cannot find symbol 08:01:56 - par1NetHandler.func_142031_a(this); 08:01:56 - ^ 08:01:56 - 08:01:56 - symbol: method func_142031_a(Packet133TileEditorOpen) 08:01:56 - location: variable par1NetHandler of type NetHandler 08:01:56 - src\minecraft\net\minecraftforge\classloading\FMLForgePlugin.java:12: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 08:01:56 - public String[] getLibraryRequestClass() 08:01:56 - ^ 08:01:56 - 08:01:56 - 3 errors 08:01:56 - 21 warnings 08:01:56 - ================== 08:01:56 - 08:01:56 - !! Can not find server sources, try decompiling !! 08:02:26 - !! Can not find server md5s !! 16:13:14 - '"C:\Program Files\Java\jdk1.7.0_25\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1 16:13:14 - 16:13:14 - == ERRORS FOUND in JAVA CODE == 16:13:14 - 16:13:14 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:60: warning: [deprecation] Block in Mod has been deprecated 16:13:14 - import cpw.mods.fml.common.Mod.Block; 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\minecraftmod\TitaniumBlock.java:5: warning: [deprecation] Init in Mod has been deprecated 16:13:14 - import cpw.mods.fml.common.Mod.Init; 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\minecraftmod\TitaniumMod.java:18: warning: [deprecation] Init in Mod has been deprecated 16:13:14 - import cpw.mods.fml.common.Mod.Init; 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\minecraftmod\TitaniumMod.java:20: warning: [deprecation] PreInit in Mod has been deprecated 16:13:14 - import cpw.mods.fml.common.Mod.PreInit; 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\minecraftmod\TitaniumOre.java:5: warning: [deprecation] Init in Mod has been deprecated 16:13:14 - import cpw.mods.fml.common.Mod.Init; 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraftforge\liquids\IBlockLiquid.java:12: warning: [deprecation] ILiquid in net.minecraftforge.liquids has been deprecated 16:13:14 - public interface IBlockLiquid extends ILiquid { 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraftforge\liquids\LiquidTank.java:10: warning: [deprecation] ILiquidTank in net.minecraftforge.liquids has been deprecated 16:13:14 - public class LiquidTank implements ILiquidTank { 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\minecraftmod\TitaniumMod.java:74: warning: [deprecation] Init in Mod has been deprecated 16:13:14 - @Init 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated 16:13:14 - import net.minecraft.client.particle.EntityCrit2FX; 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:507: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated 16:13:14 - public int getSizeInventorySide(ForgeDirection side) 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:490: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated 16:13:14 - public int getStartInventorySide(ForgeDirection side) 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter; 16:13:14 - stringbuilder.append(StatCollector.translateToLocalFormatted(this.field_111090_h, astring)); 16:13:14 - ^ 16:13:14 - 16:13:14 - cast to Object for a varargs call 16:13:14 - cast to Object[] for a non-varargs call and to suppress this warning 16:13:14 - src\minecraft\net\minecraft\item\ItemPotion.java:394: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 16:13:14 - public boolean hasEffect(ItemStack par1ItemStack) 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\item\ItemEnchantedBook.java:23: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 16:13:14 - public boolean hasEffect(ItemStack par1ItemStack) 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:113: warning: [deprecation] Block in Mod has been deprecated 16:13:14 - public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\cpw\mods\fml\relauncher\FMLCorePlugin.java:21: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 16:13:14 - public String[] getLibraryRequestClass() 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER3.java:19: error: cannot find symbol 16:13:14 - return WorldClient.func_142030_c(this.field_142027_a).thePlayer.func_142021_k(); 16:13:14 - ^ 16:13:14 - 16:13:14 - symbol: variable thePlayer 16:13:14 - location: class Object 16:13:14 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER4.java:19: error: cannot find symbol 16:13:14 - return WorldClient.func_142030_c(this.field_142029_a).getIntegratedServer() == null ? "Non-integrated multiplayer server" : "Integrated singleplayer server"; 16:13:14 - ^ 16:13:14 - 16:13:14 - symbol: method getIntegratedServer() 16:13:14 - location: class Object 16:13:14 - src\minecraft\net\minecraft\item\ItemAppleGold.java:21: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 16:13:14 - public boolean hasEffect(ItemStack par1ItemStack) 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\item\ItemEditableBook.java:91: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 16:13:14 - public boolean hasEffect(ItemStack par1ItemStack) 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\item\ItemExpBottle.java:19: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 16:13:14 - public boolean hasEffect(ItemStack par1ItemStack) 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\item\ItemSimpleFoiled.java:14: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 16:13:14 - public boolean hasEffect(ItemStack par1ItemStack) 16:13:14 - ^ 16:13:14 - 16:13:14 - src\minecraft\net\minecraft\network\packet\Packet133TileEditorOpen.java:29: error: cannot find symbol 16:13:14 - par1NetHandler.func_142031_a(this); 16:13:14 - ^ 16:13:14 - 16:13:14 - symbol: method func_142031_a(Packet133TileEditorOpen) 16:13:14 - location: variable par1NetHandler of type NetHandler 16:13:14 - src\minecraft\net\minecraftforge\classloading\FMLForgePlugin.java:12: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 16:13:14 - public String[] getLibraryRequestClass() 16:13:14 - ^ 16:13:14 - 16:13:14 - 3 errors 16:13:14 - 21 warnings 16:13:14 - ================== 16:13:14 - 16:13:14 - !! Can not find server sources, try decompiling !! 16:13:45 - !! Can not find server md5s !! 20:29:53 - "scalac" is not found on the PATH. Scala files will not be recompiled 08:30:12 - '"C:\Program Files\Java\jdk1.7.0_25\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1 08:30:12 - 08:30:12 - == ERRORS FOUND in JAVA CODE == 08:30:12 - 08:30:12 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:60: warning: [deprecation] Block in Mod has been deprecated 08:30:12 - import cpw.mods.fml.common.Mod.Block; 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\minecraftmod\TitaniumBlock.java:5: warning: [deprecation] Init in Mod has been deprecated 08:30:12 - import cpw.mods.fml.common.Mod.Init; 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\minecraftmod\TitaniumMod.java:25: warning: [deprecation] Init in Mod has been deprecated 08:30:12 - import cpw.mods.fml.common.Mod.Init; 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\minecraftmod\TitaniumMod.java:27: warning: [deprecation] PreInit in Mod has been deprecated 08:30:12 - import cpw.mods.fml.common.Mod.PreInit; 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\minecraftmod\TitaniumOre.java:5: warning: [deprecation] Init in Mod has been deprecated 08:30:12 - import cpw.mods.fml.common.Mod.Init; 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraftforge\liquids\IBlockLiquid.java:12: warning: [deprecation] ILiquid in net.minecraftforge.liquids has been deprecated 08:30:12 - public interface IBlockLiquid extends ILiquid { 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraftforge\liquids\LiquidTank.java:10: warning: [deprecation] ILiquidTank in net.minecraftforge.liquids has been deprecated 08:30:12 - public class LiquidTank implements ILiquidTank { 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\minecraftmod\TitaniumMod.java:96: warning: [deprecation] Init in Mod has been deprecated 08:30:12 - @Init 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated 08:30:12 - import net.minecraft.client.particle.EntityCrit2FX; 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:507: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated 08:30:12 - public int getSizeInventorySide(ForgeDirection side) 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:490: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated 08:30:12 - public int getStartInventorySide(ForgeDirection side) 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter; 08:30:12 - stringbuilder.append(StatCollector.translateToLocalFormatted(this.field_111090_h, astring)); 08:30:12 - ^ 08:30:12 - 08:30:12 - cast to Object for a varargs call 08:30:12 - cast to Object[] for a non-varargs call and to suppress this warning 08:30:12 - src\minecraft\net\minecraft\item\ItemPotion.java:394: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:30:12 - public boolean hasEffect(ItemStack par1ItemStack) 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\item\ItemEnchantedBook.java:23: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:30:12 - public boolean hasEffect(ItemStack par1ItemStack) 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:113: warning: [deprecation] Block in Mod has been deprecated 08:30:12 - public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\cpw\mods\fml\relauncher\FMLCorePlugin.java:21: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 08:30:12 - public String[] getLibraryRequestClass() 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER3.java:19: error: cannot find symbol 08:30:12 - return WorldClient.func_142030_c(this.field_142027_a).thePlayer.func_142021_k(); 08:30:12 - ^ 08:30:12 - 08:30:12 - symbol: method func_142030_c(WorldClient) 08:30:12 - location: class WorldClient 08:30:12 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER4.java:19: error: cannot find symbol 08:30:12 - return WorldClient.func_142030_c(this.field_142029_a).getIntegratedServer() == null ? "Non-integrated multiplayer server" : "Integrated singleplayer server"; 08:30:12 - ^ 08:30:12 - 08:30:12 - symbol: method func_142030_c(WorldClient) 08:30:12 - location: class WorldClient 08:30:12 - src\minecraft\net\minecraft\item\ItemAppleGold.java:21: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:30:12 - public boolean hasEffect(ItemStack par1ItemStack) 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\item\ItemEditableBook.java:91: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:30:12 - public boolean hasEffect(ItemStack par1ItemStack) 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\item\ItemExpBottle.java:19: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:30:12 - public boolean hasEffect(ItemStack par1ItemStack) 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\item\ItemSimpleFoiled.java:14: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 08:30:12 - public boolean hasEffect(ItemStack par1ItemStack) 08:30:12 - ^ 08:30:12 - 08:30:12 - src\minecraft\net\minecraft\network\packet\Packet133TileEditorOpen.java:29: error: cannot find symbol 08:30:12 - par1NetHandler.func_142031_a(this); 08:30:12 - ^ 08:30:12 - 08:30:12 - symbol: method func_142031_a(Packet133TileEditorOpen) 08:30:12 - location: variable par1NetHandler of type NetHandler 08:30:12 - src\minecraft\net\minecraftforge\classloading\FMLForgePlugin.java:12: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 08:30:12 - public String[] getLibraryRequestClass() 08:30:12 - ^ 08:30:12 - 08:30:12 - 3 errors 08:30:12 - 21 warnings 08:30:12 - ================== 08:30:12 - 08:30:12 - !! Can not find server sources, try decompiling !! 08:32:21 - !! Can not find server md5s !! 18:00:13 - '"C:\Program Files\Java\jdk1.7.0_25\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1 18:00:13 - 18:00:13 - == ERRORS FOUND in JAVA CODE == 18:00:13 - 18:00:13 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:60: warning: [deprecation] Block in Mod has been deprecated 18:00:13 - import cpw.mods.fml.common.Mod.Block; 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\minecraftmod\TitaniumBlock.java:5: warning: [deprecation] Init in Mod has been deprecated 18:00:13 - import cpw.mods.fml.common.Mod.Init; 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\minecraftmod\TitaniumMod.java:25: warning: [deprecation] Init in Mod has been deprecated 18:00:13 - import cpw.mods.fml.common.Mod.Init; 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\minecraftmod\TitaniumMod.java:27: warning: [deprecation] PreInit in Mod has been deprecated 18:00:13 - import cpw.mods.fml.common.Mod.PreInit; 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\minecraftmod\TitaniumOre.java:5: warning: [deprecation] Init in Mod has been deprecated 18:00:13 - import cpw.mods.fml.common.Mod.Init; 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraftforge\liquids\IBlockLiquid.java:12: warning: [deprecation] ILiquid in net.minecraftforge.liquids has been deprecated 18:00:13 - public interface IBlockLiquid extends ILiquid { 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraftforge\liquids\LiquidTank.java:10: warning: [deprecation] ILiquidTank in net.minecraftforge.liquids has been deprecated 18:00:13 - public class LiquidTank implements ILiquidTank { 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\minecraftmod\TitaniumMod.java:96: warning: [deprecation] Init in Mod has been deprecated 18:00:13 - @Init 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated 18:00:13 - import net.minecraft.client.particle.EntityCrit2FX; 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:507: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated 18:00:13 - public int getSizeInventorySide(ForgeDirection side) 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:490: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated 18:00:13 - public int getStartInventorySide(ForgeDirection side) 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter; 18:00:13 - stringbuilder.append(StatCollector.translateToLocalFormatted(this.field_111090_h, astring)); 18:00:13 - ^ 18:00:13 - 18:00:13 - cast to Object for a varargs call 18:00:13 - cast to Object[] for a non-varargs call and to suppress this warning 18:00:13 - src\minecraft\net\minecraft\item\ItemPotion.java:394: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:00:13 - public boolean hasEffect(ItemStack par1ItemStack) 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\item\ItemEnchantedBook.java:23: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:00:13 - public boolean hasEffect(ItemStack par1ItemStack) 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:113: warning: [deprecation] Block in Mod has been deprecated 18:00:13 - public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\cpw\mods\fml\relauncher\FMLCorePlugin.java:21: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 18:00:13 - public String[] getLibraryRequestClass() 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER3.java:19: error: cannot find symbol 18:00:13 - return WorldClient.func_142030_c(this.field_142027_a).thePlayer.func_142021_k(); 18:00:13 - ^ 18:00:13 - 18:00:13 - symbol: method func_142030_c(WorldClient) 18:00:13 - location: class WorldClient 18:00:13 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER4.java:19: error: cannot find symbol 18:00:13 - return WorldClient.func_142030_c(this.field_142029_a).getIntegratedServer() == null ? "Non-integrated multiplayer server" : "Integrated singleplayer server"; 18:00:13 - ^ 18:00:13 - 18:00:13 - symbol: method func_142030_c(WorldClient) 18:00:13 - location: class WorldClient 18:00:13 - src\minecraft\net\minecraft\item\ItemAppleGold.java:21: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:00:13 - public boolean hasEffect(ItemStack par1ItemStack) 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\item\ItemEditableBook.java:91: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:00:13 - public boolean hasEffect(ItemStack par1ItemStack) 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\item\ItemExpBottle.java:19: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:00:13 - public boolean hasEffect(ItemStack par1ItemStack) 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\item\ItemSimpleFoiled.java:14: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:00:13 - public boolean hasEffect(ItemStack par1ItemStack) 18:00:13 - ^ 18:00:13 - 18:00:13 - src\minecraft\net\minecraft\network\packet\Packet133TileEditorOpen.java:29: error: cannot find symbol 18:00:13 - par1NetHandler.func_142031_a(this); 18:00:13 - ^ 18:00:13 - 18:00:13 - symbol: method func_142031_a(Packet133TileEditorOpen) 18:00:13 - location: variable par1NetHandler of type NetHandler 18:00:13 - src\minecraft\net\minecraftforge\classloading\FMLForgePlugin.java:12: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 18:00:13 - public String[] getLibraryRequestClass() 18:00:13 - ^ 18:00:13 - 18:00:13 - 3 errors 18:00:13 - 21 warnings 18:00:13 - ================== 18:00:13 - 18:00:13 - !! Can not find server sources, try decompiling !! 18:01:26 - !! Can not find server md5s !! 18:09:30 - '"C:\Program Files\Java\jdk1.7.0_25\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1 18:09:30 - 18:09:30 - == ERRORS FOUND in JAVA CODE == 18:09:30 - 18:09:30 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:60: warning: [deprecation] Block in Mod has been deprecated 18:09:30 - import cpw.mods.fml.common.Mod.Block; 18:09:30 - ^ 18:09:30 - 18:09:30 - src\minecraft\minecraftmod\TitaniumBlock.java:5: warning: [deprecation] Init in Mod has been deprecated 18:09:30 - import cpw.mods.fml.common.Mod.Init; 18:09:30 - ^ 18:09:30 - 18:09:30 - src\minecraft\minecraftmod\TitaniumMod.java:25: warning: [deprecation] Init in Mod has been deprecated 18:09:30 - import cpw.mods.fml.common.Mod.Init; 18:09:30 - ^ 18:09:30 - 18:09:30 - src\minecraft\minecraftmod\TitaniumMod.java:27: warning: [deprecation] PreInit in Mod has been deprecated 18:09:30 - import cpw.mods.fml.common.Mod.PreInit; 18:09:30 - ^ 18:09:30 - 18:09:30 - src\minecraft\minecraftmod\TitaniumOre.java:5: warning: [deprecation] Init in Mod has been deprecated 18:09:30 - import cpw.mods.fml.common.Mod.Init; 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraftforge\liquids\IBlockLiquid.java:12: warning: [deprecation] ILiquid in net.minecraftforge.liquids has been deprecated 18:09:31 - public interface IBlockLiquid extends ILiquid { 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraftforge\liquids\LiquidTank.java:10: warning: [deprecation] ILiquidTank in net.minecraftforge.liquids has been deprecated 18:09:31 - public class LiquidTank implements ILiquidTank { 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\minecraftmod\TitaniumMod.java:96: warning: [deprecation] Init in Mod has been deprecated 18:09:31 - @Init 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated 18:09:31 - import net.minecraft.client.particle.EntityCrit2FX; 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:507: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated 18:09:31 - public int getSizeInventorySide(ForgeDirection side) 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:490: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated 18:09:31 - public int getStartInventorySide(ForgeDirection side) 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter; 18:09:31 - stringbuilder.append(StatCollector.translateToLocalFormatted(this.field_111090_h, astring)); 18:09:31 - ^ 18:09:31 - 18:09:31 - cast to Object for a varargs call 18:09:31 - cast to Object[] for a non-varargs call and to suppress this warning 18:09:31 - src\minecraft\net\minecraft\item\ItemPotion.java:394: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:09:31 - public boolean hasEffect(ItemStack par1ItemStack) 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\item\ItemEnchantedBook.java:23: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:09:31 - public boolean hasEffect(ItemStack par1ItemStack) 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:113: warning: [deprecation] Block in Mod has been deprecated 18:09:31 - public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\cpw\mods\fml\relauncher\FMLCorePlugin.java:21: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 18:09:31 - public String[] getLibraryRequestClass() 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER3.java:19: error: cannot find symbol 18:09:31 - return WorldClient.func_142030_c(this.field_142027_a).thePlayer.func_142021_k(); 18:09:31 - ^ 18:09:31 - 18:09:31 - symbol: method func_142030_c(WorldClient) 18:09:31 - location: class WorldClient 18:09:31 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER4.java:19: error: cannot find symbol 18:09:31 - return WorldClient.func_142030_c(this.field_142029_a).getIntegratedServer() == null ? "Non-integrated multiplayer server" : "Integrated singleplayer server"; 18:09:31 - ^ 18:09:31 - 18:09:31 - symbol: method func_142030_c(WorldClient) 18:09:31 - location: class WorldClient 18:09:31 - src\minecraft\net\minecraft\item\ItemAppleGold.java:21: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:09:31 - public boolean hasEffect(ItemStack par1ItemStack) 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\item\ItemEditableBook.java:91: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:09:31 - public boolean hasEffect(ItemStack par1ItemStack) 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\item\ItemExpBottle.java:19: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:09:31 - public boolean hasEffect(ItemStack par1ItemStack) 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\item\ItemSimpleFoiled.java:14: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:09:31 - public boolean hasEffect(ItemStack par1ItemStack) 18:09:31 - ^ 18:09:31 - 18:09:31 - src\minecraft\net\minecraft\network\packet\Packet133TileEditorOpen.java:29: error: cannot find symbol 18:09:31 - par1NetHandler.func_142031_a(this); 18:09:31 - ^ 18:09:31 - 18:09:31 - symbol: method func_142031_a(Packet133TileEditorOpen) 18:09:31 - location: variable par1NetHandler of type NetHandler 18:09:31 - src\minecraft\net\minecraftforge\classloading\FMLForgePlugin.java:12: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 18:09:31 - public String[] getLibraryRequestClass() 18:09:31 - ^ 18:09:31 - 18:09:31 - 3 errors 18:09:31 - 21 warnings 18:09:31 - ================== 18:09:31 - 18:09:31 - !! Can not find server sources, try decompiling !! 18:10:58 - '"C:\Program Files\Java\jdk1.7.0_25\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1 18:10:58 - 18:10:58 - == ERRORS FOUND in JAVA CODE == 18:10:58 - 18:10:58 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:60: warning: [deprecation] Block in Mod has been deprecated 18:10:58 - import cpw.mods.fml.common.Mod.Block; 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\minecraftmod\TitaniumBlock.java:5: warning: [deprecation] Init in Mod has been deprecated 18:10:58 - import cpw.mods.fml.common.Mod.Init; 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\minecraftmod\TitaniumMod.java:25: warning: [deprecation] Init in Mod has been deprecated 18:10:58 - import cpw.mods.fml.common.Mod.Init; 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\minecraftmod\TitaniumMod.java:27: warning: [deprecation] PreInit in Mod has been deprecated 18:10:58 - import cpw.mods.fml.common.Mod.PreInit; 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\minecraftmod\TitaniumOre.java:5: warning: [deprecation] Init in Mod has been deprecated 18:10:58 - import cpw.mods.fml.common.Mod.Init; 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraftforge\liquids\IBlockLiquid.java:12: warning: [deprecation] ILiquid in net.minecraftforge.liquids has been deprecated 18:10:58 - public interface IBlockLiquid extends ILiquid { 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraftforge\liquids\LiquidTank.java:10: warning: [deprecation] ILiquidTank in net.minecraftforge.liquids has been deprecated 18:10:58 - public class LiquidTank implements ILiquidTank { 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\minecraftmod\TitaniumMod.java:96: warning: [deprecation] Init in Mod has been deprecated 18:10:58 - @Init 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\client\entity\EntityPlayerSP.java:21: warning: [deprecation] ISidedInventory in net.minecraftforge.common has been deprecated 18:10:58 - import net.minecraft.client.particle.EntityCrit2FX; 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:507: warning: [deprecation] getSizeInventorySide(ForgeDirection) in ISidedInventory has been deprecated 18:10:58 - public int getSizeInventorySide(ForgeDirection side) 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\tileentity\TileEntityFurnace.java:490: warning: [deprecation] getStartInventorySide(ForgeDirection) in ISidedInventory has been deprecated 18:10:58 - public int getStartInventorySide(ForgeDirection side) 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter; 18:10:58 - stringbuilder.append(StatCollector.translateToLocalFormatted(this.field_111090_h, astring)); 18:10:58 - ^ 18:10:58 - 18:10:58 - cast to Object for a varargs call 18:10:58 - cast to Object[] for a non-varargs call and to suppress this warning 18:10:58 - src\minecraft\net\minecraft\item\ItemPotion.java:394: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:10:58 - public boolean hasEffect(ItemStack par1ItemStack) 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\item\ItemEnchantedBook.java:23: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:10:58 - public boolean hasEffect(ItemStack par1ItemStack) 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:113: warning: [deprecation] Block in Mod has been deprecated 18:10:58 - public static Object buildBlock(ModContainer container, Class<?> type, Block annotation) throws Exception 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\cpw\mods\fml\relauncher\FMLCorePlugin.java:21: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 18:10:58 - public String[] getLibraryRequestClass() 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER3.java:19: error: cannot find symbol 18:10:58 - return WorldClient.func_142030_c(this.field_142027_a).thePlayer.func_142021_k(); 18:10:58 - ^ 18:10:58 - 18:10:58 - symbol: method func_142030_c(WorldClient) 18:10:58 - location: class WorldClient 18:10:58 - src\minecraft\net\minecraft\client\multiplayer\WorldClientINNER4.java:19: error: cannot find symbol 18:10:58 - return WorldClient.func_142030_c(this.field_142029_a).getIntegratedServer() == null ? "Non-integrated multiplayer server" : "Integrated singleplayer server"; 18:10:58 - ^ 18:10:58 - 18:10:58 - symbol: method func_142030_c(WorldClient) 18:10:58 - location: class WorldClient 18:10:58 - src\minecraft\net\minecraft\item\ItemAppleGold.java:21: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:10:58 - public boolean hasEffect(ItemStack par1ItemStack) 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\item\ItemEditableBook.java:91: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:10:58 - public boolean hasEffect(ItemStack par1ItemStack) 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\item\ItemExpBottle.java:19: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:10:58 - public boolean hasEffect(ItemStack par1ItemStack) 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\item\ItemSimpleFoiled.java:14: warning: [deprecation] hasEffect(ItemStack) in Item has been deprecated 18:10:58 - public boolean hasEffect(ItemStack par1ItemStack) 18:10:58 - ^ 18:10:58 - 18:10:58 - src\minecraft\net\minecraft\network\packet\Packet133TileEditorOpen.java:29: error: cannot find symbol 18:10:58 - par1NetHandler.func_142031_a(this); 18:10:58 - ^ 18:10:58 - 18:10:58 - symbol: method func_142031_a(Packet133TileEditorOpen) 18:10:58 - location: variable par1NetHandler of type NetHandler 18:10:58 - src\minecraft\net\minecraftforge\classloading\FMLForgePlugin.java:12: warning: [deprecation] getLibraryRequestClass() in IFMLLoadingPlugin has been deprecated 18:10:58 - public String[] getLibraryRequestClass() 18:10:58 - ^ 18:10:58 - 18:10:58 - 3 errors 18:10:58 - 21 warnings 18:10:58 - ================== 18:10:58 - 18:10:58 - !! Can not find server sources, try decompiling !! 18:11:43 - !! Can not find server md5s !!
-
Throwable tools?
Does anybody know if its possible to make items such as pickaxes or swords throwable? would you have to make it a seperate throwable entity?
-
[UNSOLVED][1.6.2]Help me with rendering entity right
I just finished my throwable item and when I throw half the time it renders the right image and the rest of the time renders random colored small flat squares. Example Render class package minecraftmod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.client.resources.ResourceLocation; import net.minecraft.entity.Entity; import net.minecraft.entity.projectile.EntityFireball; import net.minecraft.item.Item; import net.minecraft.util.Icon; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; @SideOnly(Side.CLIENT) public class RenderShuriken extends Render { public RenderShuriken() { } public void doRenderFireball(EntityShuriken par1Entity, double par2, double par4, double par6, float par8, float par9) { GL11.glPushMatrix(); GL11.glTranslatef((float)par2, (float)par4, (float)par6); GL11.glEnable(GL12.GL_RESCALE_NORMAL); Icon icon = TitaniumMod.Shuriken.getIconFromDamage(0); Tessellator tessellator = Tessellator.instance; float f3 = icon.getMinU(); float f4 = icon.getMaxU(); float f5 = icon.getMinV(); float f6 = icon.getMaxV(); float f7 = 1.0F; float f8 = 0.5F; float f9 = 0.25F; GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); this.loadTexture("/gui/items.png"); tessellator.startDrawingQuads(); tessellator.setNormal(0.0F, 1.0F, 0.0F); tessellator.addVertexWithUV((double)(0.0F - f8), (double)(0.0F - f9), 0.0D, (double)f3, (double)f6); tessellator.addVertexWithUV((double)(f7 - f8), (double)(0.0F - f9), 0.0D, (double)f4, (double)f6); tessellator.addVertexWithUV((double)(f7 - f8), (double)(1.0F - f9), 0.0D, (double)f4, (double)f5); tessellator.addVertexWithUV((double)(0.0F - f8), (double)(1.0F - f9), 0.0D, (double)f3, (double)f5); tessellator.draw(); GL11.glDisable(GL12.GL_RESCALE_NORMAL); GL11.glPopMatrix(); } private void loadTexture(String string) { // TODO Auto-generated method stub } protected ResourceLocation func_110790_a(EntityFireball par1EntityFireball) { return TextureMap.field_110576_c; } protected ResourceLocation func_110775_a(Entity par1Entity) { return this.func_110790_a((EntityFireball)par1Entity); } /** * Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then * handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic * (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1, * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that. */ public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) { this.doRenderFireball((EntityShuriken)par1Entity, par2, par4, par6, par8, par9); } }
-
How to create a throwable item? [1.6.2]
Did you make a render class. and if so did you register it in your client proxy or main class
-
[1.6][HELP] Making/rendering custom armor
My armor is not rendering does anybody know how ot render it. armor class package minecraftmod; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.Entity; import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; import net.minecraft.util.Icon; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class TitanArmor extends ItemArmor{ public final int armorType; private final EnumArmorMaterial material; //public static final String[] ArmourArray = new String[]{"titanHelmet", "titanLeggings", "titanBoots", "titanlChest"}; //@SideOnly(Side.CLIENT) //private Icon[] iconArray; public TitanArmor(int itemId, EnumArmorMaterial EnumArmorMaterial, int par3, int par4) { super(itemId, EnumArmorMaterial, par3, par4); this.material = getArmorMaterial(); this.armorType = par4; } public EnumArmorMaterial getArmorMaterial() { return this.material; } public void updateIcons(IconRegister iconRegister) { } @Override public String getArmorTexture(ItemStack par1, Entity entity, int slot, int layer) { if(itemID == TitaniumMod.TitanHelmet.itemID || par1.itemID == TitaniumMod.TitanLegs.itemID || par1.itemID == TitaniumMod.TitanPlate.itemID) { return "titaniummod:textures/armor/blue_1"; } if(itemID == TitaniumMod.TitanBoots.itemID) { return "titaniummod:textures/armor/blue_2";} return field_111218_cA; } public void registerIcons(IconRegister IconRegister) { //itemIcon = par1IconRegister.registerIcon("minecraftmod:titanhelmet"); //} //public void registerIcons(IconRegister iconRegister) //{ switch (armorType){ case 0: itemIcon = IconRegister.registerIcon("titaniummod:titaniumhelmet"); break; case 1: itemIcon = IconRegister.registerIcon("titaniummod:titaniumchest"); break; case 2: itemIcon = IconRegister.registerIcon("titaniummod:titaniumlegs"); break; case 3: itemIcon = IconRegister.registerIcon("titaniummod:titaniumboots"); break; } } } Main mod class //armor EnumArmorMaterial TitanArmor = EnumHelper.addArmorMaterial("TITANIUM", 12, new int[] {2, 5, 4, 2}, 9); TitanHelmet = new TitanArmor(2293, TitanArmor, 6, 0).setUnlocalizedName("titaniumhelmet"); TitanPlate = new TitanArmor(2294, TitanArmor, 6, 1).setUnlocalizedName("titaniumchest"); TitanLegs = new TitanArmor(2295, TitanArmor, 6, 2).setUnlocalizedName("titaniumlegs"); TitanBoots = new TitanArmor(2296, TitanArmor, 6, 3).setUnlocalizedName("titaniumboots"); clientproxy(not sure if needed) package minecraftmod; import cpw.mods.fml.common.registry.EntityRegistry; import net.minecraftforge.client.MinecraftForgeClient; import minecraftmod.CommonProxy; import minecraftmod.RenderShuriken; import minecraftmod.EntityShuriken; import minecraftmod.Shuriken; import cpw.mods.fml.client.registry.RenderingRegistry; import net.minecraft.client.renderer.entity.Render; import net.minecraft.item.Item; import net.minecraft.src.ModLoader; import cpw.mods.fml.common.registry.EntityRegistry; public class ClientProxy extends CommonProxy { public int addArmor(String armor){ return RenderingRegistry.addNewArmourRendererPrefix(armor); } // this is an render registry don't put stuff under this unless you want to render items. @Override public void registerRenderers() { // This is for rendering entities and so forth later on EntityRegistry.registerModEntity(EntityShuriken.class, "Shuriken", 49, this, 80, 3, false); super.registerRenderers(); EntityRegistry.registerGlobalEntityID(EntityShuriken.class, "Shuriken", ModLoader.getUniqueEntityId()); }}
-
How to create a throwable item? [1.6.2]
Oh and for the hell of it look at my class item class package minecraftmod; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import minecraftmod.EntityShuriken; import net.minecraft.entity.projectile.EntityArrow; import net.minecraft.entity.projectile.EntityFireball; import net.minecraft.entity.projectile.EntityFishHook; import net.minecraft.entity.projectile.EntitySmallFireball; import net.minecraft.entity.projectile.EntitySnowball; import net.minecraft.entity.projectile.EntityThrowable; public class Shuriken extends Item { public Shuriken(int par1) { super(par1); this.maxStackSize = 16; this.setCreativeTab(CreativeTabs.tabMisc); } public void registerIcons(IconRegister ir) { this.itemIcon = ir.registerIcon( "titaniummod:shuriken"); } /** * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer */ public ItemStack onItemRightClick(ItemStack ItemStack, World par2World, EntityPlayer par3EntityPlayer) { if (!par3EntityPlayer.capabilities.isCreativeMode) { --ItemStack.stackSize; } par2World.playSoundAtEntity(par3EntityPlayer, "random.bow", 0.5F, 0.4F / (itemRand.nextFloat() * 0.9F + 0.9F)); if (!par2World.isRemote) { par2World.spawnEntityInWorld(new EntityShuriken(par2World, par3EntityPlayer)); } return ItemStack; }} render class package minecraftmod; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.client.resources.ResourceLocation; import net.minecraft.entity.Entity; import net.minecraft.entity.projectile.EntityFireball; import net.minecraft.item.Item; import net.minecraft.util.Icon; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; @SideOnly(Side.CLIENT) public class RenderShuriken extends Render { public RenderShuriken() { } public void doRenderFireball(EntityShuriken par1Entity, double par2, double par4, double par6, float par8, float par9) { GL11.glPushMatrix(); GL11.glTranslatef((float)par2, (float)par4, (float)par6); GL11.glEnable(GL12.GL_RESCALE_NORMAL); Icon icon = TitaniumMod.Shuriken.getIconFromDamage(0); Tessellator tessellator = Tessellator.instance; float f3 = icon.getMinU(); float f4 = icon.getMaxU(); float f5 = icon.getMinV(); float f6 = icon.getMaxV(); float f7 = 1.0F; float f8 = 0.5F; float f9 = 0.25F; GL11.glRotatef(180.0F - this.renderManager.playerViewY, 0.0F, 1.0F, 0.0F); GL11.glRotatef(-this.renderManager.playerViewX, 1.0F, 0.0F, 0.0F); this.loadTexture("/gui/items.png"); tessellator.startDrawingQuads(); tessellator.setNormal(0.0F, 1.0F, 0.0F); tessellator.addVertexWithUV((double)(0.0F - f8), (double)(0.0F - f9), 0.0D, (double)f3, (double)f6); tessellator.addVertexWithUV((double)(f7 - f8), (double)(0.0F - f9), 0.0D, (double)f4, (double)f6); tessellator.addVertexWithUV((double)(f7 - f8), (double)(1.0F - f9), 0.0D, (double)f4, (double)f5); tessellator.addVertexWithUV((double)(0.0F - f8), (double)(1.0F - f9), 0.0D, (double)f3, (double)f5); tessellator.draw(); GL11.glDisable(GL12.GL_RESCALE_NORMAL); GL11.glPopMatrix(); } private void loadTexture(String string) { // TODO Auto-generated method stub } protected ResourceLocation func_110790_a(EntityFireball par1EntityFireball) { return TextureMap.field_110576_c; } protected ResourceLocation func_110775_a(Entity par1Entity) { return this.func_110790_a((EntityFireball)par1Entity); } /** * Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then * handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic * (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1, * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that. */ public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) { this.doRenderFireball((EntityShuriken)par1Entity, par2, par4, par6, par8, par9); } }
-
How to create a throwable item? [1.6.2]
I had the same problem but I found this link which helped me render them here: http://www.minecraftforum.net/topic/1770612-rendering-problem-with-throwable-item/ also change entitysnowball to your entity so that when it does render it wont render as a snowball
-
Registering a render
Okay Im try to render my new throwable item so it isnt a white block anymore, I know you have to register your render but the renderregistry wont work Do I have to mess around with the tessellator? here RenderingRegistry.registerEntityRenderingHandler(EntityShuriken.class, new RenderShuriken()); <------------ I created a constructor because It said it to but it s still a white block that renders whne the item is right clicked BaseMod registry //Declaring EventHandler @Init public void load(FMLInitializationEvent event) throws Exception { GameRegistry.registerWorldGenerator(new TitaniumModWorldGen()); EntityRegistry.registerModEntity(EntityShuriken.class, "Shuriken", 2, this , 250, 1, false); RenderingRegistry.registerEntityRenderingHandler( EntityShuriken.class, new RenderShuriken(Shuriken)); Render Class package minecraftmod; import net.minecraft.client.renderer.texture.IconRegister; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.client.resources.ResourceLocation; import net.minecraft.entity.Entity; import net.minecraft.entity.projectile.EntityArrow; import net.minecraft.entity.projectile.EntityFireball; import net.minecraft.item.Item; import net.minecraft.util.Icon; import net.minecraft.util.MathHelper; import minecraftmod.EntityShuriken; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; @SideOnly(Side.CLIENT) public class RenderShuriken extends Render { private float field_77002_a; public RenderShuriken(float par1) { this.field_77002_a = par1; } // TODO Auto-generated constructor stub public RenderShuriken(Item Shuriken) { // TODO Auto-generated constructor stub } public void renderShuriken(EntityShuriken par1EntityShuriken, double par2, double par4, double par6, float par8, float par9) { this.func_110777_b(par1EntityShuriken); GL11.glPushMatrix(); GL11.glTranslatef((float)par2, (float)par4, (float)par6); GL11.glRotatef(par1EntityShuriken.prevRotationYaw + (par1EntityShuriken.rotationYaw - par1EntityShuriken.prevRotationYaw) * par9 - 90.0F, 0.0F, 1.0F, 0.0F); GL11.glRotatef(par1EntityShuriken.prevRotationPitch + (par1EntityShuriken.rotationPitch - par1EntityShuriken.prevRotationPitch) * par9, 0.0F, 0.0F, 1.0F); Tessellator tessellator = Tessellator.instance; byte b0 = 0; float f2 = 0.0F; float f3 = 0.5F; float f4 = (float)(0 + b0 * 10) / 32.0F; float f5 = (float)(5 + b0 * 10) / 32.0F; float f6 = 0.0F; float f7 = 0.15625F; float f8 = (float)(5 + b0 * 10) / 32.0F; float f9 = (float)(10 + b0 * 10) / 32.0F; float f10 = 0.05625F; GL11.glEnable(GL12.GL_RESCALE_NORMAL); this.renderManager.renderEngine.func_110577_a( new ResourceLocation("titaniummod:shuriken")); GL11.glDisable(GL11.GL_TEXTURE_2D); GL11.glDisable(GL11.GL_LIGHTING); GL11.glEnable(GL11.GL_BLEND); GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE); GL11.glEnable(GL12.GL_RESCALE_NORMAL); GL11.glRotatef(45.0F, 1.0F, 0.0F, 0.0F); GL11.glScalef(f10, f10, f10); GL11.glTranslatef(-4.0F, 0.0F, 0.0F); GL11.glNormal3f(f10, 0.0F, 0.0F); tessellator.startDrawingQuads(); tessellator.addVertex(-7.0D, -2.0D, -2.0D); tessellator.addVertex(-7.0D, -2.0D, 2.0D); tessellator.addVertex(-7.0D, 2.0D, 2.0D); tessellator.addVertex(-7.0D, 2.0D, -2.0D); tessellator.draw(); GL11.glNormal3f(-f10, 0.0F, 0.0F); tessellator.startDrawingQuads(); tessellator.addVertex(-7.0D, 2.0D, -2.0D); tessellator.addVertex(-7.0D, 2.0D, 2.0D); tessellator.addVertex(-7.0D, -2.0D, 2.0D); tessellator.addVertex(-7.0D, -2.0D, -2.0D); tessellator.draw(); for (int i = 0; i < 4; ++i) { GL11.glRotatef(90.0F, 1.0F, 0.0F, 0.0F); GL11.glNormal3f(0.0F, 0.0F, f10); tessellator.startDrawingQuads(); tessellator.addVertex(-8.0D, -2.0D, 0.0D); tessellator.addVertex(8.0D, -2.0D, 0.0D); tessellator.addVertex(8.0D, 2.0D, 0.0D); tessellator.addVertex(-8.0D, 2.0D, 0.0D); tessellator.draw(); tessellator.setColorRGBA(120, 40, 40, 120); int red = 120; int green = 40; int blue = 40; int alpha = 120; } GL11.glDisable(GL11.GL_BLEND); GL11.glEnable(GL11.GL_LIGHTING); GL11.glEnable(GL11.GL_TEXTURE_2D); GL11.glDisable(GL12.GL_RESCALE_NORMAL); GL11.glPopMatrix(); } protected ResourceLocation func_110779_a(EntityShuriken par1EntityShuriken) { return null; } protected ResourceLocation func_110790_a(EntityShuriken par1EntityShuriken) { return TextureMap.field_110576_c; } protected ResourceLocation func_110775_a(EntityShuriken par1EntityShuriken) { return this.func_110790_a((EntityShuriken) par1EntityShuriken); } /** * Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then * handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic * (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1, * double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that. */ public void doRender(EntityShuriken itemEntity, double par2, double par4, double par6, float par8, float par9) { } @Override public void doRender(Entity entity, double d0, double d1, double d2, float f, float f1) { // TODO Auto-generated method stub } @Override protected ResourceLocation func_110775_a(Entity entity) { // TODO Auto-generated method stub return null; }}
-
Making custom armor
Is this better your highness \0/ | | _||_
-
Making custom armor
I love you too
-
Making custom armor
okay now its just purple and black squares. I put it in my items folder but now it says this I was able ot fix the missing texture but it shows up on my body as nothing any idea how to render it? whats the MISSING_ICON_ITEM_2294 from armor class Main class
-
Making custom armor
EnumArmorMaterial TitanArmor = EnumHelper.addArmorMaterial("TITANIUM", 12, new int[] {2, 5, 4, 2}, 9); TitanBoots = new TitanArmor(2040, TitanArmor, 6, 3).setUnlocalizedName("titaniumboots"); this works for me
-
Making custom armor
public String getArmorTextureFile(ItemStack itemstack) {?
-
Making custom armor
Okay this may seem realy noobish but I need help with creating custom armor (put facepalm gif here) Does anybody know whats wrong with this line of code here @Override public String getArmorTexture(ItemStack itemstack) { (<-------------- I removed the add overide and that went away) if(itemstack.itemID == TitaniumMod.TitanHelmet.itemID || itemstack.itemID == TitaniumMod.TitanPlate.itemID || itemstack.itemID == TitaniumMod.TitanBoots.itemID){ return <------------ this method must return a result of type string } this from my main mod class //armor TitanHelmet = new TitanArmor(3457, TitanHelmet, proxy.addArmor(""), 0).setUnlocalizedName(""); TitanPlate = new TitanArmor(3458, TitanPlate, proxy.addArmor(""), 1).setUnlocalizedName(""); TitanLegs = new TitanArmor(3459, TitanLegs, proxy.addArmor(""), 2).setUnlocalizedName(""); TitanBoots = new TitanArmor(3460, TitanBoots, proxy.addArmor(""), 3).setUnlocalizedName("");
-
Issue with rendering block faces
renderer.renderFaceYNeg renderer.renderFaceYPos renderer.renderFaceZNeg renderer.renderFaceZPos renderer.renderFaceXNeg renderer.renderFaceXPos
-
[1.6.1]Names are screwed up...
That's normal it isnt actually the name of the item its just importing a class from your package your package name is extratools and you have created items called (name)axe, hoe, shovel so it will come up as import ExtraTools.Items.ETAxe; etc etc And if it shows up like that in the mod type this in under //Declaring EventHandler @Init public void load(FMLInitializationEvent event){ LanguageRegistry.addName(TitaniumHoe, "Titanium Hoe"); <----- type that in for all your items/blocks for example
-
Is there a way to check if ores are generating
thank you it worked!
-
Is there a way to check if ores are generating
Does anybody know a way to check if custom ores are generating?
-
[UNRESOLVED] Problem with my code the I cant spot
Yeah I just copied the class files from the eclipse workspace is that causing it? What do I do with the ant and build files? Can you explain where I put the code? EDIT look at my new topic http://www.minecraftforge.net/forum/index.php/topic,10094.0.html it explains what happens when I tried pahimars
IPS spam blocked by CleanTalk.