当前位置: 首页>>代码示例>>Java>>正文


Java ModelZombieVillager类代码示例

本文整理汇总了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;
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:26,代码来源:RenderZombie.java

示例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;
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:26,代码来源:RenderZombie.java

示例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;
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:21,代码来源:RenderZombie.java

示例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;
}
 
开发者ID:Ubiquitous-Spice,项目名称:Modjam-3,代码行数:26,代码来源:SwarmZombieRenderer.java

示例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);
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:29,代码来源:RenderZombie.java

示例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);
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:29,代码来源:RenderZombie.java

示例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);
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:10,代码来源:RenderZombie.java

示例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);
}
 
开发者ID:ArtixAllMighty,项目名称:rpginventory,代码行数:10,代码来源:RenderMinionZ.java

示例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);
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:9,代码来源:RenderZombie.java

示例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);
}
 
开发者ID:Ubiquitous-Spice,项目名称:Modjam-3,代码行数:10,代码来源:SwarmZombieRenderer.java

示例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);
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:6,代码来源:LayerVillagerArmor.java

示例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));
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:6,代码来源:RenderZombieVillager.java

示例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);
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:6,代码来源:LayerVillagerArmor.java

示例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();
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:7,代码来源:RenderZombie.java

示例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();
}
 
开发者ID:ArtixAllMighty,项目名称:rpginventory,代码行数:6,代码来源:RenderMinionZ.java


注:本文中的net.minecraft.client.model.ModelZombieVillager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。