Uses of Class
net.minecraft.util.registry.SimpleRegistry
Package
Description
-
Uses of SimpleRegistry in net.minecraft.util.registry
Modifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<SimpleRegistry<E>>
SimpleRegistryCodec.directCodec
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends SimpleRegistry<?>> DynamicRegistries.Impl.registries
Modifier and TypeMethodDescriptionprivate static <K extends RegistryKey<? extends Registry<?>>,
V extends SimpleRegistry<?>>
com.mojang.serialization.Codec<DynamicRegistries.Impl>DynamicRegistries.Impl.captureMap
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_243628_0_) Modifier and TypeMethodDescriptionprivate static <E> SimpleRegistry<?>
DynamicRegistries.Impl.createRegistry
(RegistryKey<? extends Registry<?>> p_243638_0_) Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.dataPackCodec
(RegistryKey<? extends Registry<T>> p_241744_0_, com.mojang.serialization.Lifecycle p_241744_1_, com.mojang.serialization.Codec<T> p_241744_2_) <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<SimpleRegistry<E>,
T>> SimpleRegistryCodec.decode
(com.mojang.serialization.DynamicOps<T> p_decode_1_, T p_decode_2_) <E> com.mojang.serialization.DataResult<SimpleRegistry<E>>
WorldSettingsImport.decodeElements
(SimpleRegistry<E> p_241797_1_, RegistryKey<? extends Registry<E>> p_241797_2_, com.mojang.serialization.Codec<E> p_241797_3_) static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.directCodec
(RegistryKey<? extends Registry<T>> p_241745_0_, com.mojang.serialization.Lifecycle p_241745_1_, com.mojang.serialization.Codec<T> p_241745_2_) static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.networkCodec
(RegistryKey<? extends Registry<T>> p_243539_0_, com.mojang.serialization.Lifecycle p_243539_1_, com.mojang.serialization.Codec<T> p_243539_2_) Modifier and TypeMethodDescription<E> com.mojang.serialization.DataResult<SimpleRegistry<E>>
WorldSettingsImport.decodeElements
(SimpleRegistry<E> p_241797_1_, RegistryKey<? extends Registry<E>> p_241797_2_, com.mojang.serialization.Codec<E> p_241797_3_) <T> com.mojang.serialization.DataResult<T>
SimpleRegistryCodec.encode
(SimpleRegistry<E> p_encode_1_, com.mojang.serialization.DynamicOps<T> p_encode_2_, T p_encode_3_) ModifierConstructorDescriptionprivate
Impl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends SimpleRegistry<?>> p_i242074_1_) -
Uses of SimpleRegistry in net.minecraft.world
Modifier and TypeMethodDescriptionstatic SimpleRegistry<Dimension>
DimensionType.defaultDimensions
(Registry<DimensionType> p_242718_0_, Registry<Biome> p_242718_1_, Registry<DimensionSettings> p_242718_2_, long p_242718_3_) static SimpleRegistry<Dimension>
Dimension.sortMap
(SimpleRegistry<Dimension> p_236062_0_) Modifier and TypeMethodDescriptionstatic SimpleRegistry<Dimension>
Dimension.sortMap
(SimpleRegistry<Dimension> p_236062_0_) static boolean
Dimension.stable
(long p_236060_0_, SimpleRegistry<Dimension> p_236060_2_) -
Uses of SimpleRegistry in net.minecraft.world.gen.settings
Modifier and TypeFieldDescriptionprivate final SimpleRegistry<Dimension>
DimensionGeneratorSettings.dimensions
Modifier and TypeMethodDescriptionDimensionGeneratorSettings.dimensions()
static SimpleRegistry<Dimension>
DimensionGeneratorSettings.withOverworld
(Registry<DimensionType> p_242749_0_, SimpleRegistry<Dimension> p_242749_1_, ChunkGenerator p_242749_2_) static SimpleRegistry<Dimension>
DimensionGeneratorSettings.withOverworld
(SimpleRegistry<Dimension> p_241520_0_, Supplier<DimensionType> p_241520_1_, ChunkGenerator p_241520_2_) Modifier and TypeMethodDescriptionstatic SimpleRegistry<Dimension>
DimensionGeneratorSettings.withOverworld
(Registry<DimensionType> p_242749_0_, SimpleRegistry<Dimension> p_242749_1_, ChunkGenerator p_242749_2_) static SimpleRegistry<Dimension>
DimensionGeneratorSettings.withOverworld
(SimpleRegistry<Dimension> p_241520_0_, Supplier<DimensionType> p_241520_1_, ChunkGenerator p_241520_2_) ModifierConstructorDescriptionDimensionGeneratorSettings
(long p_i231914_1_, boolean p_i231914_3_, boolean p_i231914_4_, SimpleRegistry<Dimension> p_i231914_5_) private
DimensionGeneratorSettings
(long p_i231915_1_, boolean p_i231915_3_, boolean p_i231915_4_, SimpleRegistry<Dimension> p_i231915_5_, Optional<String> p_i231915_6_) -
Uses of SimpleRegistry in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final LazyValue<com.mojang.serialization.Codec<SimpleRegistry<Dimension>>>
ForgeHooks.CODEC
-
Uses of SimpleRegistry in net.minecraftforge.registries
Modifier and TypeClassDescription(package private) class
NamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>
(package private) class
NamespacedWrapper<T extends IForgeRegistryEntry<T>>
Modifier and TypeMethodDescriptionstatic <T extends IForgeRegistryEntry<T>>
SimpleRegistry<T>GameData.getWrapper
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)