Everything posted by FireController1847
-
[1.7.10] Syntax error on tokens, ConstructorHeaderName expected instead
Now I am getting a new error... Syntax error on token "bindTileEntitySpecialRenderer", invalid AnnotationName
-
[1.7.10] Syntax error on tokens, ConstructorHeaderName expected instead
Hello! I'm trying to make my renderer for my custom block model, but it refuses to import client registry, and it gives me the error in the title. Any ideas? (This is my client proxy) package com.fire.testmod.Proxies; import cpw.mods.fml.client.registry.RenderingRegistry; import com.fire.testmod.Render.RenderTest; import com.fire.testmod.Render.RenderTestMob; import com.fire.testmod.entity.EntityTestMob; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; public class ClientProxy extends ServerProxy { public void registerRenderInfo(){ RenderingRegistry.registerEntityRenderingHandler(EntityTestMob.class, new RenderTestMob(new ModelBiped(), 0)); } public int addArmor(String armor){ return RenderingRegistry.addNewArmourRendererPrefix(armor); } // Entities TileEntitySpecialRenderer render1 = new RenderTest(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTest.class, render1); }
-
[1.7.10] Syntax error on tokens, ConstructorHeaderName expected instead
Hello! I'm trying to make my renderer for my custom block model, but it refuses to import client registry, and it gives me the error in the title. Any ideas? (This is my client proxy) package com.fire.testmod.Proxies; import cpw.mods.fml.client.registry.RenderingRegistry; import com.fire.testmod.Render.RenderTest; import com.fire.testmod.Render.RenderTestMob; import com.fire.testmod.entity.EntityTestMob; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; public class ClientProxy extends ServerProxy { public void registerRenderInfo(){ RenderingRegistry.registerEntityRenderingHandler(EntityTestMob.class, new RenderTestMob(new ModelBiped(), 0)); } public int addArmor(String armor){ return RenderingRegistry.addNewArmourRendererPrefix(armor); } // Entities TileEntitySpecialRenderer render1 = new RenderTest(); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTest.class, render1); }
-
[1.7.10] Is it possible to have more than 1 item required for shapeless recipe?
I have a shapless recipe, and I need it to require three of cms.itemAcidDust. Would this be possible? This is my current thing... GameRegistry.addShapelessRecipe(new ItemStack(Items.gunpowder, 3), new Object[]{Items.glowstone_dust, new ItemStack(cms.itemAcidDust, 3)});
-
[1.7.10] Drop multiple items from one block
I'm kind of a noob, and this is what code I have: @Override public Item getItemDropped(int metadata, Random random, int fortune){ return cms.itemAcidDust; } How would I be able to drop 4 of itemAcidDust?
-
[1.7.10] No idea why this crafting recipe won't work.
I thought you had to have all three, thanks for the help! And I didn't mean to sound rude, jsuk. I appreciate every person who helps me!
-
[1.7.10] No idea why this crafting recipe won't work.
So just... GameRegistry.addRecipe(new ItemStack(Items.chainmail_boots, 1), new Object[]{"C C","C C", 'C', itemChain}); ?
-
[1.7.10] No idea why this crafting recipe won't work.
Well you didn't explain HOW I was supposed to do it without it being empty. I have NO idea what to do. How do I make a stick like thing and make it work on all sides of the crafting table then?
-
[1.7.10] No idea why this crafting recipe won't work.
Soooooooooooooo what do I do? Do I do this? GameRegistry.addRecipe(new ItemStack(itemChain, 4), new Object[]{"C","C"," ", 'C', Items.iron_ingot});
-
[1.7.10] No idea why this crafting recipe won't work.
How would I be able to make a stick thing where you can put it anywhere in the crafting table? I'd like to work like: XCX XCX XXX and XXX XCX XCX and so on to work. Is there any way to do that? (I still need an iron to be on top of an iron)
-
[1.7.10] No idea why this crafting recipe won't work.
Does anybody have any idea why this won't work? GameRegistry.addRecipe(new ItemStack(itemChain, 4), new Object[]{"C","C","", 'C', Items.iron_ingot}); I open the crafting table and it will just be in there, without putting anything in the crafting table. I'm trying to make a stick-like formation. C = Iron Ingot XXX XXC XXC Output = 4 itemChain's
IPS spam blocked by CleanTalk.