Advertisement
Creepinson

Untitled

Jun 25th, 2017
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. package me.creepinson.lib.util.render;
  2.  
  3. import me.creepinson.render.disguise.RenderDisguises;
  4. import net.minecraft.client.Minecraft;
  5. import net.minecraft.client.renderer.entity.RenderLivingBase;
  6. import net.minecraft.client.renderer.entity.RenderPlayer;
  7.  
  8. public class RenderHelper {
  9. public static int id;
  10. public static RenderDisguises disguises = new RenderDisguises();
  11.  
  12. public static RenderLivingBase currentRender;
  13.  
  14. public static RenderLivingBase getRenderFromID (int id){
  15.  
  16. switch(id) {
  17.  
  18. case 0:
  19. return disguises.player;
  20.  
  21. case 1:
  22. return disguises.pig;
  23. case 2:
  24. return disguises.creeper;
  25. default:
  26. return disguises.player;
  27.  
  28.  
  29. }
  30.  
  31.  
  32.  
  33. }
  34.  
  35.  
  36.  
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement