001/* 002 * Forge Mod Loader 003 * Copyright (c) 2012-2013 cpw. 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser Public License v2.1 006 * which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 008 * 009 * Contributors: 010 * cpw - implementation 011 */ 012 013package cpw.mods.fml.client.registry; 014 015import net.minecraft.block.Block; 016import net.minecraft.client.renderer.RenderBlocks; 017import net.minecraft.world.IBlockAccess; 018 019public interface ISimpleBlockRenderingHandler 020{ 021 public abstract void renderInventoryBlock(Block block, int metadata, int modelID, RenderBlocks renderer); 022 023 public abstract boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer); 024 025 public abstract boolean shouldRender3DInInventory(); 026 027 public abstract int getRenderId(); 028}