public enum BoundingBoxType implements StringRepresentable {
19
PIECE("piece"),
20
STRUCTURE("full");
21
22
public static final Codec<StructureSpawnOverride.BoundingBoxType> CODEC = StringRepresentable.fromEnum(StructureSpawnOverride.BoundingBoxType::values);
23
private final String id;
24
25
BoundingBoxType(final String id) {
26
this.id = id;
27
}
28
29
@Override
30
public String getSerializedName() {
31
return this.id;
32
}
33
}
34
}
35
Decompiled Minecraft 26.3 source of StructureSpawnOverride (net/minecraft/world/level/levelgen/structure/StructureSpawnOverride.java) with Mojang official mappings, stored verbatim on the site.