Carpet

Carpet

2M Downloads

As of 22w07a (mod version 1.4.61), `sample_noise` always returns null, despite what the documentation says.

James103 opened this issue ยท 2 comments

commented

@ScarpetFunction(maxParams = -1)
public Value sample_noise(Context c, @Locator.Block BlockPos pos, String... noiseQueries) {
return Value.NULL;

Exactly as the title says.

According to the documentation, the function should return (one or more properties of the) noise map at a given location.

commented

It was mentioned in the release, but it hasn't been fixed yet. I don't think it was expected to be disabled for so long, that's why docs weren't changed.

commented

Resolved given sample_noise has now been replaced by compute_density_function in f2c658b