Package net.minecraft.data
Class BuiltinRegistries
java.lang.Object
net.minecraft.data.BuiltinRegistries
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RegistryAccess
Deprecated.static final Registry<ConfiguredWorldCarver<?>>
static final Registry<ConfiguredFeature<?,
?>> static final Registry<DensityFunction>
static final Registry<DimensionType>
static final Registry<FlatLevelGeneratorPreset>
private static final Map<ResourceLocation,
Supplier<? extends Holder<?>>> private static final org.slf4j.Logger
static final Registry<NormalNoise.NoiseParameters>
static final Registry<NoiseGeneratorSettings>
static final Registry<PlacedFeature>
static final Registry<StructureProcessorList>
static final Registry<StructureSet>
static final Registry<StructureTemplatePool>
static final Registry<WorldPreset>
private static final WritableRegistry<WritableRegistry<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
private static <T> Registry<T>
forge
(ResourceKey<? extends Registry<T>> key, BuiltinRegistries.RegistryBootstrap<T> bootstrap) private static <T,
R extends WritableRegistry<T>>
RinternalRegister
(ResourceKey<? extends Registry<T>> p_235997_, R p_235998_, BuiltinRegistries.RegistryBootstrap<T> p_235999_, com.mojang.serialization.Lifecycle p_236000_) static <T> Holder<T>
static <T> Holder<T>
register
(Registry<T> p_206385_, ResourceKey<T> p_206386_, T p_206387_) static <T> Holder<T>
register
(Registry<T> p_206389_, ResourceLocation p_206390_, T p_206391_) static <V extends T,
T>
Holder<V>registerExact
(Registry<T> p_206381_, String p_206382_, V p_206383_) private static <T> Registry<T>
registerSimple
(ResourceKey<? extends Registry<T>> p_235993_, com.mojang.serialization.Lifecycle p_235994_, BuiltinRegistries.RegistryBootstrap<T> p_235995_) private static <T> Registry<T>
registerSimple
(ResourceKey<? extends Registry<T>> p_236002_, BuiltinRegistries.RegistryBootstrap<T> p_236003_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LOADERS
-
WRITABLE_REGISTRY
-
REGISTRY
-
DIMENSION_TYPE
-
CONFIGURED_CARVER
-
CONFIGURED_FEATURE
-
PLACED_FEATURE
-
STRUCTURES
-
STRUCTURE_SETS
-
PROCESSOR_LIST
-
TEMPLATE_POOL
-
BIOME
Deprecated. -
NOISE
-
DENSITY_FUNCTION
-
NOISE_GENERATOR_SETTINGS
-
WORLD_PRESET
-
FLAT_LEVEL_GENERATOR_PRESET
-
CHAT_TYPE
-
ACCESS
-
-
Constructor Details
-
BuiltinRegistries
public BuiltinRegistries()
-
-
Method Details
-
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_236002_, BuiltinRegistries.RegistryBootstrap<T> p_236003_) -
forge
private static <T> Registry<T> forge(ResourceKey<? extends Registry<T>> key, BuiltinRegistries.RegistryBootstrap<T> bootstrap) -
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_235993_, com.mojang.serialization.Lifecycle p_235994_, BuiltinRegistries.RegistryBootstrap<T> p_235995_) -
internalRegister
private static <T,R extends WritableRegistry<T>> R internalRegister(ResourceKey<? extends Registry<T>> p_235997_, R p_235998_, BuiltinRegistries.RegistryBootstrap<T> p_235999_, com.mojang.serialization.Lifecycle p_236000_) -
registerExact
-
register
-
register
public static <T> Holder<T> register(Registry<T> p_206389_, ResourceLocation p_206390_, T p_206391_) -
register
-
bootstrap
public static void bootstrap()
-