More EnvironmentSavedData stuff

This commit is contained in:
XevianLight
2026-01-29 23:42:33 -07:00
parent 2f0c499fdf
commit cc93d2fb42
3 changed files with 56 additions and 86 deletions

View File

@@ -7,6 +7,6 @@ public record StarSystem(
int temp
) {
public static final Codec<StarSystem> CODEC = RecordCodecBuilder.create(inst -> inst.group(
Codec.INT.fieldOf("dimension").forGetter(StarSystem::temp)
Codec.INT.fieldOf("temp").forGetter(StarSystem::temp)
).apply(inst, StarSystem::new));
}