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