@Override public void setRotationAngles(float limbSwing, float limbSwingAngle, float entityTickTime, float rotationYaw, float rotationPitch, float unitPixel, Entity entity) { super.setRotationAngles(limbSwing, limbSwingAngle, entityTickTime, rotationYaw, rotationPitch, unitPixel, entity); capTop.rotateAngleY = bipedHead.rotateAngleY; capTop.rotateAngleX = bipedHead.rotateAngleX; } }
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); //setRotationAngles(f,f1,f2,f3,f4,f5,entity); }
@Override @SideOnly(Side.CLIENT) public void onPlayerBaubleRender(ItemStack stack, EntityPlayer player, RenderType type, float partialTicks) { if(type == RenderType.BODY) { Minecraft.getMinecraft().renderEngine.bindTexture(texture); Helper.rotateIfSneaking(player); GlStateManager.translate(0F, 0.2F, 0F); float s = 1.05F / 16F; GlStateManager.scale(s, s, s); if(model == null) model = new ModelBiped(); model.bipedBody.render(1F); } }
@Override public void setVisible(boolean invisible) { super.setVisible(false); hatRim.showModel = true; hatTop.showModel = true; } }
@Override public void setVisible (boolean visible) { super.setVisible(visible); this.leftArmOverlay.showModel = visible; this.rightArmOverlay.showModel = visible; this.leftLegOverlay.showModel = visible; this.rightLegLverlay.showModel = visible; this.bodyOverlay.showModel = visible; }
@Override public void setRotationAngles(float f1, float f2, float f3, float f4, float f5, float f6, Entity e) { super.setRotationAngles(f1, f2, f3, f4, f5, f6, e); bipedCloak.rotateAngleX = f2; }
@Override public void render( @NotNull final Entity entity, final float limbSwing, final float limbSwingAmount, final float ageInTicks, final float netHeadYaw, final float headPitch, final float scaleFactor) { super.render(entity, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor); setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entity); }
@Override @SideOnly(Side.CLIENT) public void onPlayerBaubleRender(ItemStack stack, EntityPlayer player, RenderType type, float partialTicks) { if(type == RenderType.BODY) { Minecraft.getMinecraft().renderEngine.bindTexture(getRenderTexture()); Helper.rotateIfSneaking(player); GlStateManager.translate(0F, 0.2F, 0F); float s = 1.05F / 16F; GlStateManager.scale(s, s, s); if(model == null) model = new ModelBiped(); model.bipedBody.render(1F); } }
@Override public void setVisible(boolean visible) { super.setVisible(visible); bipedCloak.showModel = visible; } }
@Override public void setRotationAngles(float f1, float f2, float f3, float f4, float f5, float f6, Entity e) { super.setRotationAngles(f1, f2, f3, f4, f5, f6, e); hatRim.rotateAngleX = super.bipedHead.rotateAngleX; hatRim.rotateAngleY = super.bipedHead.rotateAngleY; hatRim.rotateAngleZ = super.bipedHead.rotateAngleZ; hatTop.rotateAngleX = super.bipedHead.rotateAngleX; hatTop.rotateAngleY = super.bipedHead.rotateAngleY; hatTop.rotateAngleZ = super.bipedHead.rotateAngleZ; }
@Override public void render( @NotNull final Entity entity, final float limbSwing, final float limbSwingAmount, final float ageInTicks, final float netHeadYaw, final float headPitch, final float scaleFactor) { super.render(entity, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor); setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entity); }
@Override protected void initArmor() { this.modelLeggings = new ModelBiped(0.5F); this.modelArmor = new ModelBiped(1.0F); }
protected void setModelVisible(ModelBiped model) { model.setVisible(false); }
@Override public void setRotationAngles(float limbSwing, float limbSwingAngle, float entityTickTime, float rotationYaw, float rotationPitch, float unitPixel, Entity entity) { super.setRotationAngles(limbSwing, limbSwingAngle, entityTickTime, rotationYaw, rotationPitch, unitPixel, entity); helmFront.rotateAngleY = bipedHead.rotateAngleY; helmFront.rotateAngleX = bipedHead.rotateAngleX; } }
@Override public void render( @NotNull final Entity entity, final float limbSwing, final float limbSwingAmount, final float ageInTicks, final float netHeadYaw, final float headPitch, final float scaleFactor) { super.render(entity, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor); setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entity); }
public RenderBasicVampire(RenderManager renderManagerIn) { super(renderManagerIn, new ModelBiped(0F, 0F, 64, 64), 0.5F); }
@Override protected void renderModel(EntityDraculaHalloween entitylivingbaseIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor) { if (entitylivingbaseIn.isParticle()) { ModelBiped model = (ModelBiped) getMainModel(); model.setVisible(false); model.bipedHead.showModel = true; super.renderModel(entitylivingbaseIn, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor); model.setVisible(true); } else { super.renderModel(entitylivingbaseIn, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor); } } }
@Override public void setRotationAngles( final float limbSwing, final float limbSwingAmount, final float ageInTicks, final float netHeadYaw, final float headPitch, final float scaleFactor, final Entity entityIn) { super.setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entityIn); } }
@Override public void render( @NotNull final Entity entity, final float limbSwing, final float limbSwingAmount, final float ageInTicks, final float netHeadYaw, final float headPitch, final float scaleFactor) { super.render(entity, limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor); setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entity); }
public EntityRendererRougeAndroid(RenderManager renderManager, boolean hologram) { this(renderManager, new ModelBiped(), 0, hologram); }