Package net.minecraft.util.registry
Class WorldGenRegistries
java.lang.Object
net.minecraft.util.registry.WorldGenRegistries
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.static final Registry<ConfiguredCarver<?>>static final Registry<ConfiguredFeature<?,?>> static final Registry<StructureFeature<?,?>> static final Registry<ConfiguredSurfaceBuilder<?>>private static final Map<ResourceLocation,Supplier<?>> protected static final org.apache.logging.log4j.Loggerstatic final Registry<DimensionSettings>static final Registry<StructureProcessorList>static final Registry<JigsawPattern>private static final MutableRegistry<MutableRegistry<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>forge(RegistryKey<? extends Registry<T>> key, Supplier<T> def) private static <T,R extends MutableRegistry<T>>
RinternalRegister(RegistryKey<? extends Registry<T>> p_243666_0_, R p_243666_1_, Supplier<T> p_243666_2_, com.mojang.serialization.Lifecycle p_243666_3_) static <T> Tstatic <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_, Supplier<T> p_243665_2_) private static <T> Registry<T>registerSimple(RegistryKey<? extends Registry<T>> p_243667_0_, Supplier<T> p_243667_1_)
-
Field Details
-
LOGGER
protected static final org.apache.logging.log4j.Logger LOGGER -
LOADERS
-
WRITABLE_REGISTRY
-
REGISTRY
-
CONFIGURED_SURFACE_BUILDER
-
CONFIGURED_CARVER
-
CONFIGURED_FEATURE
-
CONFIGURED_STRUCTURE_FEATURE
-
PROCESSOR_LIST
-
TEMPLATE_POOL
-
BIOME
Deprecated. -
NOISE_GENERATOR_SETTINGS
-
-
Constructor Details
-
WorldGenRegistries
public WorldGenRegistries()
-
-
Method Details
-
registerSimple
private static <T> Registry<T> registerSimple(RegistryKey<? extends Registry<T>> p_243667_0_, Supplier<T> p_243667_1_) -
forge
private static <T extends IForgeRegistryEntry<T>> Registry<T> forge(RegistryKey<? extends Registry<T>> key, Supplier<T> def) -
registerSimple
private static <T> Registry<T> registerSimple(RegistryKey<? extends Registry<T>> p_243665_0_, com.mojang.serialization.Lifecycle p_243665_1_, 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_, Supplier<T> p_243666_2_, com.mojang.serialization.Lifecycle p_243666_3_) -
register
-
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()
-