Package net.minecraft.data
Class BuiltinRegistries
java.lang.Object
net.minecraft.data.BuiltinRegistries
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.static Registry<ConfiguredWorldCarver<?>>
static Registry<ConfiguredFeature<?,?>>
static Registry<ConfiguredStructureFeature<?,?>>
static Registry<ConfiguredSurfaceBuilder<?>>
private static Map<ResourceLocation,Supplier<?>>
protected static org.apache.logging.log4j.Logger
static Registry<NoiseGeneratorSettings>
static Registry<StructureProcessorList>
static Registry<StructureTemplatePool>
private static WritableRegistry<WritableRegistry<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
private static <T extends IForgeRegistryEntry<T>>
Registry<T>forge(ResourceKey<? extends Registry<T>> key, Supplier<T> def)
private static <T, R extends WritableRegistry<T>>
RinternalRegister(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<T> p_123891_, com.mojang.serialization.Lifecycle p_123892_)
static <T> T
static <V, T extends V>
Tregister(Registry<V> p_123881_, ResourceLocation p_123882_, T p_123883_)
static <V, T extends V>
TregisterMapping(Registry<V> p_123872_, int p_123873_, ResourceKey<V> p_123874_, T p_123875_)
private static <T> Registry<T>
registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<T> p_123887_)
private static <T> Registry<T>
registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<T> p_123895_)
-
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
-
BuiltinRegistries
public BuiltinRegistries()
-
-
Method Details
-
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<T> p_123895_) -
forge
private static <T extends IForgeRegistryEntry<T>> Registry<T> forge(ResourceKey<? extends Registry<T>> key, Supplier<T> def) -
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<T> p_123887_) -
internalRegister
private static <T, R extends WritableRegistry<T>> R internalRegister(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<T> p_123891_, com.mojang.serialization.Lifecycle p_123892_) -
register
-
register
public static <V, T extends V> T register(Registry<V> p_123881_, ResourceLocation p_123882_, T p_123883_) -
registerMapping
public static <V, T extends V> T registerMapping(Registry<V> p_123872_, int p_123873_, ResourceKey<V> p_123874_, T p_123875_) -
bootstrap
public static void bootstrap()
-