本文整理汇总了Java中net.minecraft.client.model.ModelZombieVillager类的典型用法代码示例。如果您正苦于以下问题:Java ModelZombieVillager类的具体用法?Java ModelZombieVillager怎么用?Java ModelZombieVillager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelZombieVillager类属于net.minecraft.client.model包,在下文中一共展示了ModelZombieVillager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: func_82427_a
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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;
}
示例2: func_82427_a
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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;
}
示例3: func_82427_a
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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;
}
示例4: func_82427_a
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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;
}
示例5: RenderZombie
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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);
}
示例6: RenderZombie
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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);
}
示例7: func_82421_b
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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);
}
示例8: func_82421_b
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
@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);
}
示例9: func_82421_b
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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);
}
示例10: func_82421_b
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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);
}
示例11: initArmor
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
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);
}
示例12: RenderZombieVillager
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
public RenderZombieVillager(RenderManager p_i47186_1_)
{
super(p_i47186_1_, new ModelZombieVillager(), 0.5F);
this.addLayer(new LayerVillagerArmor(this));
}
示例13: initArmor
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
protected void initArmor()
{
this.modelLeggings = new ModelZombieVillager(0.5F, 0.0F, true);
this.modelArmor = new ModelZombieVillager(1.0F, 0.0F, true);
}
示例14: RenderZombie
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
public RenderZombie()
{
super(new ModelZombie(), 0.5F, 1.0F);
this.field_82434_o = this.modelBipedMain;
this.zombieVillagerModel = new ModelZombieVillager();
}
示例15: RenderMinionZ
import net.minecraft.client.model.ModelZombieVillager; //导入依赖的package包/类
public RenderMinionZ() {
super(new ModelZombie(), 0.5F, 1.0F);
this.field_82434_o = this.modelBipedMain;
this.field_82432_p = new ModelZombieVillager();
}