[Change] RandomSpreadStructurePlacement salt calculation
This commit is contained in:
parent
ae5b3e1417
commit
f83648a099
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
package org.betterx.bclib.world.structures;
|
package org.betterx.bclib.world.structures;
|
||||||
|
|
||||||
import org.betterx.bclib.api.v2.levelgen.structures.BCLStructureBuilder;
|
import org.betterx.bclib.api.v2.levelgen.structures.BCLStructureBuilder;
|
||||||
import org.betterx.bclib.util.MHelper;
|
|
||||||
import org.betterx.worlds.together.tag.v3.TagManager;
|
import org.betterx.worlds.together.tag.v3.TagManager;
|
||||||
|
|
||||||
import com.mojang.serialization.Codec;
|
import com.mojang.serialization.Codec;
|
||||||
|
@ -102,7 +101,7 @@ public class BCLStructure<S extends Structure> extends org.betterx.bclib.api.v2.
|
||||||
spacing,
|
spacing,
|
||||||
separation,
|
separation,
|
||||||
RandomSpreadType.LINEAR,
|
RandomSpreadType.LINEAR,
|
||||||
MHelper.RANDOM.nextInt(8192)
|
id.toString().hashCode()
|
||||||
), codec, biomeTag, TerrainAdjustment.NONE);
|
), codec, biomeTag, TerrainAdjustment.NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue