本文整理汇总了Java中net.minecraft.client.model.ModelCow类的典型用法代码示例。如果您正苦于以下问题:Java ModelCow类的具体用法?Java ModelCow怎么用?Java ModelCow使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelCow类属于net.minecraft.client.model包,在下文中一共展示了ModelCow类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: registerRenders
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
@Override
public void registerRenders() {
//REGISTER RENDERER
RenderingRegistry.registerEntityRenderingHandler(OCMobsCowDiamond.class, new OCMobsRenderer(new ModelCow(), 0.4F, "Cow_Diamond"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsCowCarbonite.class, new OCMobsRenderer(new ModelCow(), 0.4F, "Cow_Carbonite"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsCowEmerald.class, new OCMobsRenderer(new ModelCow(), 0.4F, "Cow_Emerald"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsCowEmpowered.class, new OCMobsRenderer(new ModelCow(), 0.4F, "Cow_Empowered"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsCowGoldium.class, new OCMobsRenderer(new ModelCow(), 0.4F, "Cow_Goldium"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsCowIron.class, new OCMobsRenderer(new ModelCow(), 0.4F, "Cow_Iron"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsCowLazuli.class, new OCMobsRenderer(new ModelCow(), 0.4F, "Cow_Lazuli"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsCowQuartzite.class, new OCMobsRenderer(new ModelCow(), 0.4F, "Cow_Quartzite"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsPigDiamond.class, new OCMobsRenderer(new ModelPig(), 0.4F,"Pig_Diamond"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsPigCarbonite.class, new OCMobsRenderer(new ModelPig(), 0.4F, "Pig_Carbonite"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsPigEmerald.class, new OCMobsRenderer(new ModelPig(), 0.4F, "Pig_Emerald"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsPigEmpowered.class, new OCMobsRenderer(new ModelPig(), 0.4F, "Pig_Empowered"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsPigGoldium.class, new OCMobsRenderer(new ModelPig(), 0.4F, "Pig_Goldium"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsPigIron.class, new OCMobsRenderer(new ModelPig(), 0.4F, "Pig_Iron"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsPigLazuli.class, new OCMobsRenderer(new ModelPig(), 0.4F, "Pig_Lazuli"));
RenderingRegistry.registerEntityRenderingHandler(OCMobsPigQuartzite.class, new OCMobsRenderer(new ModelPig(), 0.4F, "Pig_Quartzite"));
}
示例2: registerRenderThings
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public void registerRenderThings(){
RenderingRegistry.registerEntityRenderingHandler(EntityLegoguy110Mob.class, new RenderLegoguy110Mob(new Legoguy110_Dev(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityComixsMob.class, new RenderComixsMob(new ComixsYT_Dev(), 0));
RenderingRegistry.registerEntityRenderingHandler(KillerMoo.class, new RenderKillerCow(new ModelCow(), 0));
RenderingRegistry.registerEntityRenderingHandler(EntityPanguin.class, new RenderPanguin(new Penguin(), 0));
}
示例3: registerAll
import net.minecraft.client.model.ModelCow; //导入依赖的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());
}
示例4: RenderManager
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
{
this.renderEngine = renderEngineIn;
this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider(this));
this.entityRenderMap.put(EntitySpider.class, new RenderSpider(this));
this.entityRenderMap.put(EntityPig.class, new RenderPig(this, new ModelPig(), 0.7F));
this.entityRenderMap.put(EntitySheep.class, new RenderSheep(this, new ModelSheep2(), 0.7F));
this.entityRenderMap.put(EntityCow.class, new RenderCow(this, new ModelCow(), 0.7F));
this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(this, new ModelCow(), 0.7F));
this.entityRenderMap.put(EntityWolf.class, new RenderWolf(this, new ModelWolf(), 0.5F));
this.entityRenderMap.put(EntityChicken.class, new RenderChicken(this, new ModelChicken(), 0.3F));
this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(this, new ModelOcelot(), 0.4F));
this.entityRenderMap.put(EntityRabbit.class, new RenderRabbit(this, new ModelRabbit(), 0.3F));
this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish(this));
this.entityRenderMap.put(EntityEndermite.class, new RenderEndermite(this));
this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper(this));
this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman(this));
this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan(this));
this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton(this));
this.entityRenderMap.put(EntityWitch.class, new RenderWitch(this));
this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze(this));
this.entityRenderMap.put(EntityPigZombie.class, new RenderPigZombie(this));
this.entityRenderMap.put(EntityZombie.class, new RenderZombie(this));
this.entityRenderMap.put(EntitySlime.class, new RenderSlime(this, new ModelSlime(16), 0.25F));
this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube(this));
this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(this, new ModelZombie(), 0.5F, 6.0F));
this.entityRenderMap.put(EntityGhast.class, new RenderGhast(this));
this.entityRenderMap.put(EntitySquid.class, new RenderSquid(this, new ModelSquid(), 0.7F));
this.entityRenderMap.put(EntityVillager.class, new RenderVillager(this));
this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem(this));
this.entityRenderMap.put(EntityBat.class, new RenderBat(this));
this.entityRenderMap.put(EntityGuardian.class, new RenderGuardian(this));
this.entityRenderMap.put(EntityDragon.class, new RenderDragon(this));
this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal(this));
this.entityRenderMap.put(EntityWither.class, new RenderWither(this));
this.entityRenderMap.put(Entity.class, new RenderEntity(this));
this.entityRenderMap.put(EntityPainting.class, new RenderPainting(this));
this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame(this, itemRendererIn));
this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot(this));
this.entityRenderMap.put(EntityArrow.class, new RenderArrow(this));
this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(this, Items.snowball, itemRendererIn));
this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(this, Items.ender_pearl, itemRendererIn));
this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(this, Items.ender_eye, itemRendererIn));
this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(this, Items.egg, itemRendererIn));
this.entityRenderMap.put(EntityPotion.class, new RenderPotion(this, itemRendererIn));
this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(this, Items.experience_bottle, itemRendererIn));
this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(this, Items.fireworks, itemRendererIn));
this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(this, 2.0F));
this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(this, 0.5F));
this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull(this));
this.entityRenderMap.put(EntityItem.class, new RenderEntityItem(this, itemRendererIn));
this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb(this));
this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed(this));
this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock(this));
this.entityRenderMap.put(EntityArmorStand.class, new ArmorStandRenderer(this));
this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart(this));
this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner(this));
this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart(this));
this.entityRenderMap.put(EntityBoat.class, new RenderBoat(this));
this.entityRenderMap.put(EntityFishHook.class, new RenderFish(this));
this.entityRenderMap.put(EntityHorse.class, new RenderHorse(this, new ModelHorse(), 0.75F));
this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt(this));
this.playerRenderer = new RenderPlayer(this);
this.skinMap.put("default", this.playerRenderer);
this.skinMap.put("slim", new RenderPlayer(this, true));
}
示例5: RenderManager
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
{
this.renderEngine = renderEngineIn;
this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider(this));
this.entityRenderMap.put(EntitySpider.class, new RenderSpider(this));
this.entityRenderMap.put(EntityPig.class, new RenderPig(this, new ModelPig(), 0.7F));
this.entityRenderMap.put(EntitySheep.class, new RenderSheep(this, new ModelSheep2(), 0.7F));
this.entityRenderMap.put(EntityCow.class, new RenderCow(this, new ModelCow(), 0.7F));
this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(this, new ModelCow(), 0.7F));
this.entityRenderMap.put(EntityWolf.class, new RenderWolf(this, new ModelWolf(), 0.5F));
this.entityRenderMap.put(EntityChicken.class, new RenderChicken(this, new ModelChicken(), 0.3F));
this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(this, new ModelOcelot(), 0.4F));
this.entityRenderMap.put(EntityRabbit.class, new RenderRabbit(this, new ModelRabbit(), 0.3F));
this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish(this));
this.entityRenderMap.put(EntityEndermite.class, new RenderEndermite(this));
this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper(this));
this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman(this));
this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan(this));
this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton(this));
this.entityRenderMap.put(EntityWitch.class, new RenderWitch(this));
this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze(this));
this.entityRenderMap.put(EntityPigZombie.class, new RenderPigZombie(this));
this.entityRenderMap.put(EntityZombie.class, new RenderZombie(this));
this.entityRenderMap.put(EntitySlime.class, new RenderSlime(this, new ModelSlime(16), 0.25F));
this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube(this));
this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(this, new ModelZombie(), 0.5F, 6.0F));
this.entityRenderMap.put(EntityGhast.class, new RenderGhast(this));
this.entityRenderMap.put(EntitySquid.class, new RenderSquid(this, new ModelSquid(), 0.7F));
this.entityRenderMap.put(EntityVillager.class, new RenderVillager(this));
this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem(this));
this.entityRenderMap.put(EntityBat.class, new RenderBat(this));
this.entityRenderMap.put(EntityGuardian.class, new RenderGuardian(this));
this.entityRenderMap.put(EntityDragon.class, new RenderDragon(this));
this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal(this));
this.entityRenderMap.put(EntityWither.class, new RenderWither(this));
this.entityRenderMap.put(Entity.class, new RenderEntity(this));
this.entityRenderMap.put(EntityPainting.class, new RenderPainting(this));
this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame(this, itemRendererIn));
this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot(this));
this.entityRenderMap.put(EntityArrow.class, new RenderArrow(this));
this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(this, Items.snowball, itemRendererIn));
this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(this, Items.ender_pearl, itemRendererIn));
this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(this, Items.ender_eye, itemRendererIn));
this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(this, Items.egg, itemRendererIn));
this.entityRenderMap.put(EntityPotion.class, new RenderPotion(this, itemRendererIn));
this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(this, Items.experience_bottle, itemRendererIn));
this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(this, Items.fireworks, itemRendererIn));
this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(this, 2.0F));
this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(this, 0.5F));
this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull(this));
this.entityRenderMap.put(EntityItem.class, new RenderEntityItem(this, itemRendererIn));
this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb(this));
this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed(this));
this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock(this));
this.entityRenderMap.put(EntityArmorStand.class, new ArmorStandRenderer(this));
this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart(this));
this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner(this));
this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart(this));
this.entityRenderMap.put(EntityBoat.class, new RenderBoat(this));
this.entityRenderMap.put(EntityFishHook.class, new RenderFish(this));
this.entityRenderMap.put(EntityHorse.class, new RenderHorse(this, new ModelHorse(), 0.75F));
this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt(this));
this.playerRenderer = new RenderPlayer(this);
this.skinMap.put("default", this.playerRenderer);
this.skinMap.put("slim", new RenderPlayer(this, true));
PlayerItemsLayer.register(this.skinMap);
if (Reflector.RenderingRegistry_loadEntityRenderers.exists())
{
Reflector.call(Reflector.RenderingRegistry_loadEntityRenderers, new Object[] {this.entityRenderMap});
}
}
示例6: makeModel
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public ModelBase makeModel()
{
return new ModelCow();
}
示例7: RenderMooshroom
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public RenderMooshroom(RenderManager p_i47200_1_)
{
super(p_i47200_1_, new ModelCow(), 0.7F);
this.addLayer(new LayerMooshroomMushroom(this));
}
示例8: getMainModel
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public ModelCow getMainModel()
{
return (ModelCow)super.getMainModel();
}
示例9: RenderCow
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public RenderCow(RenderManager p_i47210_1_)
{
super(p_i47210_1_, new ModelCow(), 0.7F);
}
示例10: RenderManager
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
{
this.renderEngine = renderEngineIn;
this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider(this));
this.entityRenderMap.put(EntitySpider.class, new RenderSpider(this));
this.entityRenderMap.put(EntityPig.class, new RenderPig(this, new ModelPig(), 0.7F));
this.entityRenderMap.put(EntitySheep.class, new RenderSheep(this, new ModelSheep2(), 0.7F));
this.entityRenderMap.put(EntityCow.class, new RenderCow(this, new ModelCow(), 0.7F));
this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(this, new ModelCow(), 0.7F));
this.entityRenderMap.put(EntityWolf.class, new RenderWolf(this, new ModelWolf(), 0.5F));
this.entityRenderMap.put(EntityChicken.class, new RenderChicken(this, new ModelChicken(), 0.3F));
this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(this, new ModelOcelot(), 0.4F));
this.entityRenderMap.put(EntityRabbit.class, new RenderRabbit(this, new ModelRabbit(), 0.3F));
this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish(this));
this.entityRenderMap.put(EntityEndermite.class, new RenderEndermite(this));
this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper(this));
this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman(this));
this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan(this));
this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton(this));
this.entityRenderMap.put(EntityWitch.class, new RenderWitch(this));
this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze(this));
this.entityRenderMap.put(EntityPigZombie.class, new RenderPigZombie(this));
this.entityRenderMap.put(EntityZombie.class, new RenderZombie(this));
this.entityRenderMap.put(EntitySlime.class, new RenderSlime(this, new ModelSlime(16), 0.25F));
this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube(this));
this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(this, new ModelZombie(), 0.5F, 6.0F));
this.entityRenderMap.put(EntityGhast.class, new RenderGhast(this));
this.entityRenderMap.put(EntitySquid.class, new RenderSquid(this, new ModelSquid(), 0.7F));
this.entityRenderMap.put(EntityVillager.class, new RenderVillager(this));
this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem(this));
this.entityRenderMap.put(EntityBat.class, new RenderBat(this));
this.entityRenderMap.put(EntityGuardian.class, new RenderGuardian(this));
this.entityRenderMap.put(EntityShulker.class, new RenderShulker(this, new ModelShulker()));
this.entityRenderMap.put(EntityPolarBear.class, new RenderPolarBear(this, new ModelPolarBear(), 0.7F));
this.entityRenderMap.put(EntityDragon.class, new RenderDragon(this));
this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal(this));
this.entityRenderMap.put(EntityWither.class, new RenderWither(this));
this.entityRenderMap.put(Entity.class, new RenderEntity(this));
this.entityRenderMap.put(EntityPainting.class, new RenderPainting(this));
this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame(this, itemRendererIn));
this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot(this));
this.entityRenderMap.put(EntityTippedArrow.class, new RenderTippedArrow(this));
this.entityRenderMap.put(EntitySpectralArrow.class, new RenderSpectralArrow(this));
this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(this, Items.SNOWBALL, itemRendererIn));
this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(this, Items.ENDER_PEARL, itemRendererIn));
this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(this, Items.ENDER_EYE, itemRendererIn));
this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(this, Items.EGG, itemRendererIn));
this.entityRenderMap.put(EntityPotion.class, new RenderPotion(this, itemRendererIn));
this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(this, Items.EXPERIENCE_BOTTLE, itemRendererIn));
this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(this, Items.FIREWORKS, itemRendererIn));
this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(this, 2.0F));
this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(this, 0.5F));
this.entityRenderMap.put(EntityDragonFireball.class, new RenderDragonFireball(this));
this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull(this));
this.entityRenderMap.put(EntityShulkerBullet.class, new RenderShulkerBullet(this));
this.entityRenderMap.put(EntityItem.class, new RenderEntityItem(this, itemRendererIn));
this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb(this));
this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed(this));
this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock(this));
this.entityRenderMap.put(EntityArmorStand.class, new RenderArmorStand(this));
this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart(this));
this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner(this));
this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart(this));
this.entityRenderMap.put(EntityBoat.class, new RenderBoat(this));
this.entityRenderMap.put(EntityFishHook.class, new RenderFish(this));
this.entityRenderMap.put(EntityAreaEffectCloud.class, new RenderAreaEffectCloud(this));
this.entityRenderMap.put(EntityHorse.class, new RenderHorse(this, new ModelHorse(), 0.75F));
this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt(this));
this.playerRenderer = new RenderPlayer(this);
this.skinMap.put("default", this.playerRenderer);
this.skinMap.put("slim", new RenderPlayer(this, true));
net.minecraftforge.fml.client.registry.RenderingRegistry.loadEntityRenderers(this, this.entityRenderMap);
}
示例11: RenderKillerCow
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public RenderKillerCow(ModelCow modelCow, float par2) {
super(modelCow, par2);
}
示例12: RenderCrystalCow
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public RenderCrystalCow(RenderManager renderManagerIn)
{
super(renderManagerIn, new ModelCow(), 0.7F);
this.addLayer(new LayerCrystalCowCrystals(this));
}
示例13: renderStuff
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public void renderStuff() {
RenderingRegistry.registerEntityRenderingHandler(EntitySteelSheep.class,new RenderSteelSheep(new ModelSSheep1(),new ModelSSheep2(),0.3F));
RenderingRegistry.registerEntityRenderingHandler(EntityCow.class,new RenderUprightCow(new ModelUprightCow(), new ModelCow(), 0.3F));
}
示例14: RenderUprightCow
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
public RenderUprightCow(ModelUprightCow p_i1262_1_, ModelCow cow, float p_i1262_2_) {
super(cow, p_i1262_2_);
cowModel = p_i1262_1_;
regularModel = cow;
}
示例15: RenderManager
import net.minecraft.client.model.ModelCow; //导入依赖的package包/类
private RenderManager()
{
this.entityRenderMap.put(EntityCaveSpider.class, new RenderCaveSpider());
this.entityRenderMap.put(EntitySpider.class, new RenderSpider());
this.entityRenderMap.put(EntityPig.class, new RenderPig(new ModelPig(), new ModelPig(0.5F), 0.7F));
this.entityRenderMap.put(EntitySheep.class, new RenderSheep(new ModelSheep2(), new ModelSheep1(), 0.7F));
this.entityRenderMap.put(EntityCow.class, new RenderCow(new ModelCow(), 0.7F));
this.entityRenderMap.put(EntityMooshroom.class, new RenderMooshroom(new ModelCow(), 0.7F));
this.entityRenderMap.put(EntityWolf.class, new RenderWolf(new ModelWolf(), new ModelWolf(), 0.5F));
this.entityRenderMap.put(EntityChicken.class, new RenderChicken(new ModelChicken(), 0.3F));
this.entityRenderMap.put(EntityOcelot.class, new RenderOcelot(new ModelOcelot(), 0.4F));
this.entityRenderMap.put(EntitySilverfish.class, new RenderSilverfish());
this.entityRenderMap.put(EntityCreeper.class, new RenderCreeper());
this.entityRenderMap.put(EntityEnderman.class, new RenderEnderman());
this.entityRenderMap.put(EntitySnowman.class, new RenderSnowMan());
this.entityRenderMap.put(EntitySkeleton.class, new RenderSkeleton());
this.entityRenderMap.put(EntityWitch.class, new RenderWitch());
this.entityRenderMap.put(EntityBlaze.class, new RenderBlaze());
this.entityRenderMap.put(EntityZombie.class, new RenderZombie());
this.entityRenderMap.put(EntitySlime.class, new RenderSlime(new ModelSlime(16), new ModelSlime(0), 0.25F));
this.entityRenderMap.put(EntityMagmaCube.class, new RenderMagmaCube());
this.entityRenderMap.put(EntityPlayer.class, new RenderPlayer());
this.entityRenderMap.put(EntityGiantZombie.class, new RenderGiantZombie(new ModelZombie(), 0.5F, 6.0F));
this.entityRenderMap.put(EntityGhast.class, new RenderGhast());
this.entityRenderMap.put(EntitySquid.class, new RenderSquid(new ModelSquid(), 0.7F));
this.entityRenderMap.put(EntityVillager.class, new RenderVillager());
this.entityRenderMap.put(EntityIronGolem.class, new RenderIronGolem());
this.entityRenderMap.put(EntityBat.class, new RenderBat());
this.entityRenderMap.put(EntityDragon.class, new RenderDragon());
this.entityRenderMap.put(EntityEnderCrystal.class, new RenderEnderCrystal());
this.entityRenderMap.put(EntityWither.class, new RenderWither());
this.entityRenderMap.put(Entity.class, new RenderEntity());
this.entityRenderMap.put(EntityPainting.class, new RenderPainting());
this.entityRenderMap.put(EntityItemFrame.class, new RenderItemFrame());
this.entityRenderMap.put(EntityLeashKnot.class, new RenderLeashKnot());
this.entityRenderMap.put(EntityArrow.class, new RenderArrow());
this.entityRenderMap.put(EntitySnowball.class, new RenderSnowball(Items.snowball));
this.entityRenderMap.put(EntityEnderPearl.class, new RenderSnowball(Items.ender_pearl));
this.entityRenderMap.put(EntityEnderEye.class, new RenderSnowball(Items.ender_eye));
this.entityRenderMap.put(EntityEgg.class, new RenderSnowball(Items.egg));
this.entityRenderMap.put(EntityPotion.class, new RenderSnowball(Items.potionitem, 16384));
this.entityRenderMap.put(EntityExpBottle.class, new RenderSnowball(Items.experience_bottle));
this.entityRenderMap.put(EntityFireworkRocket.class, new RenderSnowball(Items.fireworks));
this.entityRenderMap.put(EntityLargeFireball.class, new RenderFireball(2.0F));
this.entityRenderMap.put(EntitySmallFireball.class, new RenderFireball(0.5F));
this.entityRenderMap.put(EntityWitherSkull.class, new RenderWitherSkull());
this.entityRenderMap.put(EntityItem.class, new RenderItem());
this.entityRenderMap.put(EntityXPOrb.class, new RenderXPOrb());
this.entityRenderMap.put(EntityTNTPrimed.class, new RenderTNTPrimed());
this.entityRenderMap.put(EntityFallingBlock.class, new RenderFallingBlock());
this.entityRenderMap.put(EntityMinecartTNT.class, new RenderTntMinecart());
this.entityRenderMap.put(EntityMinecartMobSpawner.class, new RenderMinecartMobSpawner());
this.entityRenderMap.put(EntityMinecart.class, new RenderMinecart());
this.entityRenderMap.put(EntityBoat.class, new RenderBoat());
this.entityRenderMap.put(EntityFishHook.class, new RenderFish());
this.entityRenderMap.put(EntityHorse.class, new RenderHorse(new ModelHorse(), 0.75F));
this.entityRenderMap.put(EntityLightningBolt.class, new RenderLightningBolt());
Iterator var1 = this.entityRenderMap.values().iterator();
while (var1.hasNext())
{
Render var2 = (Render)var1.next();
var2.setRenderManager(this);
}
}