Uses of Class
net.minecraft.resources.RegistryOps
-
Uses of RegistryOps in net.minecraft.resources
Modifier and TypeMethodDescriptionstatic <T> RegistryOps<T>
RegistryOps.create
(com.mojang.serialization.DynamicOps<T> p_206822_, RegistryAccess p_206823_) static <T> RegistryOps<T>
RegistryOps.createAndLoad
(com.mojang.serialization.DynamicOps<T> p_206818_, RegistryAccess.Writable p_206819_, RegistryResourceAccess p_206820_) static <T> RegistryOps<T>
RegistryOps.createAndLoad
(com.mojang.serialization.DynamicOps<T> p_206814_, RegistryAccess.Writable p_206815_, ResourceManager p_206816_) -
Uses of RegistryOps in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionstatic <T> JsonCodecProvider<T>
JsonCodecProvider.forDatapackRegistry
(DataGenerator dataGenerator, ExistingFileHelper existingFileHelper, String modid, RegistryOps<com.google.gson.JsonElement> registryOps, ResourceKey<Registry<T>> registryKey, Map<ResourceLocation, T> entries) Returns DatapackRegistryProvider that encodes using the registered loading codec for the provided registry key.