Package net.minecraft.util.registry
Class WorldGenRegistries
- java.lang.Object
-
- net.minecraft.util.registry.WorldGenRegistries
-
public class WorldGenRegistries extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Registry<Biome>
BIOME
Deprecated.static Registry<ConfiguredCarver<?>>
CONFIGURED_CARVER
static Registry<ConfiguredFeature<?,?>>
CONFIGURED_FEATURE
static Registry<StructureFeature<?,?>>
CONFIGURED_STRUCTURE_FEATURE
static Registry<ConfiguredSurfaceBuilder<?>>
CONFIGURED_SURFACE_BUILDER
private static java.util.Map<ResourceLocation,java.util.function.Supplier<?>>
LOADERS
protected static org.apache.logging.log4j.Logger
LOGGER
static Registry<DimensionSettings>
NOISE_GENERATOR_SETTINGS
static Registry<StructureProcessorList>
PROCESSOR_LIST
static Registry<? extends Registry<?>>
REGISTRY
static Registry<JigsawPattern>
TEMPLATE_POOL
private static MutableRegistry<MutableRegistry<?>>
WRITABLE_REGISTRY
-
Constructor Summary
Constructors Constructor Description WorldGenRegistries()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
bootstrap()
private static <T extends IForgeRegistryEntry<T>>
Registry<T>forge(RegistryKey<? extends Registry<T>> key, java.util.function.Supplier<T> def)
private static <T,R extends MutableRegistry<T>>
RinternalRegister(RegistryKey<? extends Registry<T>> p_243666_0_, R p_243666_1_, java.util.function.Supplier<T> p_243666_2_, com.mojang.serialization.Lifecycle p_243666_3_)
static <T> T
register(Registry<? super T> p_243663_0_, java.lang.String p_243663_1_, T p_243663_2_)
static <V,T extends V>
Tregister(Registry<V> p_243664_0_, ResourceLocation p_243664_1_, T p_243664_2_)
static <V,T extends V>
TregisterMapping(Registry<V> p_243662_0_, int p_243662_1_, RegistryKey<V> p_243662_2_, T p_243662_3_)
private static <T> Registry<T>
registerSimple(RegistryKey<? extends Registry<T>> p_243665_0_, com.mojang.serialization.Lifecycle p_243665_1_, java.util.function.Supplier<T> p_243665_2_)
private static <T> Registry<T>
registerSimple(RegistryKey<? extends Registry<T>> p_243667_0_, java.util.function.Supplier<T> p_243667_1_)
-
-
-
Field Detail
-
LOGGER
protected static final org.apache.logging.log4j.Logger LOGGER
-
LOADERS
private static final java.util.Map<ResourceLocation,java.util.function.Supplier<?>> LOADERS
-
WRITABLE_REGISTRY
private static final MutableRegistry<MutableRegistry<?>> WRITABLE_REGISTRY
-
CONFIGURED_SURFACE_BUILDER
public static final Registry<ConfiguredSurfaceBuilder<?>> CONFIGURED_SURFACE_BUILDER
-
CONFIGURED_CARVER
public static final Registry<ConfiguredCarver<?>> CONFIGURED_CARVER
-
CONFIGURED_FEATURE
public static final Registry<ConfiguredFeature<?,?>> CONFIGURED_FEATURE
-
CONFIGURED_STRUCTURE_FEATURE
public static final Registry<StructureFeature<?,?>> CONFIGURED_STRUCTURE_FEATURE
-
PROCESSOR_LIST
public static final Registry<StructureProcessorList> PROCESSOR_LIST
-
TEMPLATE_POOL
public static final Registry<JigsawPattern> TEMPLATE_POOL
-
NOISE_GENERATOR_SETTINGS
public static final Registry<DimensionSettings> NOISE_GENERATOR_SETTINGS
-
-
Method Detail
-
registerSimple
private static <T> Registry<T> registerSimple(RegistryKey<? extends Registry<T>> p_243667_0_, java.util.function.Supplier<T> p_243667_1_)
-
forge
private static <T extends IForgeRegistryEntry<T>> Registry<T> forge(RegistryKey<? extends Registry<T>> key, java.util.function.Supplier<T> def)
-
registerSimple
private static <T> Registry<T> registerSimple(RegistryKey<? extends Registry<T>> p_243665_0_, com.mojang.serialization.Lifecycle p_243665_1_, java.util.function.Supplier<T> p_243665_2_)
-
internalRegister
private static <T,R extends MutableRegistry<T>> R internalRegister(RegistryKey<? extends Registry<T>> p_243666_0_, R p_243666_1_, java.util.function.Supplier<T> p_243666_2_, com.mojang.serialization.Lifecycle p_243666_3_)
-
register
public static <T> T register(Registry<? super T> p_243663_0_, java.lang.String p_243663_1_, T p_243663_2_)
-
register
public static <V,T extends V> T register(Registry<V> p_243664_0_, ResourceLocation p_243664_1_, T p_243664_2_)
-
registerMapping
public static <V,T extends V> T registerMapping(Registry<V> p_243662_0_, int p_243662_1_, RegistryKey<V> p_243662_2_, T p_243662_3_)
-
bootstrap
public static void bootstrap()
-
-