Uses of Class
net.minecraft.util.registry.SimpleRegistry
Package
Description
-
Uses of SimpleRegistry in net.minecraft.util.dynamic
Modifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<SimpleRegistry<E>>
RegistryCodec.delegate
Modifier and TypeMethodDescription<T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<SimpleRegistry<E>,
T>> RegistryCodec.decode
(com.mojang.serialization.DynamicOps<T> ops, T input) <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.Modifier and TypeMethodDescription<T> com.mojang.serialization.DataResult<T>
RegistryCodec.encode
(SimpleRegistry<E> simpleRegistry, com.mojang.serialization.DynamicOps<T> dynamicOps, T t) <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. -
Uses of SimpleRegistry in net.minecraft.util.registry
Modifier and TypeFieldDescriptionprivate final Map<? extends RegistryKey<? extends Registry<?>>,
? extends SimpleRegistry<?>> DynamicRegistryManager.Impl.registries
Modifier and TypeMethodDescriptionprivate 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) Modifier and TypeMethodDescriptionprivate static <E> SimpleRegistry<?>
DynamicRegistryManager.Impl.createRegistry
(RegistryKey<? extends Registry<?>> registryRef) Modifier and TypeMethodDescriptionstatic <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> 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) ModifierConstructorDescriptionprivate
Impl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends SimpleRegistry<?>> registries) -
Uses of SimpleRegistry in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionstatic SimpleRegistry<DimensionOptions>
DimensionType.createDefaultDimensionOptions
(Registry<DimensionType> dimensionRegistry, Registry<Biome> biomeRegistry, Registry<ChunkGeneratorSettings> chunkGeneratorSettingsRegistry, long seed) static SimpleRegistry<DimensionOptions>
DimensionOptions.method_29569
(SimpleRegistry<DimensionOptions> simpleRegistry) Modifier and TypeMethodDescriptionstatic boolean
DimensionOptions.hasDefaultSettings
(long seed, SimpleRegistry<DimensionOptions> options) static SimpleRegistry<DimensionOptions>
DimensionOptions.method_29569
(SimpleRegistry<DimensionOptions> simpleRegistry) -
Uses of SimpleRegistry in net.minecraft.world.gen
Modifier and TypeFieldDescriptionprivate final SimpleRegistry<DimensionOptions>
GeneratorOptions.options
Modifier and TypeMethodDescriptionGeneratorOptions.getDimensions()
static SimpleRegistry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworld
(SimpleRegistry<DimensionOptions> optionsRegistry, Supplier<DimensionType> overworldDimensionType, ChunkGenerator overworldGenerator) static SimpleRegistry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworldGenerator
(Registry<DimensionType> dimensionTypeRegistry, SimpleRegistry<DimensionOptions> optionsRegistry, ChunkGenerator overworldGenerator) Modifier and TypeMethodDescriptionstatic SimpleRegistry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworld
(SimpleRegistry<DimensionOptions> optionsRegistry, Supplier<DimensionType> overworldDimensionType, ChunkGenerator overworldGenerator) static SimpleRegistry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworldGenerator
(Registry<DimensionType> dimensionTypeRegistry, SimpleRegistry<DimensionOptions> optionsRegistry, ChunkGenerator overworldGenerator) ModifierConstructorDescriptionGeneratorOptions
(long seed, boolean generateStructures, boolean bonusChest, SimpleRegistry<DimensionOptions> options) private
GeneratorOptions
(long seed, boolean generateStructures, boolean bonusChest, SimpleRegistry<DimensionOptions> options, Optional<String> legacyCustomOptions)