net.minecraft.client.renderer.entity.RenderSnowball Java Examples

The following examples show how to use net.minecraft.client.renderer.entity.RenderSnowball. 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: ClientProxy.java    From Chisel with GNU General Public License v2.0 6 votes vote down vote up
@Override
public void init()
{
    RenderingRegistry.registerBlockHandler(new BlockMarbleStairsRenderer());
    RenderingRegistry.registerBlockHandler(new BlockMarblePaneRenderer());
    RenderingRegistry.registerBlockHandler(new BlockRoadLineRenderer());
    RenderingRegistry.registerBlockHandler(new BlockSnakeStoneRenderer());
    RenderingRegistry.registerBlockHandler(new BlockNoCTMRenderer());
    RenderingRegistry.registerBlockHandler(new BlockSpikesRenderer());
    RenderingRegistry.registerBlockHandler(new BlockMarblePillarRenderer());
    RenderingRegistry.registerBlockHandler(new BlockEldritchRenderer());
    RenderingRegistry.registerBlockHandler(new BlockAdvancedMarbleRenderer());
    RenderingRegistry.registerBlockHandler(new BlockCarpetRenderer());

    RenderingRegistry.registerBlockHandler(new BlockTexturedOreRenderer());

    RenderingRegistry.registerEntityRenderingHandler(EntityCloudInABottle.class, new RenderSnowball(Chisel.itemCloudInABottle));
    RenderingRegistry.registerEntityRenderingHandler(EntityBallOMoss.class, new RenderSnowball(Chisel.itemBallOMoss));

    MinecraftForgeClient.registerItemRenderer(Chisel.chisel, renderer);
}
 
Example #2
Source File: ClientProxy.java    From Chisel-2 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void init() {
	RenderingRegistry.registerBlockHandler(new RendererCTM());
	RenderingRegistry.registerBlockHandler(new RendererStairs());
	RenderingRegistry.registerBlockHandler(new RendererCTMPane());
	RenderingRegistry.registerBlockHandler(new RendererRoadLine());
	RenderingRegistry.registerBlockHandler(new RendererSnakeStone());
	RenderingRegistry.registerBlockHandler(new RendererEldritch());
	RenderingRegistry.registerBlockHandler(new RendererLayeredGlow());
	RenderingRegistry.registerBlockHandler(new RendererSimpleLayered());
	
	RenderingRegistry.registerBlockHandler(new RendererMultiLayer());

	RenderAutoChisel rac = new RenderAutoChisel();
	RenderingRegistry.registerBlockHandler(rac);
	MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ChiselBlocks.autoChisel), rac);
	ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAutoChisel.class, rac);
	
	RenderCarvableBeacon rcb = new RenderCarvableBeacon();
	ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCarvableBeacon.class, rcb);
	RenderingRegistry.registerBlockHandler(rcb);
	BlockCarvableBeacon.renderId = rcb.getRenderId();
	
	RenderPresent rp = new RenderPresent();
	MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ChiselBlocks.present), rp);
	ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPresent.class, rp);

	RenderingRegistry.registerEntityRenderingHandler(EntityCloudInABottle.class, new RenderSnowball(ChiselItems.cloudinabottle));
	RenderingRegistry.registerEntityRenderingHandler(EntityBallOMoss.class, new RenderSnowball(ChiselItems.ballomoss));
	RenderingRegistry.registerEntityRenderingHandler(EntitySmashingRock.class, new RenderSnowball(ChiselItems.smashingrock));
       RenderingRegistry.registerEntityRenderingHandler(EntityChiselSnowman.class, new RenderChiselSnowman());

	MinecraftForgeClient.registerItemRenderer(ChiselItems.chisel, renderer);
	MinecraftForgeClient.registerItemRenderer(ChiselItems.diamondChisel, renderer);

	PlayerSpecials.init();
}
 
Example #3
Source File: WRAddonClientProxy.java    From WirelessRedstone with MIT License 5 votes vote down vote up
@Override
public void init() {
    super.init();
    ClientUtils.enhanceSupportersList("WR-CBE|Addons");

    WRCoreCPH.delegates.add(new WRAddonCPH());

    GuiWirelessSniffer.loadColours(SaveManager.config().getTag("addon"));
    MinecraftForgeClient.registerItemRenderer(tracker, new RenderTracker());
    MinecraftForgeClient.registerItemRenderer(wirelessMap, new WirelessMapRenderer());

    RenderingRegistry.registerEntityRenderingHandler(EntityREP.class, new RenderSnowball(rep));
    RenderingRegistry.registerEntityRenderingHandler(EntityWirelessTracker.class, new RenderTracker());
}