本文整理汇总了Java中net.minecraft.client.model.ModelZombie类的典型用法代码示例。如果您正苦于以下问题:Java ModelZombie类的具体用法?Java ModelZombie怎么用?Java ModelZombie使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelZombie类属于net.minecraft.client.model包,在下文中一共展示了ModelZombie类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: RenderGuard
import net.minecraft.client.model.ModelZombie; //导入依赖的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);
}
示例2: registerRenderThings
import net.minecraft.client.model.ModelZombie; //导入依赖的package包/类
public void registerRenderThings()
{
RenderingRegistry.registerEntityRenderingHandler(EntityZombieNotch.class, new RenderZombieNotch(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombieMiner.class, new RenderZombieMiner(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombieChef.class, new RenderZombieChef(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombieCreeper.class, new RenderZombieCreeper(new ModelCreeper(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombiePirate.class, new RenderZombiePirate(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombiePa.class, new RenderZombiePa(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityNetherZombie.class, new RenderNetherZombie(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombieCyborg.class, new RenderZombieCyborg(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombieDwarf.class, new RenderZombieDwarf(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombieHerobrine.class, new RenderZombieHerobrine(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombieKing.class, new RenderZombieKing(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityZombieKnight.class, new RenderZombieKnight(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityDiscoZombie.class, new RenderDiscoZombie(new ModelZombie(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntitySurvivor.class, new RenderSurvivor(new ModelBiped(), 0));
}
示例3: registerRenderers
import net.minecraft.client.model.ModelZombie; //导入依赖的package包/类
@Override
public void registerRenderers() {
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPipe.class, new TileEntityRenderPipe());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCable.class, new TileEntityRenderCable());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityShell.class, new TileEntityRenderShell());
MinecraftForgeClient.registerItemRenderer(ModArmour.shell, new CustomItemRenderer(new TileEntityRenderShell(), new TileEntityShell()));
RenderingRegistry.registerEntityRenderingHandler(EntityMummy.class, new RenderMummy(new ModelZombie(), 0));;
RenderingRegistry.registerEntityRenderingHandler(EntityPirate.class, new RenderPirate(new ModelPirate(), 0));;
RenderingRegistry.registerEntityRenderingHandler(EntitySenthant.class, new RenderSenthant(new ModelSenthant(), 0));;
RenderingRegistry.registerEntityRenderingHandler(EntityTurtle.class, new RenderTurtle(new ModelTurtle(), 0));;
RenderingRegistry.registerEntityRenderingHandler(EntityBear.class, new RenderBear(new ModelBear(), 0));;
RenderingRegistry.registerEntityRenderingHandler(EntityPanda.class, new RenderPanda(new ModelBear(), 0));;
RenderingRegistry.registerEntityRenderingHandler(EntityGrawquat.class, new RenderGrawquat(new ModelGrawquat(), 0));;
RenderingRegistry.registerEntityRenderingHandler(EntityLyekhwrone.class, new RenderLyekhwrone(new ModelLyekhwrone(), 0));;
RenderingRegistry.registerEntityRenderingHandler(EntityLyekstone.class, new RenderSnowball(ModItems.lyekstone));
VillagerRegistry.instance().registerVillagerSkin(56329, new ResourceLocation(Reference.MOD_ID, "textures/entity/villager.png"));
}
示例4: registerRenderers
import net.minecraft.client.model.ModelZombie; //导入依赖的package包/类
public static void registerRenderers()
{
// Renderer Registry
// Renderers for mobs
RenderingRegistry.registerEntityRenderingHandler(EntityEnt.class, new RenderEnt(new ModelZombie(), 0.5F)); // The float is the size of the shadow
RenderingRegistry.registerEntityRenderingHandler(EntityKotek.class, new RenderBlueSlime(new ModelSlime(0), new ModelSlime(10), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntitySnowCreeper.class, new RenderSnowCreeper(new ModelCreeper(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityIceFairy.class, new RenderIceFairy(new ModelFairy(), 0.5F));
RenderingRegistry.registerEntityRenderingHandler(EntityGroundhog.class, new RenderGroundhog(new ModelGroundhog(), 1.0F));
RenderingRegistry.registerEntityRenderingHandler(EntityFurivoli.class, new RenderFurivoli(new ModelFurivoli(), 0.8F));
RenderingRegistry.registerEntityRenderingHandler(EntityKingKotek.class, new RenderKingKotek(new ModelSlime(0), new ModelSlime(40), 1.0F));
RenderingRegistry.registerEntityRenderingHandler(EntityIceQueen.class, new RenderIceQueen(new ModelIceQueen(), 1.0F));
RenderingRegistry.registerEntityRenderingHandler(EntityIceQueenIllusion.class, new RenderIceQueen(new ModelIceQueen(), 1.0F));
// Renderers for throwable entities
RenderingRegistry.registerEntityRenderingHandler(EntityFrostShard.class, new RenderFrostShard(SoulItems.FrostShard.get()));
}
示例5: RenderPigZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的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.model.ModelZombie; //导入依赖的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: RenderGiantZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的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);
}
});
}
示例8: RenderPigZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的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);
}
});
}
示例9: RenderZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的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);
}
示例10: RenderGiantZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的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);
}
});
}
示例11: RenderPigZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的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.modelLeggings = new ModelZombie(0.5F, true);
this.modelArmor = new ModelZombie(1.0F, true);
}
});
}
示例12: RenderZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的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);
}
示例13: RenderGiantZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的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.modelLeggings = new ModelZombie(0.5F, true);
this.modelArmor = new ModelZombie(1.0F, true);
}
});
}
示例14: RenderCrystalPigZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的package包/类
public RenderCrystalPigZombie(RenderManager renderManagerIn)
{
super(renderManagerIn, new ModelZombie(), 0.5F);
this.addLayer(new LayerHeldItem(this));
this.addLayer(new LayerBipedArmor(this)
{
@Override
protected void initArmor()
{
this.modelLeggings = new ModelZombie(0.5F, true);
this.modelArmor = new ModelZombie(1.0F, true);
}
});
}
示例15: RenderSummonZombie
import net.minecraft.client.model.ModelZombie; //导入依赖的package包/类
public RenderSummonZombie(RenderManager renderManagerIn) {
super(renderManagerIn, new ModelSummonZombie(), 0.5F);
LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) {
@Override
protected void initArmor() {
this.modelLeggings = new ModelZombie(0.5F, true);
this.modelArmor = new ModelZombie(1.0F, true);
}
};
this.addLayer(layerbipedarmor);
}