Advertisement
Guest User

Untitled

a guest
May 22nd, 2014
1,125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. package com.kazeyometest.tuto.client;
  2.  
  3. import com.ikkacraft.tuto.common.Mobtest;
  4. import com.ikkacraft.tuto.common.modTutoriel;
  5.  
  6. import net.minecraft.entity.EntityLiving;
  7. import net.minecraft.entity.monster.EntityMob;
  8. import net.minecraft.util.ResourceLocation;
  9. import net.minecraft.world.World;
  10.  
  11. public class RenderMobTest extends EntityMob {
  12.  
  13.  
  14. public RenderMobTest (World par1World){
  15. super(par1World);
  16. }
  17.  
  18. public final ResourceLocation texture = new ResourceLocation(modTutoriel.MODID, "textures/entity/renderMobTest.png");
  19.  
  20. private ResourceLocation getMobTestTexture(MobTest mobTes) {
  21. return texture;
  22. }
  23.  
  24. protected ResourceLocation getEntityTexture(EntityLiving living) {
  25. return this.getMobTestTexture((MobTest)living);
  26. }
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement