mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-27 11:09:06 +00:00
Random variable tweaks & opts
This commit is contained in:
@@ -81,15 +81,6 @@ public class IrisBiomeActuator extends EngineAssignedActuator<Biome> {
|
||||
IrisBiomeCustom custom = ib.getCustomBiome(rng, x, 0, z);
|
||||
Object biomeBase = INMS.get().getCustomBiomeBaseFor(getDimension().getLoadKey() + ":" + custom.getId());
|
||||
//
|
||||
// int m = hits.size();
|
||||
// String str = ib.getLoadKey() + ":custom:" + custom.getId();
|
||||
// hits.add(str);
|
||||
//
|
||||
// if(m != hits.size())
|
||||
// {
|
||||
// Iris.info("Added " + str);
|
||||
// }
|
||||
|
||||
if(biomeBase == null || !injectBiome(h, x, 0, z, biomeBase)) {
|
||||
throw new RuntimeException("Cant inject biome!");
|
||||
}
|
||||
|
||||
@@ -31,13 +31,11 @@ public class HeightmapObjectPlacer implements IObjectPlacer {
|
||||
private final long s;
|
||||
private final IrisObjectPlacement config;
|
||||
private final IObjectPlacer oplacer;
|
||||
private final Engine engine;
|
||||
|
||||
public HeightmapObjectPlacer(Engine engine, RNG rng, int x, int yv, int z, IrisObjectPlacement config, IObjectPlacer oplacer) {
|
||||
s = rng.nextLong() + yv + z - x;
|
||||
this.config = config;
|
||||
this.oplacer = oplacer;
|
||||
this.engine = engine;
|
||||
}
|
||||
|
||||
public int getHighest(int param1Int1, int param1Int2, IrisData data) {
|
||||
|
||||
Reference in New Issue
Block a user