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); }
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)); }
@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")); }
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())); }
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); } }); }
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); }
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); } }); }
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); } }); }
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); }
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); } }); }
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); } }); }
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); }
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); } }); }
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); } }); }
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); }
public RenderBas(RenderManager renderManagerIn) { super(renderManagerIn, new ModelSkeleton(), 0.5F); // this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerBipedArmor(this) { protected void initArmor() { this.modelLeggings = new ModelZombie(0.5F, true); this.modelArmor = new ModelZombie(0.5F, true); } }); }
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()); }
@Override public void registerRenderThings() { ClientRegistry.bindTileEntitySpecialRenderer(TileEntityLectern.class, new RenderTileEntityLectern()); ClientRegistry.bindTileEntitySpecialRenderer(TileEntityLecternOpen.class, new RenderTileEntityLecternOpen()); FMLCommonHandler.instance().bus().register(mod_Rediscovered.c); ModelBakery.addVariantName(mod_Rediscovered.RediscoveredPotion, "rediscovered:RediscoveredPotion_Nausea", "rediscovered:RediscoveredPotion_Blindness", "rediscovered:RediscoveredPotion_Dullness", "rediscovered:RediscoveredPotion_NauseaSplash", "rediscovered:RediscoveredPotion_BlindnessSplash", "rediscovered:RediscoveredPotion_DullnessSplash"); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityRana.class, new RenderMD3(false, "/mcexport01.MD3", mod_Rediscovered.rana)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntitySteve.class, new EntitySteve.RenderMD3Steve(mod_Rediscovered.anmen, "/Steve.MD3", mod_Rediscovered.steve )); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityBlackSteve.class, new EntityBlackSteve.RenderMD3Steve(mod_Rediscovered.anmen, "/Steve.MD3", mod_Rediscovered.blacksteve )); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityBeastBoy.class, new EntityBeastBoy.RenderMD3Steve(mod_Rediscovered.anmen, "/Steve.MD3", mod_Rediscovered.beastboy )); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityPigman.class, new RenderPigman(Minecraft.getMinecraft().getRenderManager(), new ModelBiped(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityMeleePigman.class, new RenderPigman(Minecraft.getMinecraft().getRenderManager(), new ModelBiped(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityRangedPigman.class, new RenderPigman(Minecraft.getMinecraft().getRenderManager(), new ModelRangedPigman(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityGreenVillager.class, new RenderGreenVillager(Minecraft.getMinecraft().getRenderManager())); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntitySkyChicken.class, new RenderSkyChicken(Minecraft.getMinecraft().getRenderManager(), new ModelSkyChicken(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityFish.class, new RenderFishMob(Minecraft.getMinecraft().getRenderManager(), new ModelFish(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityZombieHorse.class, new RenderZombieHorse(Minecraft.getMinecraft().getRenderManager(), new ModelZombieHorse(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntitySkeletonHorse.class, new RenderSkeletonHorse(Minecraft.getMinecraft().getRenderManager(), new ModelSkeletonHorse(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityGoodDragon.class, new RenderRedDragon(Minecraft.getMinecraft().getRenderManager())); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityParrow.class, new RenderParrow(Minecraft.getMinecraft().getRenderManager())); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityGiant.class, new RenderGiant(Minecraft.getMinecraft().getRenderManager(), new ModelZombie(), 0.5F, 6.0F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityScarecrow.class, new RenderScarecrow(Minecraft.getMinecraft().getRenderManager(), new ModelScarecrow(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(com.stormister.rediscovered.EntityRediscoveredPotion.class, new RenderRediscoveredPotion(Minecraft.getMinecraft().getRenderManager(), Minecraft.getMinecraft().getRenderItem())); }
protected void func_82421_b() { this.field_82423_g = new ModelZombie(1.0F, true); this.field_82425_h = new ModelZombie(0.5F, true); this.field_82437_k = this.field_82423_g; this.field_82435_l = this.field_82425_h; this.field_82436_m = new ModelZombieVillager(1.0F, 0.0F, true); this.field_82433_n = new ModelZombieVillager(0.5F, 0.0F, true); }
@Override public void preInit(FMLPreInitializationEvent event) { super.preInit(event); RenderingRegistry.registerEntityRenderingHandler(EntityLawyer.class, new RenderLawyer(new ModelZombie(), 0.5F)); RenderingRegistry.registerEntityRenderingHandler(EntityNukePrimed.class, new RenderNukePrimed()); }
@Override protected void func_82421_b() { this.field_82423_g = new ModelZombie(1.0F, true); this.field_82425_h = new ModelZombie(0.5F, true); this.field_82437_k = this.field_82423_g; this.field_82435_l = this.field_82425_h; this.field_82436_m = new ModelZombieVillager(1.0F, 0.0F, true); this.field_82433_n = new ModelZombieVillager(0.5F, 0.0F, true); }
public RenderAbyssalZombie(RenderManager manager) { super(manager, new ModelZombie(0.0F, true), 0.5F); addLayer(new LayerBipedArmor(this) { @Override protected void initArmor() { modelLeggings = new ModelZombie(0.5F, true); modelArmor = new ModelZombie(1.0F, true); } }); }
public RenderDreadguard(RenderManager manager) { super(manager, new ModelZombie(), 0.5F); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { @Override protected void initArmor() { modelLeggings = new ModelZombie(0.5F, true); modelArmor = new ModelZombie(1.0F, true); } }; this.addLayer(layerbipedarmor); }
public RenderAntiAbyssalZombie(RenderManager manager) { super(manager, new ModelZombie(0.0F, true), 0.5F); addLayer(new LayerBipedArmor(this) { @Override protected void initArmor() { modelLeggings = new ModelZombie(0.5F, true); modelArmor = new ModelZombie(1.0F, true); } }); }
public RenderAntiZombie(RenderManager manager) { super(manager, new ModelZombie(), 0.5F); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { @Override protected void initArmor() { modelLeggings = new ModelZombie(0.5F, true); modelArmor = new ModelZombie(1.0F, true); } }; this.addLayer(layerbipedarmor); }