mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-30 04:29:05 +00:00
Iris doesnt need worlds anymore
This commit is contained in:
@@ -137,6 +137,10 @@ public class IrisDimension extends IrisRegistrant
|
||||
@DontObfuscate
|
||||
@Desc("Carve terrain or not")
|
||||
private boolean carving = true;
|
||||
|
||||
@DontObfuscate
|
||||
@Desc("Generate vanilla caves")
|
||||
private boolean vanillaCaves = false;
|
||||
|
||||
@DontObfuscate
|
||||
@Desc("Generate vanilla structures")
|
||||
|
||||
@@ -76,9 +76,9 @@ public class IrisEntitySpawn
|
||||
return null;
|
||||
}
|
||||
|
||||
if(rng.aquire(() -> new RNG(g.getWorld().getSeed() + 4)).i(1, getRarity()) == 1)
|
||||
if(rng.aquire(() -> new RNG(g.getTarget().getSeed() + 4)).i(1, getRarity()) == 1)
|
||||
{
|
||||
return getRealEntity(g).spawn(g, at, rng.aquire(() -> new RNG(g.getWorld().getSeed() + 4)));
|
||||
return getRealEntity(g).spawn(g, at, rng.aquire(() -> new RNG(g.getTarget().getSeed() + 4)));
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user