private void func_82427_a(EntityZombie par1EntityZombie) { if (par1EntityZombie.isVillager()) { if (this.field_82431_q != this.zombieVillagerModel.func_82897_a()) { this.zombieVillagerModel = new ModelZombieVillager(); this.field_82431_q = this.zombieVillagerModel.func_82897_a(); this.field_82436_m = new ModelZombieVillager(1.0F, 0.0F, true); this.field_82433_n = new ModelZombieVillager(0.5F, 0.0F, true); } this.mainModel = this.zombieVillagerModel; this.field_82423_g = this.field_82436_m; this.field_82425_h = this.field_82433_n; } else { this.mainModel = this.field_82434_o; this.field_82423_g = this.field_82437_k; this.field_82425_h = this.field_82435_l; } this.modelBipedMain = (ModelBiped)this.mainModel; }
private void func_82427_a(EntityZombie p_82427_1_) { if (p_82427_1_.isVillager()) { if (this.field_82431_q != this.zombieVillagerModel.func_82897_a()) { this.zombieVillagerModel = new ModelZombieVillager(); this.field_82431_q = this.zombieVillagerModel.func_82897_a(); this.field_82436_m = new ModelZombieVillager(1.0F, 0.0F, true); this.field_82433_n = new ModelZombieVillager(0.5F, 0.0F, true); } this.mainModel = this.zombieVillagerModel; this.field_82423_g = this.field_82436_m; this.field_82425_h = this.field_82433_n; } else { this.mainModel = this.field_82434_o; this.field_82423_g = this.field_82437_k; this.field_82425_h = this.field_82435_l; } this.modelBipedMain = (ModelBiped)this.mainModel; }
private void func_82427_a(EntityZombie p_82427_1_) { if(p_82427_1_.func_82231_m()) { if(this.field_82431_q != this.field_82432_p.func_82897_a()) { this.field_82432_p = new ModelZombieVillager(); this.field_82431_q = this.field_82432_p.func_82897_a(); this.field_82436_m = new ModelZombieVillager(1.0F, 0.0F, true); this.field_82433_n = new ModelZombieVillager(0.5F, 0.0F, true); } this.field_77045_g = this.field_82432_p; this.field_82423_g = this.field_82436_m; this.field_82425_h = this.field_82433_n; } else { this.field_77045_g = this.field_82434_o; this.field_82423_g = this.field_82437_k; this.field_82425_h = this.field_82435_l; } this.field_77071_a = (ModelBiped)this.field_77045_g; }
private void func_82427_a(EntitySwarmZombie par1EntitySwarmZombie) { if (par1EntitySwarmZombie.isVillager()) { if (this.field_82431_q != this.zombieVillagerModel.func_82897_a()) { this.zombieVillagerModel = new ModelZombieVillager(); this.field_82431_q = this.zombieVillagerModel.func_82897_a(); this.field_82436_m = new ModelZombieVillager(1.0F, 0.0F, true); this.field_82433_n = new ModelZombieVillager(0.5F, 0.0F, true); } this.mainModel = this.zombieVillagerModel; this.field_82423_g = this.field_82436_m; this.field_82425_h = this.field_82433_n; } else { this.mainModel = this.field_82434_o; this.field_82423_g = this.field_82437_k; this.field_82425_h = this.field_82435_l; } this.modelBipedMain = (ModelBiped)this.mainModel; }
public RenderZombie(RenderManager renderManagerIn) { super(renderManagerIn, new ModelZombie(), 0.5F, 1.0F); LayerRenderer layerrenderer = (LayerRenderer)this.layerRenderers.get(0); this.field_82434_o = this.modelBipedMain; this.zombieVillagerModel = new ModelZombieVillager(); this.addLayer(new LayerHeldItem(this)); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.field_177189_c = new ModelZombie(0.5F, true); this.field_177186_d = new ModelZombie(1.0F, true); } }; this.addLayer(layerbipedarmor); this.field_177122_o = Lists.newArrayList(this.layerRenderers); if (layerrenderer instanceof LayerCustomHead) { this.removeLayer(layerrenderer); this.addLayer(new LayerCustomHead(this.zombieVillagerModel.bipedHead)); } this.removeLayer(layerbipedarmor); this.addLayer(new LayerVillagerArmor(this)); this.field_177121_n = Lists.newArrayList(this.layerRenderers); }
public RenderZombie(RenderManager renderManagerIn) { super(renderManagerIn, new ModelZombie(), 0.5F, 1.0F); LayerRenderer<?> layerrenderer = (LayerRenderer)this.layerRenderers.get(0); this.defaultModel = this.modelBipedMain; this.zombieVillagerModel = new ModelZombieVillager(); this.addLayer(new LayerHeldItem(this)); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.modelLeggings = new ModelZombie(0.5F, true); this.modelArmor = new ModelZombie(1.0F, true); } }; this.addLayer(layerbipedarmor); this.defaultLayers = Lists.newArrayList(this.layerRenderers); if (layerrenderer instanceof LayerCustomHead) { this.removeLayer(layerrenderer); this.addLayer(new LayerCustomHead(this.zombieVillagerModel.bipedHead)); } this.removeLayer(layerbipedarmor); this.addLayer(new LayerVillagerArmor(this)); this.villagerLayers = Lists.newArrayList(this.layerRenderers); }
protected void func_82421_b() { this.field_82423_g = new ModelZombie(1.0F, true); this.field_82425_h = new ModelZombie(0.5F, true); this.field_82437_k = this.field_82423_g; this.field_82435_l = this.field_82425_h; this.field_82436_m = new ModelZombieVillager(1.0F, 0.0F, true); this.field_82433_n = new ModelZombieVillager(0.5F, 0.0F, true); }
@Override protected void func_82421_b() { this.field_82423_g = new ModelZombie(1.0F, true); this.field_82425_h = new ModelZombie(0.5F, true); this.field_82437_k = this.field_82423_g; this.field_82435_l = this.field_82425_h; this.field_82436_m = new ModelZombieVillager(1.0F, 0.0F, true); this.field_82433_n = new ModelZombieVillager(0.5F, 0.0F, true); }
protected void initArmor() { this.field_177189_c = new ModelZombieVillager(0.5F, 0.0F, true); this.field_177186_d = new ModelZombieVillager(1.0F, 0.0F, true); }
public RenderZombieVillager(RenderManager p_i47186_1_) { super(p_i47186_1_, new ModelZombieVillager(), 0.5F); this.addLayer(new LayerVillagerArmor(this)); }
protected void initArmor() { this.modelLeggings = new ModelZombieVillager(0.5F, 0.0F, true); this.modelArmor = new ModelZombieVillager(1.0F, 0.0F, true); }
public RenderZombie() { super(new ModelZombie(), 0.5F, 1.0F); this.field_82434_o = this.modelBipedMain; this.zombieVillagerModel = new ModelZombieVillager(); }
public RenderMinionZ() { super(new ModelZombie(), 0.5F, 1.0F); this.field_82434_o = this.modelBipedMain; this.field_82432_p = new ModelZombieVillager(); }
public RenderZombie() { super(new ModelZombie(), 0.5F, 1.0F); this.field_82434_o = this.field_77071_a; this.field_82432_p = new ModelZombieVillager(); }
public SwarmZombieRenderer() { super(new ModelZombie(), 0.5F, 1.0F); this.field_82434_o = this.modelBipedMain; this.zombieVillagerModel = new ModelZombieVillager(); }