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


Java LayerBipedArmor类代码示例

本文整理汇总了Java中net.minecraft.client.renderer.entity.layers.LayerBipedArmor的典型用法代码示例。如果您正苦于以下问题:Java LayerBipedArmor类的具体用法?Java LayerBipedArmor怎么用?Java LayerBipedArmor使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


LayerBipedArmor类属于net.minecraft.client.renderer.entity.layers包,在下文中一共展示了LayerBipedArmor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: RenderPlayer

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderPlayer(RenderManager renderManager, boolean useSmallArms)
{
    super(renderManager, new ModelPlayer(0.0F, useSmallArms), 0.5F);
    this.smallArms = useSmallArms;
    this.addLayer(new LayerBipedArmor(this));
    this.addLayer(new LayerHeldItem(this));
    this.addLayer(new LayerArrow(this));
    this.addLayer(new LayerDeadmau5Head(this));
    this.addLayer(new LayerCape(this));
    this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
}
 
开发者ID:SkidJava,项目名称:BaseClient,代码行数:12,代码来源:RenderPlayer.java

示例2: RenderArmorStand

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
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));
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:17,代码来源:RenderArmorStand.java

示例3: RenderGuard

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderGuard(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelGuard(), 0.5F);

	LayerRenderer<?> layerrenderer = (LayerRenderer) this.layerRenderers.get(0);
	defaultModel = (ModelGuard) mainModel;

	addLayer(new LayerHeldItem(this));

	LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) {
		protected void initArmor() {
			modelLeggings = new ModelZombie(0.5F, true);
			modelArmor = new ModelZombie(1.0F, true);
		}
	};
	addLayer(layerbipedarmor);

	// addLayer(new LayerCape(this));

	this.defaultLayers = Lists.newArrayList(this.layerRenderers);

}
 
开发者ID:ToroCraft,项目名称:ToroQuest,代码行数:22,代码来源:RenderGuard.java

示例4: RenderTrumpetSkeleton

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderTrumpetSkeleton(RenderManager renderManager) {
    super(renderManager, new ModelTrumpetSkeleton(), 0.5F);
    this.addLayer(new LayerHeldItem(this));
    this.addLayer(new LayerBipedArmor(this)
    {
        protected void initArmor()
        {
            this.modelLeggings = new ModelTrumpetSkeleton(0.5F, true);
            this.modelArmor = new ModelTrumpetSkeleton(1.0F, true);
        }
    });
}
 
开发者ID:JamiesWhiteShirt,项目名称:trumpet-skeleton,代码行数:13,代码来源:RenderTrumpetSkeleton.java

示例5: RenderPigZombie

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderPigZombie(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelZombie(), 0.5F, 1.0F);
    this.addLayer(new LayerHeldItem(this));
    this.addLayer(new LayerBipedArmor(this)
    {
        protected void initArmor()
        {
            this.field_177189_c = new ModelZombie(0.5F, true);
            this.field_177186_d = new ModelZombie(1.0F, true);
        }
    });
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:14,代码来源:RenderPigZombie.java

示例6: RenderZombie

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的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

示例7: RenderSkeleton

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderSkeleton(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelSkeleton(), 0.5F);
    this.addLayer(new LayerHeldItem(this));
    this.addLayer(new LayerBipedArmor(this)
    {
        protected void initArmor()
        {
            this.field_177189_c = new ModelSkeleton(0.5F, true);
            this.field_177186_d = new ModelSkeleton(1.0F, true);
        }
    });
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:14,代码来源:RenderSkeleton.java

示例8: ArmorStandRenderer

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
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));
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:16,代码来源:ArmorStandRenderer.java

示例9: RenderGiantZombie

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderGiantZombie(RenderManager renderManagerIn, ModelBase modelBaseIn, float shadowSizeIn, float scaleIn)
{
    super(renderManagerIn, modelBaseIn, shadowSizeIn * scaleIn);
    this.scale = scaleIn;
    this.addLayer(new LayerHeldItem(this));
    this.addLayer(new LayerBipedArmor(this)
    {
        protected void initArmor()
        {
            this.field_177189_c = new ModelZombie(0.5F, true);
            this.field_177186_d = new ModelZombie(1.0F, true);
        }
    });
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:15,代码来源:RenderGiantZombie.java

示例10: RenderPigZombie

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderPigZombie(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelZombie(), 0.5F);
    this.addLayer(new LayerBipedArmor(this)
    {
        protected void initArmor()
        {
            this.modelLeggings = new ModelZombie(0.5F, true);
            this.modelArmor = new ModelZombie(1.0F, true);
        }
    });
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:13,代码来源:RenderPigZombie.java

示例11: RenderZombie

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderZombie(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelZombie(), 0.5F);
    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);
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:14,代码来源:RenderZombie.java

示例12: RenderSkeleton

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderSkeleton(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelSkeleton(), 0.5F);
    this.addLayer(new LayerHeldItem(this));
    this.addLayer(new LayerBipedArmor(this)
    {
        protected void initArmor()
        {
            this.modelLeggings = new ModelSkeleton(0.5F, true);
            this.modelArmor = new ModelSkeleton(1.0F, true);
        }
    });
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:14,代码来源:RenderSkeleton.java

示例13: RenderGiantZombie

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderGiantZombie(RenderManager p_i47206_1_, float p_i47206_2_)
{
    super(p_i47206_1_, new ModelZombie(), 0.5F * p_i47206_2_);
    this.scale = p_i47206_2_;
    this.addLayer(new LayerHeldItem(this));
    this.addLayer(new LayerBipedArmor(this)
    {
        protected void initArmor()
        {
            this.modelLeggings = new ModelZombie(0.5F, true);
            this.modelArmor = new ModelZombie(1.0F, true);
        }
    });
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:15,代码来源:RenderGiantZombie.java

示例14: RenderPlayer

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
public RenderPlayer(RenderManager renderManager, boolean useSmallArms)
{
    super(renderManager, new ModelPlayer(0.0F, useSmallArms), 0.5F);
    this.smallArms = useSmallArms;
    this.addLayer(new LayerBipedArmor(this));
    this.addLayer(new LayerHeldItem(this));
    this.addLayer(new LayerArrow(this));
    this.addLayer(new LayerDeadmau5Head(this));
    this.addLayer(new LayerCape(this));
    this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
    this.addLayer(new LayerElytra(this));
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:13,代码来源:RenderPlayer.java

示例15: RenderArmorStand

import net.minecraft.client.renderer.entity.layers.LayerBipedArmor; //导入依赖的package包/类
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));
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:16,代码来源:RenderArmorStand.java


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