Jump to content

FireController1847

Members
  • Posts

    290
  • Joined

  • Last visited

Everything posted by FireController1847

  1. Now I am getting a new error... Syntax error on token "bindTileEntitySpecialRenderer", invalid AnnotationName
  2. 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); }
  3. 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); }
  4. 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)});
  5. 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?
  6. 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!
  7. So just... GameRegistry.addRecipe(new ItemStack(Items.chainmail_boots, 1), new Object[]{"C C","C C", 'C', itemChain}); ?
  8. 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?
  9. Soooooooooooooo what do I do? Do I do this? GameRegistry.addRecipe(new ItemStack(itemChain, 4), new Object[]{"C","C"," ", 'C', Items.iron_ingot});
  10. 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)
  11. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.