[Fix] Pos calculation for Sky Filalux Feature (#86)
This commit is contained in:
parent
adb9f00a15
commit
a7d00094d5
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public abstract class SkyScatterFeature extends ScatterFeature<ScatterFeatureCon
|
||||||
return new BlockPos(pos.getX(), MHelper.randRange(32, 192, world.getRandom()), pos.getZ());
|
return new BlockPos(pos.getX(), MHelper.randRange(32, 192, world.getRandom()), pos.getZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean getGroundPlant(WorldGenLevel world, MutableBlockPos pos) {
|
protected boolean getGroundPlant(ScatterFeatureConfig cfg, WorldGenLevel world, MutableBlockPos pos) {
|
||||||
pos.setY(pos.getY() + MHelper.randRange(-getYOffset(), getYOffset(), world.getRandom()));
|
pos.setY(pos.getY() + MHelper.randRange(-getYOffset(), getYOffset(), world.getRandom()));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue