Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.lordloss.tutorial.client.entity.render;
- import com.lordloss.tutorial.Tutorial;
- import com.lordloss.tutorial.client.entity.model.ExampleEntityModel;
- import com.lordloss.tutorial.entities.ExampleEntity;
- import net.minecraft.client.renderer.entity.EntityRendererManager;
- import net.minecraft.client.renderer.entity.MobRenderer;
- import net.minecraft.client.renderer.entity.SheepRenderer;
- import net.minecraft.entity.passive.SheepEntity;
- import net.minecraft.util.ResourceLocation;
- public class ExampleEntityRender extends MobRenderer<ExampleEntity, ExampleEntityModel<ExampleEntity>> {
- protected static final ResourceLocation TEXTURE = new ResourceLocation(Tutorial.MOD_ID, "textures/entity/example_entity.png");
- public ExampleEntityRender(EntityRendererManager renderManagerIn) {
- super(renderManagerIn, new ExampleEntityModel<ExampleEntity>(), 0.2f);
- }
- @Override
- public ResourceLocation getEntityTexture(ExampleEntity entity) {
- return TEXTURE;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment