Remove the dead cave_ceiling marker references

The carve stage writes only cave_floor markers. The marker skips in the block
drop router, the marker spawn scanner and the modded block break and spawn
handlers, and the modded /iris what markers suggestion, no longer name
cave_ceiling.

/iris what markers' parameter help says "Marker name such as cave_floor". The
key is renamed to match, in the catalog and all 18 message files.
StructureAnchorMode.CAVE_CEILING is a different thing and stays.
This commit is contained in:
piexel committed 2026-11-06 14:34:31 +01:00
1 parent 67d5128942
commit 7bef5dbfd4
25 files changed
+26 -26

No files matched your search

@@ -212,7 +212,7 @@ public final class ModdedBlockBreakHandler {
return;
}
String tag = marker.getTag();
if ("cave_floor".equals(tag) || "cave_ceiling".equals(tag)) {
if ("cave_floor".equals(tag)) {
return;
}
if (ContentServices.markerRule(engine, tag).map(ContentSpawns.MarkerRule::removeOnChange).orElse(true)) {
@@ -385,7 +385,7 @@ public final class ModdedWorldManager implements EngineWorldManager {
KList<IrisPosition> obstructed = new KList<>();
chunk.iterate(MatterMarker.class, (Integer x, Integer yf, Integer z, MatterMarker marker) -> {
String tag = marker.getTag();
if (tag.equals("cave_floor") || tag.equals("cave_ceiling")) {
if (tag.equals("cave_floor")) {
return;
}
Optional<ContentSpawns.MarkerRule> rule = ContentServices.markerRule(engine, tag);
@@ -81,7 +81,7 @@ public final class ModdedWhatCommands {
private static final SuggestionProvider<CommandSourceStack> MARKER_TYPES =
(CommandContext<CommandSourceStack> context, SuggestionsBuilder builder) ->
SharedSuggestionProvider.suggest(
List.of("cave_floor", "cave_ceiling", "object"), builder);
List.of("cave_floor", "object"), builder);
private static final DustParticleOptions MARKER_DUST = new DustParticleOptions(0x5A8CFF, 1.2F);
private static final int MAX_MARKERS = 8_192;
private static final int MARKER_BATCH_SIZE = 128;