mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
Stop skipping the cave_ceiling marker in entity spawning
No stage writes that marker any more; only cave_floor is left.
This commit is contained in:
1 parent
6d18d51076
commit
27b0036450
1 file changed
+1
-2
@@ -60,7 +60,6 @@ public final class EntitySpawning implements EntitySpawns {
|
||||
private static final int BLOCKS_TO_CHUNK_CENTRE = 8;
|
||||
private static final int CHUNK_SIZE = 16;
|
||||
private static final String CAVE_FLOOR_MARKER = "cave_floor";
|
||||
private static final String CAVE_CEILING_MARKER = "cave_ceiling";
|
||||
private static final int AIR_ABOVE_MARKER = 1;
|
||||
private static final long COOLDOWN_CLEANUP_INTERVAL_MILLISECONDS = 60_000L;
|
||||
|
||||
@@ -96,7 +95,7 @@ public final class EntitySpawning implements EntitySpawns {
|
||||
|
||||
@Override
|
||||
public Optional<MarkerRule> marker(PackWorld world, ResourceId tag) {
|
||||
if (tag.path().equals(CAVE_FLOOR_MARKER) || tag.path().equals(CAVE_CEILING_MARKER)) {
|
||||
if (tag.path().equals(CAVE_FLOOR_MARKER)) {
|
||||
return Optional.empty();
|
||||
}
|
||||
SpawnMarker marker = SpawnResources.marker(world.resources(), tag.path());
|
||||
|
||||
Reference in new issue
Block a user