public class ChunkGeneratorType<C extends GenerationSettings,T extends ChunkGenerator<C>> extends ForgeRegistryEntry<ChunkGeneratorType<?,?>> implements IChunkGeneratorFactory<C,T>
Modifier and Type | Field and Description |
---|---|
static ChunkGeneratorType<NetherGenSettings,NetherChunkGenerator> |
CAVES |
static ChunkGeneratorType<DebugGenerationSettings,DebugChunkGenerator> |
DEBUG |
private IChunkGeneratorFactory<C,T> |
factory |
static ChunkGeneratorType<FlatGenerationSettings,FlatChunkGenerator> |
FLAT |
static ChunkGeneratorType<EndGenerationSettings,EndChunkGenerator> |
FLOATING_ISLANDS |
private boolean |
isOptionForBuffetWorld |
private java.util.function.Supplier<C> |
settings |
static ChunkGeneratorType<OverworldGenSettings,OverworldChunkGenerator> |
SURFACE |
delegate
Constructor and Description |
---|
ChunkGeneratorType(IChunkGeneratorFactory<C,T> p_i49953_1_,
boolean p_i49953_2_,
java.util.function.Supplier<C> p_i49953_3_) |
Modifier and Type | Method and Description |
---|---|
T |
create(World p_create_1_,
BiomeProvider p_create_2_,
C p_create_3_) |
C |
createSettings() |
boolean |
isOptionForBuffetWorld() |
private static <C extends GenerationSettings,T extends ChunkGenerator<C>> |
register(java.lang.String key,
IChunkGeneratorFactory<C,T> factoryIn,
java.util.function.Supplier<C> settingsIn,
boolean canUseForBuffet) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final ChunkGeneratorType<OverworldGenSettings,OverworldChunkGenerator> SURFACE
public static final ChunkGeneratorType<NetherGenSettings,NetherChunkGenerator> CAVES
public static final ChunkGeneratorType<EndGenerationSettings,EndChunkGenerator> FLOATING_ISLANDS
public static final ChunkGeneratorType<DebugGenerationSettings,DebugChunkGenerator> DEBUG
public static final ChunkGeneratorType<FlatGenerationSettings,FlatChunkGenerator> FLAT
private final IChunkGeneratorFactory<C extends GenerationSettings,T extends ChunkGenerator<C>> factory
private final boolean isOptionForBuffetWorld
private final java.util.function.Supplier<C extends GenerationSettings> settings
public ChunkGeneratorType(IChunkGeneratorFactory<C,T> p_i49953_1_, boolean p_i49953_2_, java.util.function.Supplier<C> p_i49953_3_)
private static <C extends GenerationSettings,T extends ChunkGenerator<C>> ChunkGeneratorType<C,T> register(java.lang.String key, IChunkGeneratorFactory<C,T> factoryIn, java.util.function.Supplier<C> settingsIn, boolean canUseForBuffet)
public T create(World p_create_1_, BiomeProvider p_create_2_, C p_create_3_)
create
in interface IChunkGeneratorFactory<C extends GenerationSettings,T extends ChunkGenerator<C>>
public C createSettings()
public boolean isOptionForBuffetWorld()