mirror of
https://github.com/XevianLight/Aphelion.git
synced 2026-05-11 10:00:54 +01:00
More EnvironmentSavedData stuff
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user