blockName = input.substring(0, splitIndex);
blockData = Integer.parseInt(input.substring(splitIndex + 1));
}
// Get the material belonging to the block and data
Block block = Block.b(blockName);
if (block != null)
{
return BukkitMaterialData.ofMinecraftBlock(block, blockData);
}
DefaultMaterial defaultMaterial = DefaultMaterial.getMaterial(blockName);