public IMetaProviderProxy getPlayerByUUID(ISensorEnvironment env,
@Arg(name = "uuid", description = "The players uuid") UUID uuid) {
return getPlayerInfo(env, uuid);
}
@ScriptCallable(returnTypes = ReturnType.TABLE, description = "Get a table of information about the surrounding area. Includes map color and whether each block is UNKNOWN, AIR, LIQUID, or SOLID.")
<BUG>public Map<Integer, Map<String, Object>> sonicScan(ISensorEnvironment env) {
</BUG>
int range = 1 + env.getSensorRange() / 2;
<BUG>Map<Integer, Map<String, Object>> results = Maps.newHashMap();
Vec3 sensorPos = env.getLocation();</BUG>
int sx = MathHelper.floor_double(sensorPos.xCoord);

public IMetaProviderProxy getPlayerByUUID(ISensorEnvironment env,
@Arg(name = "uuid", description = "The players uuid") UUID uuid) {
return getPlayerInfo(env, uuid);
}
@ScriptCallable(returnTypes = ReturnType.TABLE, description = "Get a table of information about the surrounding area. Includes map color and whether each block is UNKNOWN, AIR, LIQUID, or SOLID.")
public List<Map<String, Object>> sonicScan(ISensorEnvironment env) {
int range = 1 + env.getSensorRange() / 2;
List<Map<String, Object>> results = Lists.newArrayList();
Vec3 sensorPos = env.getLocation();
int sx = MathHelper.floor_double(sensorPos.xCoord);
