Uses of Class
net.minecraft.util.registry.Registry
-
Uses of Registry in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Registry Modifier and Type Field Description private Registry<Biome>
CustomizeBuffetLevelScreen. biomeRegistry
Fields in net.minecraft.client.gui.screen with type parameters of type Registry Modifier and Type Field Description Function<Registry<Biome>,FlatChunkGeneratorConfig>
PresetsScreen.SuperflatPreset. generatorConfigProvider
Methods in net.minecraft.client.gui.screen with parameters of type Registry Modifier and Type Method Description private static String
PresetsScreen. getGeneratorConfigString(Registry<Biome> biomeRegistry, FlatChunkGeneratorConfig generatorConfig)
static FlatChunkGeneratorConfig
PresetsScreen. parsePresetString(Registry<Biome> biomeRegistry, String preset, FlatChunkGeneratorConfig generatorConfig)
Constructor parameters in net.minecraft.client.gui.screen with type arguments of type Registry Constructor Description SuperflatPreset(Item icon, Text name, Function<Registry<Biome>,FlatChunkGeneratorConfig> generatorConfigProvider)
-
Uses of Registry in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type Registry Modifier and Type Method Description protected abstract ChunkGenerator
GeneratorType. getChunkGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
-
Uses of Registry in net.minecraft.data.report
Methods in net.minecraft.data.report with parameters of type Registry Modifier and Type Method Description private static <T> JsonElement
ItemListProvider. toJson(Registry<T> registry)
-
Uses of Registry in net.minecraft.data.server
Fields in net.minecraft.data.server declared as Registry Modifier and Type Field Description private Registry<T>
AbstractTagProvider.ObjectBuilder. registry
protected Registry<T>
AbstractTagProvider. registry
Constructors in net.minecraft.data.server with parameters of type Registry Constructor Description AbstractTagProvider(DataGenerator root, Registry<T> registry)
ObjectBuilder(Tag.Builder builder, Registry<T> registry, String source)
-
Uses of Registry in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type Registry Modifier and Type Field Description private Map<RegistryKey<? extends Registry<?>>,TagGroup.Serialized>
SynchronizeTagsS2CPacket. groups
Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type Registry Modifier and Type Method Description Map<RegistryKey<? extends Registry<?>>,TagGroup.Serialized>
SynchronizeTagsS2CPacket. getGroups()
Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type Registry Constructor Description SynchronizeTagsS2CPacket(Map<RegistryKey<? extends Registry<?>>,TagGroup.Serialized> groups)
-
Uses of Registry in net.minecraft.stat
Fields in net.minecraft.stat declared as Registry Modifier and Type Field Description private Registry<T>
StatType. registry
Methods in net.minecraft.stat that return Registry Modifier and Type Method Description Registry<T>
StatType. getRegistry()
Methods in net.minecraft.stat with parameters of type Registry Modifier and Type Method Description private static <T> StatType<T>
Stats. registerType(String id, Registry<T> registry)
Constructors in net.minecraft.stat with parameters of type Registry Constructor Description StatType(Registry<T> registry)
-
Uses of Registry in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as Registry Modifier and Type Field Description private Registry<StructurePool>
StructurePoolBasedGenerator.StructurePoolGenerator. registry
Constructors in net.minecraft.structure.pool with parameters of type Registry Constructor Description StructurePoolGenerator(Registry<StructurePool> registry, int maxSize, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> children, Random random)
-
Uses of Registry in net.minecraft.tag
Fields in net.minecraft.tag with type parameters of type Registry Modifier and Type Field Description private ImmutableMap.Builder<RegistryKey<? extends Registry<?>>,TagGroup<?>>
TagManager.Builder. groups
private RegistryKey<? extends Registry<T>>
RequiredTagList. registryKey
private Map<RegistryKey<? extends Registry<?>>,TagGroup<?>>
TagManager. tagGroups
Methods in net.minecraft.tag that return types with arguments of type Registry Modifier and Type Method Description static Multimap<RegistryKey<? extends Registry<?>>,Identifier>
RequiredTagListRegistry. getMissingTags(TagManager tagManager)
RegistryKey<? extends Registry<T>>
RequiredTagList. getRegistryKey()
Map<RegistryKey<? extends Registry<?>>,TagGroup.Serialized>
TagManager. toPacket(DynamicRegistryManager registryManager)
Methods in net.minecraft.tag with parameters of type Registry Modifier and Type Method Description static <T> TagGroup<T>
TagGroup. deserialize(TagGroup.Serialized serialized, Registry<? extends T> registry)
Deserializes a serialized tag group.default TagGroup.Serialized
TagGroup. serialize(Registry<T> registry)
Serializes this tag group.Method parameters in net.minecraft.tag with type arguments of type Registry Modifier and Type Method Description <T> TagManager.Builder
TagManager.Builder. add(RegistryKey<? extends Registry<? extends T>> type, TagGroup<T> tagGroup)
static TagManager
TagManager. fromPacket(DynamicRegistryManager registryManager, Map<RegistryKey<? extends Registry<?>>,TagGroup.Serialized> groups)
<T> TagGroup<T>
TagManager. getOrCreateTagGroup(RegistryKey<? extends Registry<T>> registryKey)
<T, E extends Exception>
Tag<T>TagManager. getTag(RegistryKey<? extends Registry<T>> registryKey, Identifier id, Function<Identifier,E> exceptionFactory)
private <T> @Nullable TagGroup<T>
TagManager. getTagGroup(RegistryKey<? extends Registry<T>> registryKey)
<T, E extends Exception>
IdentifierTagManager. getTagId(RegistryKey<? extends Registry<T>> registryKey, Tag<T> tag, Supplier<E> exceptionSupplier)
private static <T> void
TagManager. offerTo(TagManager.Visitor visitor, RegistryKey<? extends Registry<?>> type, TagGroup<?> group)
static <T> RequiredTagList<T>
RequiredTagListRegistry. register(RegistryKey<? extends Registry<T>> registryKey, String dataType)
private static <T> void
TagManager. tryAdd(DynamicRegistryManager registryManager, TagManager.Builder builder, RegistryKey<? extends Registry<? extends T>> type, TagGroup.Serialized group)
<T> void
TagManager.Visitor. visit(RegistryKey<? extends Registry<T>> type, TagGroup<T> group)
Constructor parameters in net.minecraft.tag with type arguments of type Registry Constructor Description RequiredTagList(RegistryKey<? extends Registry<T>> registryKey, String dataType)
TagManager(Map<RegistryKey<? extends Registry<?>>,TagGroup<?>> tagGroups)
-
Uses of Registry in net.minecraft.test
Constructors in net.minecraft.test with parameters of type Registry Constructor Description TestServer(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, ServerResourceManager serverResourceManager, Collection<GameTestBatch> batches, BlockPos pos, DynamicRegistryManager.Impl registryManager, Registry<Biome> biomeRegistry, Registry<DimensionType> dimensionTypeRegistry)
-
Uses of Registry in net.minecraft.util
Fields in net.minecraft.util declared as Registry Modifier and Type Field Description private Registry<T>
JsonSerializing.GsonSerializer. registry
private Registry<T>
JsonSerializing.TypeHandler. registry
Methods in net.minecraft.util with parameters of type Registry Modifier and Type Method Description static <E, T extends JsonSerializableType<E>>
JsonSerializing.TypeHandler<E,T>JsonSerializing. createTypeHandler(Registry<T> registry, String rootFieldName, String idFieldName, Function<E,T> typeIdentification)
Constructors in net.minecraft.util with parameters of type Registry Constructor Description GsonSerializer(Registry<T> registry, String rootFieldName, String idFieldName, Function<E,T> typeIdentification, T t, @Nullable com.mojang.datafixers.util.Pair<T,JsonSerializing.CustomSerializer<? extends E>> elementSerializer)
TypeHandler(Registry<T> registry, String rootFieldName, String idFieldName, Function<E,T> typeIdentification)
-
Uses of Registry in net.minecraft.util.dynamic
Fields in net.minecraft.util.dynamic with type parameters of type Registry Modifier and Type Field Description private RegistryKey<? extends Registry<E>>
RegistryLookupCodec. registryKey
private RegistryKey<? extends Registry<E>>
RegistryCodec. registryRef
private RegistryKey<? extends Registry<E>>
RegistryElementCodec. registryRef
private Map<RegistryKey<? extends Registry<?>>,RegistryOps.ValueHolder<?>>
RegistryOps. valueHolders
Methods in net.minecraft.util.dynamic that return types with arguments of type Registry Modifier and Type Method Description <T> com.mojang.serialization.DataResult<Registry<E>>
RegistryLookupCodec. decode(com.mojang.serialization.DynamicOps<T> dynamicOps, com.mojang.serialization.MapLike<T> mapLike)
protected <E> com.mojang.serialization.DataResult<Registry<E>>
RegistryOps. getRegistry(RegistryKey<? extends Registry<E>> key)
Methods in net.minecraft.util.dynamic with parameters of type Registry Modifier and Type Method Description <T> com.mojang.serialization.RecordBuilder<T>
RegistryLookupCodec. encode(Registry<E> registry, com.mojang.serialization.DynamicOps<T> dynamicOps, com.mojang.serialization.RecordBuilder<T> recordBuilder)
Method parameters in net.minecraft.util.dynamic with type arguments of type Registry Modifier and Type Method Description protected <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<Supplier<E>,T>>
RegistryOps. decodeOrId(T t, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec, boolean allowInlineDefinitions)
Encode an id for a registry element than a full object if possible.protected <E> com.mojang.serialization.DataResult<T>
RegistryReadingOps. encodeOrId(E input, T prefix, RegistryKey<? extends Registry<E>> registryReference, com.mojang.serialization.Codec<E> codec)
Encode an id for a registry element than a full object if possible.Collection<Identifier>
RegistryOps.EntryLoader. getKnownEntryPaths(RegistryKey<? extends Registry<?>> key)
Collection<Identifier>
RegistryOps.EntryLoader.Impl. getKnownEntryPaths(RegistryKey<? extends Registry<?>> key)
protected <E> com.mojang.serialization.DataResult<Registry<E>>
RegistryOps. getRegistry(RegistryKey<? extends Registry<E>> key)
private <E> RegistryOps.ValueHolder<E>
RegistryOps. getValueHolder(RegistryKey<? extends Registry<E>> registryRef)
<E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>>
RegistryOps.EntryLoader.Impl. load(com.mojang.serialization.DynamicOps<JsonElement> dynamicOps, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder)
<E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>>
RegistryOps.EntryLoader. load(com.mojang.serialization.DynamicOps<JsonElement> dynamicOps, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder)
<E> com.mojang.serialization.DataResult<SimpleRegistry<E>>
RegistryOps. loadToRegistry(SimpleRegistry<E> registry, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec)
Loads elements into a registry just loaded from a decoder.static <E> com.mojang.serialization.Codec<List<Supplier<E>>>
RegistryElementCodec. method_31194(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec)
static <E> RegistryCodec<E>
RegistryCodec. of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> codec)
static <E> RegistryElementCodec<E>
RegistryElementCodec. of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec)
private static <E> RegistryElementCodec<E>
RegistryElementCodec. of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions)
static <E> RegistryLookupCodec<E>
RegistryLookupCodec. of(RegistryKey<? extends Registry<E>> registryKey)
private <E> com.mojang.serialization.DataResult<Supplier<E>>
RegistryOps. readSupplier(RegistryKey<? extends Registry<E>> key, MutableRegistry<E> registry, com.mojang.serialization.Codec<E> codec, Identifier elementId)
Reads a supplier for a registry element.Constructor parameters in net.minecraft.util.dynamic with type arguments of type Registry Constructor Description RegistryCodec(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> codec)
RegistryElementCodec(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions)
RegistryLookupCodec(RegistryKey<? extends Registry<E>> registryKey)
RegistryOps(com.mojang.serialization.DynamicOps<T> delegate, RegistryOps.EntryLoader entryLoader, DynamicRegistryManager dynamicRegistryManager, IdentityHashMap<RegistryKey<? extends Registry<?>>,RegistryOps.ValueHolder<?>> valueHolders)
-
Uses of Registry in net.minecraft.util.registry
Subclasses of Registry in net.minecraft.util.registry Modifier and Type Class Description class
DefaultedRegistry<T>
class
MutableRegistry<T>
class
SimpleRegistry<T>
Methods in net.minecraft.util.registry with type parameters of type Registry Modifier and Type Method Description private static <R extends Registry<?>>
voidDynamicRegistryManager. copyFromBuiltin(DynamicRegistryManager.Impl manager, RegistryKey<R> registryRef)
Add all entries of the registry referred byregistryRef
to the corresponding registry within this manager.private static <K extends RegistryKey<? extends Registry<?>>, V extends SimpleRegistry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager.Impl>DynamicRegistryManager.Impl. fromRegistryCodecs(com.mojang.serialization.codecs.UnboundedMapCodec<K,V> unboundedMapCodec)
Methods in net.minecraft.util.registry that return Registry Modifier and Type Method Description private static <T> Registry<T>
BuiltinRegistries. addRegistry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultValueSupplier)
private static <T> Registry<T>
BuiltinRegistries. addRegistry(RegistryKey<? extends Registry<T>> registryRef, Supplier<T> defaultValueSupplier)
private static <T> Registry<T>
Registry. create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry)
private static <T> Registry<T>
Registry. create(RegistryKey<? extends Registry<T>> key, Supplier<T> defaultEntry)
<E> Registry<E>
DynamicRegistryManager. get(RegistryKey<? extends Registry<? extends E>> key)
Retrieves a registry from this manager, or throws an exception when the registry does not exist.Methods in net.minecraft.util.registry that return types with arguments of type Registry Modifier and Type Method Description private static <T> RegistryKey<Registry<T>>
Registry. createRegistryKey(String registryId)
RegistryKey<? extends Registry<T>>
Registry. getKey()
<E> Optional<? extends Registry<E>>
DynamicRegistryManager. getOptional(RegistryKey<? extends Registry<? extends E>> key)
RegistryKey<? extends Registry<E>>
DynamicRegistryManager.Info. getRegistry()
static <T> RegistryKey<Registry<T>>
RegistryKey. ofRegistry(Identifier registry)
Creates a registry key for a registry in the root registry (registry of all registries) with an identifier for the registry.Methods in net.minecraft.util.registry with parameters of type Registry Modifier and Type Method Description static <T> T
BuiltinRegistries. add(Registry<? super T> registry, String id, T object)
static <V, T extends V>
TBuiltinRegistries. add(Registry<V> registry, Identifier id, T object)
private static <E> void
DynamicRegistryManager. addBuiltinEntries(DynamicRegistryManager.Impl manager, Registry<E> registry)
Add all entries of theregistry
to the corresponding registry within this manager.static <T> T
Registry. register(Registry<? super T> registry, String id, T entry)
static <V, T extends V>
TRegistry. register(Registry<V> registry, int rawId, String id, T entry)
static <V, T extends V>
TRegistry. register(Registry<V> registry, Identifier id, T entry)
static <V, T extends V>
TBuiltinRegistries. set(Registry<V> registry, int rawId, RegistryKey<V> key, T object)
Method parameters in net.minecraft.util.registry with type arguments of type Registry Modifier and Type Method Description private static <T> Registry<T>
BuiltinRegistries. addRegistry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultValueSupplier)
private static <T> Registry<T>
BuiltinRegistries. addRegistry(RegistryKey<? extends Registry<T>> registryRef, Supplier<T> defaultValueSupplier)
private static <T, R extends MutableRegistry<T>>
RBuiltinRegistries. addRegistry(RegistryKey<? extends Registry<T>> registryRef, R registry, Supplier<T> defaultValueSupplier, com.mojang.serialization.Lifecycle lifecycle)
private static <T> Registry<T>
Registry. create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry)
private static <T> DefaultedRegistry<T>
Registry. create(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry)
private static <T> DefaultedRegistry<T>
Registry. create(RegistryKey<? extends Registry<T>> key, String defaultId, Supplier<T> defaultEntry)
private static <T> Registry<T>
Registry. create(RegistryKey<? extends Registry<T>> key, Supplier<T> defaultEntry)
private static <T, R extends MutableRegistry<T>>
RRegistry. create(RegistryKey<? extends Registry<T>> key, R registry, Supplier<T> defaultEntry, com.mojang.serialization.Lifecycle lifecycle)
static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry. createCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)
static <T> Function<Identifier,RegistryKey<T>>
RegistryKey. createKeyFactory(RegistryKey<? extends Registry<T>> registry)
Creates a function that converts an identifier to a registry key for the registry thatregistry
refers to in the root registry.private static <E> SimpleRegistry<?>
DynamicRegistryManager.Impl. createRegistry(RegistryKey<? extends Registry<?>> registryRef)
static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry. createRegistryCodec(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)
static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry. createRegistryManagerCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec)
static <T> com.mojang.serialization.MapCodec<SimpleRegistry.RegistryManagerEntry<T>>
SimpleRegistry. createRegistryManagerEntryCodec(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.MapCodec<T> entryCodec)
<E> Registry<E>
DynamicRegistryManager. get(RegistryKey<? extends Registry<? extends E>> key)
Retrieves a registry from this manager, or throws an exception when the registry does not exist.private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
DynamicRegistryManager.Impl. getDataResultForCodec(RegistryKey<? extends Registry<E>> registryRef)
<E> MutableRegistry<E>
DynamicRegistryManager. getMutable(RegistryKey<? extends Registry<? extends E>> key)
<E> Optional<? extends Registry<E>>
DynamicRegistryManager. getOptional(RegistryKey<? extends Registry<? extends E>> key)
abstract <E> Optional<MutableRegistry<E>>
DynamicRegistryManager. getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key)
Retrieves a registry optionally from this manager.<E> Optional<MutableRegistry<E>>
DynamicRegistryManager.Impl. getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key)
Retrieves a registry optionally from this manager.boolean
RegistryKey. isOf(RegistryKey<? extends Registry<?>> registry)
Returns whether this registry key belongs to the given registry (according to its type, not whether the registry actually contains this key).static <T> RegistryKey<T>
RegistryKey. of(RegistryKey<? extends Registry<T>> registry, Identifier value)
Creates a registry key for a value in a registry with a registry key for the value-holding registry in the root registry and an identifier of the value.private static <E> void
DynamicRegistryManager. register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>,DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec)
private static <E> void
DynamicRegistryManager. register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>,DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec)
private static <E> void
DynamicRegistryManager. register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>,DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec)
private static <E> void
DynamicRegistryManager. register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>,DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec)
Constructor parameters in net.minecraft.util.registry with type arguments of type Registry Constructor Description DefaultedRegistry(String defaultId, RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
Impl(Map<? extends RegistryKey<? extends Registry<?>>,? extends SimpleRegistry<?>> registries)
Info(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<E> entryCodec, @Nullable com.mojang.serialization.Codec<E> networkEntryCodec)
MutableRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
Registry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
-
Uses of Registry in net.minecraft.world.biome.source
Fields in net.minecraft.world.biome.source declared as Registry Modifier and Type Field Description private Registry<Biome>
MultiNoiseBiomeSource.Instance. biomeRegistry
private Registry<Biome>
TheEndBiomeSource. biomeRegistry
private Registry<Biome>
VanillaLayeredBiomeSource. biomeRegistry
Fields in net.minecraft.world.biome.source with type parameters of type Registry Modifier and Type Field Description private com.mojang.datafixers.util.Function3<MultiNoiseBiomeSource.Preset,Registry<Biome>,Long,MultiNoiseBiomeSource>
MultiNoiseBiomeSource.Preset. biomeSourceFunction
private Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>>
MultiNoiseBiomeSource. instance
Methods in net.minecraft.world.biome.source that return Registry Modifier and Type Method Description Registry<Biome>
MultiNoiseBiomeSource.Instance. getBiomeRegistry()
Methods in net.minecraft.world.biome.source with parameters of type Registry Modifier and Type Method Description MultiNoiseBiomeSource
MultiNoiseBiomeSource.Preset. getBiomeSource(Registry<Biome> biomeRegistry, long seed)
static ImmutableList<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>>
MultiNoiseBiomeSource. method_35241(Registry<Biome> registry)
static MultiNoiseBiomeSource
MultiNoiseBiomeSource. method_35242(Registry<Biome> registry, long long2)
Biome
BiomeLayerSampler. sample(Registry<Biome> biomeRegistry, int x, int z)
Constructors in net.minecraft.world.biome.source with parameters of type Registry Constructor Description Instance(MultiNoiseBiomeSource.Preset preset, Registry<Biome> biomeRegistry, long seed)
TheEndBiomeSource(Registry<Biome> biomeRegistry, long seed)
TheEndBiomeSource(Registry<Biome> biomeRegistry, long seed, Biome centerBiome, Biome highlandsBiome, Biome midlandsBiome, Biome smallIslandsBiome, Biome barrensBiome)
VanillaLayeredBiomeSource(long seed, boolean legacyBiomeInitLayer, boolean largeBiomes, Registry<Biome> biomeRegistry)
Constructor parameters in net.minecraft.world.biome.source with type arguments of type Registry Constructor Description MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> instance)
MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> instance)
Preset(Identifier id, com.mojang.datafixers.util.Function3<MultiNoiseBiomeSource.Preset,Registry<Biome>,Long,MultiNoiseBiomeSource> biomeSourceFunction)
-
Uses of Registry in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension with parameters of type Registry Modifier and Type Method Description static SimpleRegistry<DimensionOptions>
DimensionType. createDefaultDimensionOptions(Registry<DimensionType> dimensionRegistry, Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
private static ChunkGenerator
DimensionType. createEndGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
private static ChunkGenerator
DimensionType. createNetherGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
-
Uses of Registry in net.minecraft.world.gen
Methods in net.minecraft.world.gen with parameters of type Registry Modifier and Type Method Description static NoiseChunkGenerator
GeneratorOptions. createOverworldGenerator(Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed)
static GeneratorOptions
GeneratorOptions. getDefaultOptions(Registry<DimensionType> registry, Registry<Biome> registry2, Registry<ChunkGeneratorSettings> registry3)
static SimpleRegistry<DimensionOptions>
GeneratorOptions. getRegistryWithReplacedOverworldGenerator(Registry<DimensionType> dimensionTypeRegistry, SimpleRegistry<DimensionOptions> optionsRegistry, ChunkGenerator overworldGenerator)
-
Uses of Registry in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk declared as Registry Modifier and Type Field Description private Registry<Biome>
DebugChunkGenerator. biomeRegistry
private Registry<Biome>
FlatChunkGeneratorConfig. biomeRegistry
Methods in net.minecraft.world.gen.chunk that return Registry Modifier and Type Method Description Registry<Biome>
DebugChunkGenerator. getBiomeRegistry()
Methods in net.minecraft.world.gen.chunk with parameters of type Registry Modifier and Type Method Description static FlatChunkGeneratorConfig
FlatChunkGeneratorConfig. getDefaultConfig(Registry<Biome> biomeRegistry)
void
ChunkGenerator. populateBiomes(Registry<Biome> biomeRegistry, Chunk chunk)
Constructors in net.minecraft.world.gen.chunk with parameters of type Registry Constructor Description DebugChunkGenerator(Registry<Biome> biomeRegistry)
FlatChunkGeneratorConfig(Registry<Biome> biomeRegistry, StructuresConfig structuresConfig, List<FlatChunkGeneratorLayer> layers, boolean hasLakes, boolean hasFeatures, Optional<Supplier<Biome>> biome)
FlatChunkGeneratorConfig(StructuresConfig structuresConfig, Registry<Biome> biomeRegistry)