mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-30 20:39:21 +00:00
Fix jigsaw save locations
This commit is contained in:
@@ -42,7 +42,7 @@ public class DirectWorldWriter {
|
||||
|
||||
for(Long i : new KList<>(writeBuffer.keySet()))
|
||||
{
|
||||
if(M.ms() - lastUse.get(i) < 5000)
|
||||
if(M.ms() - lastUse.get(i) < 10000)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -239,6 +239,7 @@ public class DirectWorldWriter {
|
||||
if(f.exists())
|
||||
{
|
||||
try {
|
||||
Iris.warn("HAD TO LOAD MCA REGION FILE " + x + " " + z + " which is EXPENSIVE!");
|
||||
mca = MCAUtil.read(f);
|
||||
try
|
||||
{
|
||||
|
||||
@@ -202,6 +202,7 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer
|
||||
RNG rng = new RNG(Cache.key(x, z)).nextParallelRNG(getEngine().getTarget().getWorld().getSeed());
|
||||
IrisRegion region = getComplex().getRegionStream().get(x+8, z+8);
|
||||
IrisBiome biome = getComplex().getTrueBiomeStream().get(x+8, z+8);
|
||||
// generateParallaxJigsaw(rng, x, z, biome, placedObjects);
|
||||
generateParallaxSurface(rng, x, z, biome, placedObjects);
|
||||
generateParallaxMutations(rng, x, z, placedObjects);
|
||||
generateStructures(rng, x>>4, z>>4, region, biome, placedObjects);
|
||||
@@ -270,7 +271,6 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer
|
||||
default void generateParallaxSurface(RNG rng, int x, int z, IrisBiome biome, KList<PlacedObject> objects) {
|
||||
for (IrisObjectPlacement i : biome.getSurfaceObjects())
|
||||
{
|
||||
Iris.info("Found Placement: " + i.getPlace());
|
||||
if(rng.chance(i.getChance()))
|
||||
{
|
||||
place(rng, x, z, i, objects);
|
||||
|
||||
Reference in New Issue
Block a user