Uses of Class
net.minecraft.util.registry.SimpleRegistry
-
Packages that use SimpleRegistry Package Description net.minecraft.util.registry net.minecraft.world net.minecraft.world.gen.settings net.minecraftforge.common net.minecraftforge.registries -
-
Uses of SimpleRegistry in net.minecraft.util.registry
Subclasses of SimpleRegistry in net.minecraft.util.registry Modifier and Type Class Description class
DefaultedRegistry<T>
Fields in net.minecraft.util.registry with type parameters of type SimpleRegistry Modifier and Type Field Description private com.mojang.serialization.Codec<SimpleRegistry<E>>
SimpleRegistryCodec. directCodec
private java.util.Map<? extends RegistryKey<? extends Registry<?>>,? extends SimpleRegistry<?>>
DynamicRegistries.Impl. registries
Methods in net.minecraft.util.registry with type parameters of type SimpleRegistry Modifier and Type Method Description private 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_)
Methods in net.minecraft.util.registry that return SimpleRegistry Modifier and Type Method Description private static <E> SimpleRegistry<?>
DynamicRegistries.Impl. createRegistry(RegistryKey<? extends Registry<?>> p_243638_0_)
Methods in net.minecraft.util.registry that return types with arguments of type SimpleRegistry Modifier and Type Method Description static <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_)
Methods in net.minecraft.util.registry with parameters of type SimpleRegistry Modifier and Type Method Description <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_)
Constructor parameters in net.minecraft.util.registry with type arguments of type SimpleRegistry Constructor Description Impl(java.util.Map<? extends RegistryKey<? extends Registry<?>>,? extends SimpleRegistry<?>> p_i242074_1_)
-
Uses of SimpleRegistry in net.minecraft.world
Methods in net.minecraft.world that return SimpleRegistry Modifier and Type Method Description static 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_)
Methods in net.minecraft.world with parameters of type SimpleRegistry Modifier and Type Method Description static 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
Fields in net.minecraft.world.gen.settings declared as SimpleRegistry Modifier and Type Field Description private SimpleRegistry<Dimension>
DimensionGeneratorSettings. dimensions
Methods in net.minecraft.world.gen.settings that return SimpleRegistry Modifier and Type Method Description SimpleRegistry<Dimension>
DimensionGeneratorSettings. 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_, java.util.function.Supplier<DimensionType> p_241520_1_, ChunkGenerator p_241520_2_)
Methods in net.minecraft.world.gen.settings with parameters of type SimpleRegistry Modifier and Type Method Description 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_, java.util.function.Supplier<DimensionType> p_241520_1_, ChunkGenerator p_241520_2_)
Constructors in net.minecraft.world.gen.settings with parameters of type SimpleRegistry Constructor Description DimensionGeneratorSettings(long p_i231914_1_, boolean p_i231914_3_, boolean p_i231914_4_, SimpleRegistry<Dimension> p_i231914_5_)
DimensionGeneratorSettings(long p_i231915_1_, boolean p_i231915_3_, boolean p_i231915_4_, SimpleRegistry<Dimension> p_i231915_5_, java.util.Optional<java.lang.String> p_i231915_6_)
-
Uses of SimpleRegistry in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type SimpleRegistry Modifier and Type Field Description private static LazyValue<com.mojang.serialization.Codec<SimpleRegistry<Dimension>>>
ForgeHooks. CODEC
-
Uses of SimpleRegistry in net.minecraftforge.registries
Subclasses of SimpleRegistry in net.minecraftforge.registries Modifier and Type Class Description (package private) class
NamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>
(package private) class
NamespacedWrapper<T extends IForgeRegistryEntry<T>>
Methods in net.minecraftforge.registries that return SimpleRegistry Modifier and Type Method Description static <T extends IForgeRegistryEntry<T>>
SimpleRegistry<T>GameData. getWrapper(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)
-