This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

RenderTurret

By: a guest on Feb 26th, 2012  |  syntax: Java  |  size: 0.35 KB  |  views: 27  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. package net.minecraft.src;
  2.  
  3. import org.lwjgl.opengl.GL11;
  4.  
  5. public class RenderTurret extends RenderLiving
  6. {
  7.     private ModelTurret turretModel;
  8.  
  9.     public RenderTurret(ModelBase modelbase, float f)
  10.     {
  11.         super(new ModelTurret(), 0.5F);
  12.         turretModel = (ModelTurret)super.mainModel;
  13.         setRenderPassModel(turretModel);
  14.     }
  15. }
clone this paste RAW Paste Data