mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-02 16:07:06 +00:00
t
This commit is contained in:
parent
6873051bcb
commit
0a2e3e5e88
@ -29,11 +29,13 @@ public class Engine implements Closeable {
|
||||
private final EngineBlockCache blockCache;
|
||||
private final EngineExecutor executor;
|
||||
private final EnginePlumbing plumbing;
|
||||
private final EngineSeedManager seedManager;
|
||||
|
||||
public Engine(IrisPlatform platform, PlatformWorld world, EngineConfiguration configuration) {
|
||||
this.configuration = configuration;
|
||||
this.platform = platform;
|
||||
this.world = world;
|
||||
this.seedManager = getSeedManager();
|
||||
this.registry = EngineRegistry.builder()
|
||||
.blockRegistry(new PlatformRegistry<>(platform.getBlocks()))
|
||||
.biomeRegistry(new PlatformRegistry<>(platform.getBiomes()))
|
||||
|
@ -0,0 +1,10 @@
|
||||
package com.volmit.iris.engine;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class EngineSeedManager {
|
||||
private final Engine engine;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.volmit.iris.engine.dimension;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class IrisDimension
|
||||
{
|
||||
private String name;
|
||||
|
||||
@Data
|
||||
public static class IrisDimensionMeta
|
||||
{
|
||||
private String name;
|
||||
private String description;
|
||||
private String version;
|
||||
private List<IrisDimensionAuthor> authors = new ArrayList<>();
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class IrisDimensionAuthor
|
||||
{
|
||||
private String name;
|
||||
private Map<String, String> social;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user