Posted February 20, 201510 yr I just created my own BlockContainer. Problem is, it is'nt rendering. If I make my block extend Block it's rendering fine, when I put BlockContainer it refuses to render. public class BlockBase extends BlockContainer{ public BlockBase() { super(Material.iron); setUnlocalizedName("blockbase"); setCreativeTab(CreativeTabs.tabBlock); } @Override public TileEntity createNewTileEntity(World worldIn, int meta) { return new TileEntityBase(); } Link to the image http://www.directupload.net/file/d/3904/jjzj537h_png.htm Any help would be appreciated. Greetz Fail
February 20, 201510 yr Block container default render type is -1 while block is 3 so if you want to render it you need to override get render type and set it to 3 Did you really need to know?
February 20, 201510 yr Author works excellent. thank you again diesieben007. also fixxed some other strange bugs i had with tileentities!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.