Finish Hex Blocks (Fixes #98). Change block class names (warlordjones).

Fix items not loading
This commit is contained in:
tterrag1098 committed 2015-01-08 18:34:47 -05:00
1 parent fbbe24152c
commit 89ed8e94ac
21 files changed
+104 -96

No files matched your search

@@ -6,7 +6,7 @@ import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.cricketcraft.chisel.block.BlockMarbleStairs;
import com.cricketcraft.chisel.block.BlockCarvableStairs;
import com.cricketcraft.chisel.utils.Drawing;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
@@ -31,9 +31,9 @@ public class BlockMarbleStairsRenderer implements ISimpleBlockRenderingHandler {
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block blck, int modelId, RenderBlocks renderer) {
if (blck == null || !(blck instanceof BlockMarbleStairs))
if (blck == null || !(blck instanceof BlockCarvableStairs))
return false;
BlockMarbleStairs block = (BlockMarbleStairs) blck;
BlockCarvableStairs block = (BlockCarvableStairs) blck;
renderer.renderBlockStairs(block, x, y, z);
@@ -27,6 +27,7 @@ import com.cricketcraft.chisel.Chisel;
import com.cricketcraft.chisel.block.tileentity.TileEntityAutoChisel;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -127,6 +128,8 @@ public class RenderAutoChisel extends TileEntitySpecialRenderer implements ISimp
private final RenderItem renderTargetAndChisel, renderBase;
public RenderAutoChisel() {
Chisel.renderAutoChiselId = RenderingRegistry.getNextAvailableRenderId();
renderTargetAndChisel = new RenderItem() {
@Override