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


Java ModelZombie类代码示例

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

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

示例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));
}
 
开发者ID:ehea617,项目名称:mo-zombies,代码行数:18,代码来源:ClientProxy.java

示例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"));
}
 
开发者ID:OmgImAlexis,项目名称:TheStuffMod,代码行数:22,代码来源:ClientProxy.java

示例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()));
   }
 
开发者ID:OwnAgePau,项目名称:Soul-Forest,代码行数:18,代码来源:InitEntities.java

示例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);
        }
    });
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:14,代码来源:RenderPigZombie.java

示例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);
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:29,代码来源:RenderZombie.java

示例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);
        }
    });
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:15,代码来源:RenderGiantZombie.java

示例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);
        }
    });
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:13,代码来源:RenderPigZombie.java

示例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);
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:14,代码来源:RenderZombie.java

示例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);
        }
    });
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:15,代码来源:RenderGiantZombie.java

示例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);
        }
    });
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:14,代码来源:RenderPigZombie.java

示例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);
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:29,代码来源:RenderZombie.java

示例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);
        }
    });
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:15,代码来源:RenderGiantZombie.java

示例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);
         }
     });
 }
 
开发者ID:Alec-WAM,项目名称:CrystalMod,代码行数:15,代码来源:RenderCrystalPigZombie.java

示例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);
}
 
开发者ID:TeamWizardry,项目名称:Wizardry,代码行数:12,代码来源:RenderSummonZombie.java


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