Posted May 25, 20169 yr 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); } I am on my journey of making a remake of matmos, as explained here.
May 25, 20169 yr Author 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); } I am on my journey of making a remake of matmos, as explained here.
May 25, 20169 yr Author Now I am getting a new error... Syntax error on token "bindTileEntitySpecialRenderer", invalid AnnotationName I am on my journey of making a remake of matmos, as explained here.
May 25, 20169 yr Author Now I am getting a new error... Syntax error on token "bindTileEntitySpecialRenderer", invalid AnnotationName I am on my journey of making a remake of matmos, as explained here.
May 25, 20169 yr Well, the line ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTest.class, render1); is outside a method, which is Not Correct. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
May 25, 20169 yr Well, the line ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTest.class, render1); is outside a method, which is Not Correct. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
May 25, 20169 yr Author Yeah, figured that out the second you posted that. I feel like an idiot! >.< Thanks! I am on my journey of making a remake of matmos, as explained here.
May 25, 20169 yr Author Yeah, figured that out the second you posted that. I feel like an idiot! >.< Thanks! I am on my journey of making a remake of matmos, as explained here.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.