@Override public boolean overrideBlock(Block block, CustomBlock customBlock) { block.setTypeId(customBlock.getRawId()); return overrideBlock(block, customBlock.getCustomID(), customBlock.getCustomMetaData()); }
public ItemStack getCustomItemStack(CustomBlock block, int size) { return new ItemStack(block.getRawId(), size, (short) block.getCustomID()); }