net.minecraftforge.fml.client.registry.IRenderFactory Java Examples
The following examples show how to use
net.minecraftforge.fml.client.registry.IRenderFactory.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EntityRainbowKing.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityRainbowKing.class, new IRenderFactory<EntityRainbowKing>() { @Override public Render<? super EntityRainbowKing> createRenderFor(RenderManager manager) { return new RenderRainbowKing(manager); } }); }
Example #2
Source File: EntityShopkeeper.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityShopkeeper.class, new IRenderFactory<EntityShopkeeper>() { @Override public Render<EntityShopkeeper> createRenderFor(RenderManager manager) { return new RenderShopkeeper(manager); } }); }
Example #3
Source File: EntityVillageLord.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityVillageLord.class, new IRenderFactory<EntityVillageLord>() { @Override public Render<EntityVillageLord> createRenderFor(RenderManager manager) { return new RenderVillageLord(manager); } }); }
Example #4
Source File: EntityVampireBat.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityVampireBat.class, new IRenderFactory<EntityVampireBat>() { @Override public Render<EntityVampireBat> createRenderFor(RenderManager manager) { return new RenderVampireBat(manager); } }); }
Example #5
Source File: EntityFugitive.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityFugitive.class, new IRenderFactory<EntityFugitive>() { @Override public Render<EntityFugitive> createRenderFor(RenderManager manager) { return new RenderFugitive(manager); } }); }
Example #6
Source File: ToroQuestEntityRenders.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerMageRenderer() { RenderingRegistry.registerEntityRenderingHandler(EntityMage.class, new IRenderFactory<EntityMage>() { @Override public Render<EntityMage> createRenderFor(RenderManager manager) { return new RenderMage(manager); } }); }
Example #7
Source File: ToroQuestEntityRenders.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerMonolithEyeRenderer() { RenderingRegistry.registerEntityRenderingHandler(EntityMonolithEye.class, new IRenderFactory<EntityMonolithEye>() { @Override public Render<EntityMonolithEye> createRenderFor(RenderManager manager) { return new RenderMonolithEye(manager); } }); }
Example #8
Source File: EntitySentry.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntitySentry.class, new IRenderFactory<EntitySentry>() { @Override public Render<EntitySentry> createRenderFor(RenderManager manager) { return new RenderSentry(manager); } }); }
Example #9
Source File: EntityGuard.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityGuard.class, new IRenderFactory<EntityGuard>() { @Override public Render<EntityGuard> createRenderFor(RenderManager manager) { return new RenderGuard(manager); } }); }
Example #10
Source File: EntityBas.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityBas.class, new IRenderFactory<EntityBas>() { @Override public Render<EntityBas> createRenderFor(RenderManager manager) { return new RenderBas(manager); } }); }
Example #11
Source File: EntityRainbowGuard.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityRainbowGuard.class, new IRenderFactory<EntityRainbowGuard>() { @Override public Render<EntityRainbowGuard> createRenderFor(RenderManager manager) { return new RenderRainbowGuard(manager); } }); }
Example #12
Source File: EntityToro.java From ToroQuest with GNU General Public License v3.0 | 5 votes |
public static void registerRenders() { RenderingRegistry.registerEntityRenderingHandler(EntityToro.class, new IRenderFactory<EntityToro>() { @Override public Render<EntityToro> createRenderFor(RenderManager manager) { return new RenderToro(manager, new ModelToro(), 0.7F); } }); }
Example #13
Source File: BlockyEntities.java From CommunityMod with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void registerModels(ModelRegistryEvent event) { RenderingRegistry.registerEntityRenderingHandler(BaseVehicleEntity.class, new IRenderFactory<BaseVehicleEntity>(){public Render<BaseVehicleEntity> createRenderFor(RenderManager manager) {return new BaseVehicleRender(manager);}}); ClientUtil.simpleItemModel(Item.getItemFromBlock(shipCore)); }
Example #14
Source File: ClientProxy.java From AdvancedRocketry with MIT License | 4 votes |
@Override public void registerRenderers() { ClientRegistry.bindTileEntitySpecialRenderer(TileRocketBuilder.class, new RendererRocketBuilder()); //ClientRegistry.bindTileEntitySpecialRenderer(TileModelRender.class, modelBlock); ClientRegistry.bindTileEntitySpecialRenderer(TilePrecisionAssembler.class, new RendererPrecisionAssembler()); ClientRegistry.bindTileEntitySpecialRenderer(TileCuttingMachine.class, new RendererCuttingMachine()); ClientRegistry.bindTileEntitySpecialRenderer(TileCrystallizer.class, new RendererCrystallizer()); ClientRegistry.bindTileEntitySpecialRenderer(TileObservatory.class, new RendererObservatory()); ClientRegistry.bindTileEntitySpecialRenderer(TileAstrobodyDataProcessor.class, new RenderPlanetAnalyser()); ClientRegistry.bindTileEntitySpecialRenderer(TileLathe.class, new RendererLathe()); ClientRegistry.bindTileEntitySpecialRenderer(TileRollingMachine.class, new RendererRollingMachine()); ClientRegistry.bindTileEntitySpecialRenderer(TileElectrolyser.class, new RendererElectrolyser()); ClientRegistry.bindTileEntitySpecialRenderer(TileWarpCore.class, new RendererWarpCore()); ClientRegistry.bindTileEntitySpecialRenderer(TileChemicalReactor.class, new RendererChemicalReactor("advancedrocketry:models/ChemicalReactor.obj", "advancedrocketry:textures/models/ChemicalReactor.png")); ClientRegistry.bindTileEntitySpecialRenderer(TileSchematic.class, new RendererPhantomBlock()); //ClientRegistry.bindTileEntitySpecialRenderer(TileDrill.class, new RendererDrill()); ClientRegistry.bindTileEntitySpecialRenderer(TileLiquidPipe.class, new RendererPipe(new ResourceLocation("AdvancedRocketry:textures/blocks/pipeLiquid.png"))); ClientRegistry.bindTileEntitySpecialRenderer(TileDataPipe.class, new RendererPipe(new ResourceLocation("AdvancedRocketry:textures/blocks/pipeData.png"))); ClientRegistry.bindTileEntitySpecialRenderer(TileEnergyPipe.class, new RendererPipe(new ResourceLocation("AdvancedRocketry:textures/blocks/pipeEnergy.png"))); ClientRegistry.bindTileEntitySpecialRenderer(TileMicrowaveReciever.class, new RendererMicrowaveReciever()); ClientRegistry.bindTileEntitySpecialRenderer(TileSpaceLaser.class, new RenderLaserTile()); ClientRegistry.bindTileEntitySpecialRenderer(TileBiomeScanner.class, new RenderBiomeScanner()); ClientRegistry.bindTileEntitySpecialRenderer(TileAtmosphereTerraformer.class, new RenderTerraformerAtm()); ClientRegistry.bindTileEntitySpecialRenderer(TileFluidTank.class, new RenderTank()); ClientRegistry.bindTileEntitySpecialRenderer(zmaster587.advancedRocketry.tile.multiblock.TileSpaceLaser.class, new zmaster587.advancedRocketry.client.render.multiblocks.RenderLaser()); ClientRegistry.bindTileEntitySpecialRenderer(zmaster587.advancedRocketry.tile.multiblock.TileRailgun.class, new zmaster587.advancedRocketry.client.render.multiblocks.RendererRailgun()); ClientRegistry.bindTileEntitySpecialRenderer(zmaster587.advancedRocketry.tile.multiblock.TileGravityController.class, new zmaster587.advancedRocketry.client.render.multiblocks.RenderGravityMachine()); ClientRegistry.bindTileEntitySpecialRenderer(zmaster587.advancedRocketry.tile.multiblock.TileSpaceElevator.class, new zmaster587.advancedRocketry.client.render.multiblocks.RendererSpaceElevator()); ClientRegistry.bindTileEntitySpecialRenderer(zmaster587.advancedRocketry.tile.multiblock.TileBeacon.class, new zmaster587.advancedRocketry.client.render.multiblocks.RenderBeacon()); //ClientRegistry.bindTileEntitySpecialRenderer(TileModelRenderRotatable.class, modelBlock); //RendererModelBlock blockRenderer = new RendererModelBlock(); //RendererBucket bucket = new RendererBucket(); //MinecraftForgeClient.registerItemRenderer(AdvancedRocketryItems.itemBucketRocketFuel, bucket); //MinecraftForgeClient.registerItemRenderer(AdvancedRocketryItems.itemBucketNitrogen, bucket); //MinecraftForgeClient.registerItemRenderer(AdvancedRocketryItems.itemBucketHydrogen, bucket); //MinecraftForgeClient.registerItemRenderer(AdvancedRocketryItems.itemBucketOxygen, bucket); RenderingRegistry.registerEntityRenderingHandler(EntityRocket.class, (IRenderFactory<EntityRocket>)new RendererRocket(null)); RenderingRegistry.registerEntityRenderingHandler(EntityLaserNode.class, (IRenderFactory<EntityLaserNode>)new RenderLaser(2.0, new float[] {1F, 0.25F, 0.25F, 0.2F}, new float[] {0.9F, 0.2F, 0.3F, 0.5F})); RenderingRegistry.registerEntityRenderingHandler(EntityItemAbducted.class, (IRenderFactory<EntityItemAbducted>)new RendererItem(Minecraft.getMinecraft().getRenderManager(), Minecraft.getMinecraft().getRenderItem())); RenderingRegistry.registerEntityRenderingHandler(EntityUIPlanet.class, (IRenderFactory<EntityUIPlanet>)new RenderPlanetUIEntity(null)); RenderingRegistry.registerEntityRenderingHandler(EntityUIButton.class, (IRenderFactory<EntityUIButton>)new RenderButtonUIEntity(null)); RenderingRegistry.registerEntityRenderingHandler(EntityUIStar.class, (IRenderFactory<EntityUIStar>)new RenderStarUIEntity(null)); RenderingRegistry.registerEntityRenderingHandler(EntityElevatorCapsule.class, (IRenderFactory<EntityElevatorCapsule>)new RenderElevatorCapsule(null)); }