Accept new bytes Bukkit API8 code example Example: get material of block bukkit Material blockMaterial = Block.getType();