Posted March 21, 201411 yr So, I watch this guy on youtube called scratch for fun. He is a really good youtuber and he makes really advanced stuff for minecraft. I suggest you check him out at: http://www.youtube.com/user/ScratchForFun . Anyways, he has a custom furnace tutorial and I can't get the textures to work! Code for the textures: @SideOnly(Side.CLIENT) public void reigesterBlockIcon(IIconRegister iconRegister){ this.blockIcon = iconRegister.registerIcon("MoFoodMod:PizzaOvenSide"); this.iconFront = iconRegister.registerIcon("MoFoodMod:" + (this.isActive ? "PizzaOvenFrontActive" : "PizzaOvenFront")); } @SideOnly(Side.CLIENT) public IIcon getIcon(int side, int metadata){ return side == 0 && side == 3 ? this.iconFront : (side == metadata ? this.iconFront : this.blockIcon); }
March 21, 201411 yr If you watch carefully at your writing and Function Names you should see the mistake its so oblivious But using @Override is a good Idea !
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.