Block block = world.getBlock(xPos, yPos, zPos);</BUG>
if (block == null) {
return ColorUtils.ColorMeta.BLACK.bitmask; // Default black -- same as air.
} else {
int color = block.getMapColor(block.getDamageValue(world, xPos, yPos, zPos)).colorValue;
<BUG>Integer cached = COLOR_CACHE.get(color);
if (cached != null) {
return cached;
}</BUG>
RGB rgb = new RGB(color);

if (block == null || world.isAirBlock(xPos, yPos, zPos)) return "AIR";
else if (block.getMaterial().isLiquid()) return "LIQUID";
else if (block.getMaterial().isSolid()) return "SOLID";
else return "UNKNOWN";
}
private static int getBlockColorBitmask(World world, Block block, int xPos, int yPos, int zPos) {
if (block == null) {
return ColorUtils.ColorMeta.BLACK.bitmask; // Default black -- same as air.
} else {
int color = block.getMapColor(block.getDamageValue(world, xPos, yPos, zPos)).colorValue;
Integer cached = COLOR_CACHE.get(color);
if (cached != null) return cached;
RGB rgb = new RGB(color);
