
I redone where the items/blocsks are stored and how the configs are handled to clean up it and give space. You can change the config line to AWWayofTime if you want to keep the compatibility with old configs. Now you reference the blocks from the ModBlocks and Items from the ModItems.
29 lines
1 KiB
Java
29 lines
1 KiB
Java
package WayofTime.alchemicalWizardry.common.renderer.mob;
|
|
|
|
import WayofTime.alchemicalWizardry.common.entity.mob.EntityFallenAngel;
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
import net.minecraft.client.model.ModelBase;
|
|
import net.minecraft.client.renderer.entity.RenderLiving;
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
public class RenderFallenAngel extends RenderLiving {
|
|
private static final ResourceLocation field_110833_a = new ResourceLocation("alchemicalwizardry", "textures/models/WingedAngel.png"); //refers to:YourMod/modelsTextureFile/optionalFile/yourTexture.png
|
|
|
|
public RenderFallenAngel(ModelBase par1ModelBase, float par2)
|
|
{
|
|
super(par1ModelBase, par2);
|
|
}
|
|
|
|
public ResourceLocation func_110832_a(EntityFallenAngel par1EntityFallenAngel)
|
|
{
|
|
return field_110833_a;
|
|
}
|
|
|
|
public ResourceLocation getEntityTexture(Entity par1Entity)
|
|
{
|
|
return this.func_110832_a((EntityFallenAngel) par1Entity);
|
|
}
|
|
}
|