Jump to content

FrankFilthy

Members
  • Posts

    1
  • Joined

  • Last visited

FrankFilthy's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi, I am using 1.7.10 and am trying to make a bipedal mob but the textures won't load. I am pretty sure the models are loading because the mobs are invisible which makes me believe the textures simply are not loading, and when I get rid of the RenderingRegistry in renderThings, the mobs become gray rectangles. Also, my texture is stored in src/main/resources/assets/bobby/textures/entity/Wakandan.png This is my Rendering Class public class RenderWakandan extends RenderLiving { private static final ResourceLocation mobTextures = new ResourceLocation("bobby:textures/entity/Wakandan.png"); public RenderWakandan(ModelBase parModelBase, float par2) { super(parModelBase, par2); } protected ResourceLocation getEntityTexture(EntityWakandan entity) { return mobTextures; } @Override protected ResourceLocation getEntityTexture(Entity entity) { return this.getEntityTexture((EntityWakandan)entity); } } This is my Client Proxy Class public class ClientProxy extends CommonProxy{ public void renderThings() { RenderingRegistry.registerEntityRenderingHandler(EntityWakandan.class, new RenderWakandan(new Wakandan(), 0)); ItemHandler.render(); BlockHandler.render(); ToolHandler.render(); ArmorHandler.render(); } public void openGui() { Minecraft.getMinecraft().displayGuiScreen(new GuiWakandanFurnace()); } }
×
×
  • Create New...

Important Information

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