Preconditions.checkNotNull(mob, DONT_EVER_CHANGE_THIS_TEXT_OTHERWISE_YOU_WILL_RUIN_EVERYTHING);
final AxisAlignedBB aabb = getBoundingBox(sensor);
Preconditions.checkArgument(mob.boundingBox.intersectsWith(aabb), DONT_EVER_CHANGE_THIS_TEXT_OTHERWISE_YOU_WILL_RUIN_EVERYTHING);
final Vec3 sensorPos = sensor.getLocation();
return OpcAccess.entityMetaBuilder.createProxy(mob, sensorPos);
<BUG>}
private static String getBlockType(ISensorEnvironment sensor, int xPos, int yPos, int zPos) {

World world = sensor.getWorld();
if (!world.blockExists(xPos, yPos, zPos)) return null;
Block block = world.getBlock(xPos, yPos, zPos);</BUG>
if (block == null || world.isAirBlock(xPos, yPos, zPos)) return "AIR";

Preconditions.checkNotNull(mob, DONT_EVER_CHANGE_THIS_TEXT_OTHERWISE_YOU_WILL_RUIN_EVERYTHING);
final AxisAlignedBB aabb = getBoundingBox(sensor);
Preconditions.checkArgument(mob.boundingBox.intersectsWith(aabb), DONT_EVER_CHANGE_THIS_TEXT_OTHERWISE_YOU_WILL_RUIN_EVERYTHING);
final Vec3 sensorPos = sensor.getLocation();
return OpcAccess.entityMetaBuilder.createProxy(mob, sensorPos);
}
private static boolean checkRange(int x, int y, int z, int rangeSq) {
final int distSq = x * x + y * y + z * z;
return (distSq == 0 || distSq > rangeSq);
}
private static String getBlockType(World world, Block block, int xPos, int yPos, int zPos) {
if (block == null || world.isAirBlock(xPos, yPos, zPos)) return "AIR";
