本文整理汇总了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));
}
示例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));
}
示例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);
}
示例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);
}
});
}
示例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);
}
});
}
示例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);
}
示例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);
}
});
}
示例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));
}
示例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);
}
});
}
示例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);
}
});
}
示例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);
}
示例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);
}
});
}
示例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);
}
});
}
示例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));
}
示例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));
}