
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.
26 lines
No EOL
923 B
Java
26 lines
No EOL
923 B
Java
package WayofTime.alchemicalWizardry.common.renderer.mob;
|
|
|
|
import WayofTime.alchemicalWizardry.common.entity.mob.EntityShade;
|
|
import net.minecraft.client.model.ModelBase;
|
|
import net.minecraft.client.renderer.entity.RenderLiving;
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
public class RenderShade extends RenderLiving {
|
|
private static final ResourceLocation field_110833_a = new ResourceLocation("alchemicalwizardry", "textures/models/ShadeMob.png"); //refers to:YourMod/modelsTextureFile/optionalFile/yourTexture.png
|
|
|
|
public RenderShade(ModelBase par1ModelBase, float par2)
|
|
{
|
|
super(par1ModelBase, par2);
|
|
}
|
|
|
|
public ResourceLocation func_110832_a(EntityShade par1EntityShade)
|
|
{
|
|
return field_110833_a;
|
|
}
|
|
|
|
public ResourceLocation getEntityTexture(Entity par1Entity)
|
|
{
|
|
return this.func_110832_a((EntityShade) par1Entity);
|
|
}
|
|
} |