public RenderArmorStand(RenderManager manager) { super(manager, new ModelArmorStand(), 0.0F); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.modelLeggings = new ModelArmorStandArmor(0.5F); this.modelArmor = new ModelArmorStandArmor(1.0F); } }; this.addLayer(layerbipedarmor); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerElytra(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); }
public ArmorStandRenderer(RenderManager p_i46195_1_) { super(p_i46195_1_, new ModelArmorStand(), 0.0F); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.field_177189_c = new ModelArmorStandArmor(0.5F); this.field_177186_d = new ModelArmorStandArmor(1.0F); } }; this.addLayer(layerbipedarmor); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); }
public ModelRenderer getModelRenderer(ModelBase model, String modelPart) { if (!(model instanceof ModelArmorStand)) { return null; } else { ModelArmorStand modelarmorstand = (ModelArmorStand)model; return modelPart.equals("right") ? modelarmorstand.standRightSide : (modelPart.equals("left") ? modelarmorstand.standLeftSide : (modelPart.equals("waist") ? modelarmorstand.standWaist : (modelPart.equals("base") ? modelarmorstand.standBase : null))); } }
public RenderArmorStand(RenderManager manager) { super(manager, new ModelArmorStand(), 0.0F); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.modelLeggings = new ModelArmorStandArmor(0.5F); this.modelArmor = new ModelArmorStandArmor(1.0F); } }; this.addLayer(layerbipedarmor); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); }
public ModelArmorStand getMainModel() { return (ModelArmorStand)super.getMainModel(); }
public ModelBase makeModel() { return new ModelArmorStand(); }