content: package thebetweenlands.client.render.model.entity.rowboat;
  
  import net.minecraft.client.model.ModelBase;
  import net.minecraft.client.model.ModelRenderer;
  import net.minecraft.client.renderer.GlStateManager;
  import thebetweenlands.common.entity.rowboat.Lantern;
  
  public class ModelLantern extends ModelBase {
  	private ModelRenderer root;
  
  	public ModelLantern() {
  		textureWidth = 256;
  		textureHeight = 128;
  		root = new ModelRenderer(this, 218, 11);
  		//root.setRotationPoint(0.0F, 4.0F, 1.0F);
  		root.addBox(-2.5F, 0.0F, -2.5F, 5, 7, 5, 0.0F);
  		root.setTextureOffset(239, 13);
  		root.addBox(-1.5F, 2.0F, -1.5F, 3, 4, 3, 0.0F);
  		ModelRenderer lanternTop = new ModelRenderer(this, 218, 24);
  		lanternTop.setRotationPoint(0.0F, 0.5F, 0.0F);
  		lanternTop.rotateAngleX = 0.13F;
  		lanternTop.addBox(-3.0F, -1.0F, -3.0F, 6, 2, 6, 0.0F);
  		root.addChild(lanternTop);
  	}
  
  	public void render(Lantern lantern, float scale, float delta) {
  		root.rotateAngleX = lantern.getAngle(delta);
  		GlStateManager.disableCull();
  		root.render(scale);
  		GlStateManager.enableCull();
  	}
  }
  