Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package fr.lavapower.animemod.renders;
- import fr.lavapower.animemod.AnimeMod;
- import fr.lavapower.animemod.entities.EntityKirito;
- import net.minecraft.client.model.ModelBiped;
- import net.minecraft.client.renderer.entity.RenderLiving;
- import net.minecraft.client.renderer.entity.RenderManager;
- import net.minecraft.util.ResourceLocation;
- import net.minecraftforge.fml.relauncher.Side;
- import net.minecraftforge.fml.relauncher.SideOnly;
- @SideOnly(Side.CLIENT)
- public class RenderKirito extends RenderLiving<EntityKirito>
- {
- private static final ResourceLocation KIRITO_TEXTURES = new ResourceLocation(AnimeMod.MODID + ":textures/entities/kirito.png");
- /**
- * Instantiates a new render pig test.
- * @param p_i47198_1_ the p i 47198 1
- */
- public RenderKirito(RenderManager manager)
- {
- super(manager, new ModelBiped(), 0.7F);
- }
- /**
- * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.
- * @param entity the entity
- * @return the entity texture
- */
- @Override
- protected ResourceLocation getEntityTexture(EntityKirito entity)
- {
- return KIRITO_TEXTURES;
- }
- }
Add Comment
Please, Sign In to add comment