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


Java LayerCustomHead类代码示例

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


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

示例1: RenderPlayer

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

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

示例4: ArmorStandRenderer

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

示例5: RenderBiped

import net.minecraft.client.renderer.entity.layers.LayerCustomHead; //导入依赖的package包/类
public RenderBiped(RenderManager renderManagerIn, ModelBiped modelBipedIn, float shadowSize, float p_i46169_4_)
{
    super(renderManagerIn, modelBipedIn, shadowSize);
    this.modelBipedMain = modelBipedIn;
    this.field_77070_b = p_i46169_4_;
    this.addLayer(new LayerCustomHead(modelBipedIn.bipedHead));
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:8,代码来源:RenderBiped.java

示例6: RenderPlayer

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

示例7: RenderBiped

import net.minecraft.client.renderer.entity.layers.LayerCustomHead; //导入依赖的package包/类
public RenderBiped(RenderManager renderManagerIn, ModelBiped modelBipedIn, float shadowSize)
{
    super(renderManagerIn, modelBipedIn, shadowSize);
    this.addLayer(new LayerCustomHead(modelBipedIn.bipedHead));
    this.addLayer(new LayerElytra(this));
    this.addLayer(new LayerHeldItem(this));
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:8,代码来源:RenderBiped.java

示例8: RenderArmorStand

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

示例9: RenderZombie

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

示例10: RenderBiped

import net.minecraft.client.renderer.entity.layers.LayerCustomHead; //导入依赖的package包/类
public RenderBiped(RenderManager renderManagerIn, ModelBiped modelBipedIn, float shadowSize, float p_i46169_4_)
{
    super(renderManagerIn, modelBipedIn, shadowSize);
    this.modelBipedMain = modelBipedIn;
    this.scale = p_i46169_4_;
    this.addLayer(new LayerCustomHead(modelBipedIn.bipedHead));
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:8,代码来源:RenderBiped.java

示例11: RenderBabySkeleton

import net.minecraft.client.renderer.entity.layers.LayerCustomHead; //导入依赖的package包/类
public RenderBabySkeleton(RenderManager renderManagerIn, ModelBabySkeleton modelBipedIn) {
	super(renderManagerIn, modelBipedIn, 0.5F);
	this.addLayer(new LayerCustomHead(modelBipedIn.bipedHead));
	this.addLayer(new LayerElytra(this));
	this.addLayer(new LayerBabyHeldItem(this));
	this.addLayer(new LayerSkinsuit(this, new ModelBabySkeleton(0.0F, true, true, 2)));
	this.addLayer(new LayerBipedArmor(this) {
		@Override
		protected void initArmor() {
			this.modelLeggings = new ModelBabySkeleton(0.5F, true, false, 1);
			this.modelArmor = new ModelBabySkeleton(1.0F, true, false, 1);
		}
	});
}
 
开发者ID:The-Fireplace-Minecraft-Mods,项目名称:Overlord,代码行数:15,代码来源:RenderBabySkeleton.java

示例12: RenderMinionBase

import net.minecraft.client.renderer.entity.layers.LayerCustomHead; //导入依赖的package包/类
public RenderMinionBase(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelMinionBase(0.0F, false), 0.5F);
	this.addLayer(new LayerBipedArmor(this));
       this.addLayer(new LayerHeldItem(this));
       this.addLayer(new LayerArrow(this));
       this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
       this.addLayer(new LayerBackItem(this));
}
 
开发者ID:Alec-WAM,项目名称:CrystalMod,代码行数:9,代码来源:RenderMinionBase.java

示例13: RenderGSSkeleton

import net.minecraft.client.renderer.entity.layers.LayerCustomHead; //导入依赖的package包/类
public RenderGSSkeleton(RenderManager renderManager) {
    super(renderManager);

    ModelGSSkeleton skeletonModel = new ModelGSSkeleton();
    this.mainModel = skeletonModel;
    Iterator it = this.layerRenderers.iterator();
    while (it.hasNext()) {
        Object layer = it.next();
        if (layer instanceof LayerCustomHead) {
            it.remove();
        }
    }
    this.addLayer(new LayerCustomHead(skeletonModel.bipedHead));
}
 
开发者ID:NightKosh,项目名称:Gravestone-mod-Extended,代码行数:15,代码来源:RenderGSSkeleton.java

示例14: CorpseRenderer

import net.minecraft.client.renderer.entity.layers.LayerCustomHead; //导入依赖的package包/类
public CorpseRenderer(RenderManager renderManagerIn) {
	super(renderManagerIn,  new ModelPlayer(0.0F, true), 0.5F);
	thinArmsModel = (ModelPlayer)this.mainModel;
	thickArmsModel =  new ModelPlayer(0.0F, false);
	//
	this.addLayer(new LayerBipedArmor(this));
	this.addLayer(new LayerHeldItem(this));
	this.addLayer(new LayerArrow(this));
	this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
	RenderPlayer k;
	RenderPigZombie j;
}
 
开发者ID:MinecraftModDevelopmentMods,项目名称:LootableBodies,代码行数:13,代码来源:CorpseRenderer.java

示例15: RenderPlayerMob

import net.minecraft.client.renderer.entity.layers.LayerCustomHead; //导入依赖的package包/类
public RenderPlayerMob (RenderManager renderManager, ModelPlayerMob model) {

        super(renderManager, model, 0.5F);
        this.addLayer(new LayerBipedArmor(this));
        this.addLayer(new LayerHeldItem(this));
        this.addLayer(new LayerArrow(this));
        this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead));
        this.addLayer(new LayerElytra(this));
        this.blendProfile = Profile.PLAYER_SKIN;
    }
 
开发者ID:Darkhax-Minecraft,项目名称:Bookshelf,代码行数:11,代码来源:RenderPlayerMob.java


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