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


Java ModelCreeper类代码示例

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


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

示例1: registerRenderThings

import net.minecraft.client.model.ModelCreeper; //导入依赖的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

示例2: registerRenderers

import net.minecraft.client.model.ModelCreeper; //导入依赖的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

示例3: getModelRenderer

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelCreeper))
    {
        return null;
    }
    else
    {
        ModelCreeper modelcreeper = (ModelCreeper)model;
        return modelPart.equals("head") ? modelcreeper.head : (modelPart.equals("armor") ? modelcreeper.creeperArmor : (modelPart.equals("body") ? modelcreeper.body : (modelPart.equals("leg1") ? modelcreeper.leg1 : (modelPart.equals("leg2") ? modelcreeper.leg2 : (modelPart.equals("leg3") ? modelcreeper.leg3 : (modelPart.equals("leg4") ? modelcreeper.leg4 : null))))));
    }
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:13,代码来源:ModelAdapterCreeper.java

示例4: registerAll

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
private static void registerAll(){
	map = new HashMap<EnumNPCModel, ModelBase>();
	registerItem(EnumNPCModel.Player, new ModelPlayer(0f, false));
	registerItem(EnumNPCModel.Zombie, new ModelZombie());
	registerItem(EnumNPCModel.Villager, new ModelVillager(0f));
	registerItem(EnumNPCModel.Skeleton, new ModifiedModelSkeleton());
	registerItem(EnumNPCModel.Creeper, new ModelCreeper());
	registerItem(EnumNPCModel.Pig, new ModelPig(0f));
	registerItem(EnumNPCModel.Cow, new ModelCow());
}
 
开发者ID:tiffit,项目名称:TaleCraft,代码行数:11,代码来源:NPCModelToModelBase.java

示例5: RenderCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderCreeper(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(this));
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:6,代码来源:RenderCreeper.java

示例6: RenderCreeperween

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderCreeperween(RenderManager renderManager)
{
	super(renderManager, new ModelCreeper(), 0.4F);
	this.addLayer(new LayerCreeperweenEyes(this));
}
 
开发者ID:crazysnailboy,项目名称:Halloween,代码行数:6,代码来源:RenderCreeperween.java

示例7: makeModel

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public ModelBase makeModel()
{
    return new ModelCreeper();
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:ModelAdapterCreeper.java

示例8: RenderChameleonCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderChameleonCreeper(RenderManager renderManagerIn) throws IOException
{
    super(renderManagerIn, new ModelCreeper(), 0.5F);
    this.addLayer(new LayerCreeperCharge(new RenderCreeper(renderManager)));
}
 
开发者ID:VelocityRa,项目名称:ChameleonCreepersMod,代码行数:6,代码来源:RenderChameleonCreeper.java

示例9: RenderCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:5,代码来源:RenderCreeper.java

示例10: RenderNetherCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderNetherCreeper()
{
	super(new ModelCreeper(), 0.5F);
}
 
开发者ID:AlphaSwittle-Team,项目名称:MinExtension,代码行数:5,代码来源:RenderNetherCreeper.java

示例11: RenderEnderCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderEnderCreeper()
{
	super(new ModelCreeper(), 0.5F);
}
 
开发者ID:AlphaSwittle-Team,项目名称:MinExtension,代码行数:5,代码来源:RenderEnderCreeper.java

示例12: RendererMankiniCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RendererMankiniCreeper(ModelCreeper model, float shadowSize) {
super();
}
 
开发者ID:MasterAbdoTGM50,项目名称:Mankini,代码行数:4,代码来源:RendererMankiniCreeper.java

示例13: RenderAntiCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderAntiCreeper(RenderManager manager)
{
	super(manager, new ModelCreeper(), 0.5F);
}
 
开发者ID:Shinoow,项目名称:AbyssalCraft,代码行数:5,代码来源:RenderAntiCreeper.java

示例14: RenderCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderCreeper() {
   super(new ModelCreeper(), 0.5F);
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:4,代码来源:RenderCreeper.java

示例15: RenderRedCreeper

import net.minecraft.client.model.ModelCreeper; //导入依赖的package包/类
public RenderRedCreeper()
{
    super(new ModelCreeper(), 0.5F);
}
 
开发者ID:wuppy29,项目名称:WuppyMods,代码行数:5,代码来源:RenderRedCreeper.java


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