mirror of
https://github.com/XevianLight/Aphelion.git
synced 2026-05-11 01:50:56 +01:00
RocketEntity added. Uses RocketRenderer and RocketStructure to render blocks. RocketStructure supports volumes up to 128^3.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package net.xevianlight.aphelion.planet;
|
||||
|
||||
import com.mojang.serialization.Codec;
|
||||
import com.mojang.serialization.codecs.RecordCodecBuilder;
|
||||
|
||||
public record StarSystem(
|
||||
int temp
|
||||
) {
|
||||
public static final Codec<StarSystem> CODEC = RecordCodecBuilder.create(inst -> inst.group(
|
||||
Codec.INT.fieldOf("dimension").forGetter(StarSystem::temp)
|
||||
).apply(inst, StarSystem::new));
|
||||
}
|
||||
Reference in New Issue
Block a user