mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-30 20:39:21 +00:00
Base biome fixes
This commit is contained in:
@@ -69,12 +69,10 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
||||
|
||||
public void hotload()
|
||||
{
|
||||
if(hotloadcd.flip())
|
||||
if(isStudio())
|
||||
{
|
||||
Iris.proj.updateWorkspace();
|
||||
getData().dump();
|
||||
initialized.lazySet(false);
|
||||
hotloader.checkIgnore();
|
||||
J.s(() -> {
|
||||
try
|
||||
{
|
||||
@@ -90,6 +88,7 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
||||
|
||||
}
|
||||
});
|
||||
initialized.lazySet(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -314,7 +313,7 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
||||
compound.generate(x * 16, z * 16, blocks, post, biomes);
|
||||
generated++;
|
||||
|
||||
return () -> blocks.insertSoftly(0,0,0,post, (b) -> b == null || B.isAir(b));
|
||||
return () -> blocks.insertSoftly(0,0,0,post, (b) -> b == null || B.isAirOrFluid(b));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -15,6 +15,11 @@ public interface EngineDecorator extends EngineComponent {
|
||||
|
||||
default boolean canGoOn(BlockData decorant, BlockData atop)
|
||||
{
|
||||
if(atop == null || B.isAir(atop))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return B.canPlaceOnto(decorant.getMaterial(), atop.getMaterial());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user