Package net.minecraft.data
Class BuiltinRegistries
java.lang.Object
net.minecraft.data.BuiltinRegistries
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RegistryAccess
Deprecated.static final Registry<ConfiguredWorldCarver<?>>
static final Registry<ConfiguredFeature<?,
?>> static final Registry<ConfiguredStructureFeature<?,
?>> static final Registry<DensityFunction>
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>
private static final 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<? extends Holder<? extends T>> holderSupplier) private static <T,
R extends WritableRegistry<T>>
RinternalRegister
(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<? extends Holder<? extends T>> p_123891_, com.mojang.serialization.Lifecycle p_123892_) 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_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<? extends Holder<? extends T>> p_123887_) private static <T> Registry<T>
registerSimple
(ResourceKey<? extends Registry<T>> p_123894_, Supplier<? extends Holder<? extends T>> p_123895_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LOADERS
-
WRITABLE_REGISTRY
-
REGISTRY
-
CONFIGURED_CARVER
-
CONFIGURED_FEATURE
-
PLACED_FEATURE
-
CONFIGURED_STRUCTURE_FEATURE
-
STRUCTURE_SETS
-
PROCESSOR_LIST
-
TEMPLATE_POOL
-
BIOME
Deprecated. -
NOISE
-
DENSITY_FUNCTION
-
NOISE_GENERATOR_SETTINGS
-
ACCESS
-
-
Constructor Details
-
BuiltinRegistries
public BuiltinRegistries()
-
-
Method Details
-
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<? extends Holder<? extends T>> p_123895_) -
forge
private static <T extends IForgeRegistryEntry<T>> Registry<T> forge(ResourceKey<? extends Registry<T>> key, Supplier<? extends Holder<? extends T>> holderSupplier) -
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<? extends Holder<? extends T>> p_123887_) -
internalRegister
private static <T,R extends WritableRegistry<T>> R internalRegister(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<? extends Holder<? extends T>> p_123891_, com.mojang.serialization.Lifecycle p_123892_) -
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()
-