Uses of Interface
net.minecraft.core.WritableRegistry
Package
Description
Classes for NeoForge's own data generation.
-
Uses of WritableRegistry in net.minecraft.core
-
Uses of WritableRegistry in net.minecraft.core.registries
Modifier and TypeFieldDescriptionprivate static final WritableRegistry
<WritableRegistry<?>> BuiltInRegistries.WRITABLE_REGISTRY
Modifier and TypeFieldDescriptionprivate static final WritableRegistry
<WritableRegistry<?>> BuiltInRegistries.WRITABLE_REGISTRY
Modifier and TypeMethodDescriptionprivate static <T,
R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister
(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_) -
Uses of WritableRegistry in net.minecraft.data.loot
Modifier and TypeMethodDescriptionprotected void
LootTableProvider.validate
(WritableRegistry<LootTable> writableregistry, ValidationContext validationcontext, ProblemReporter.Collector problemreporter$collector) -
Uses of WritableRegistry in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate final WritableRegistry
<T> RegistryDataLoader.Loader.registry
The field for theregistry
record component.Modifier and TypeMethodDescriptionRegistryDataLoader.Loader.registry()
Returns the value of theregistry
record component.Modifier and TypeMethodDescriptionprivate static <T> RegistryOps.RegistryInfo
<T> RegistryDataLoader.createInfoForNewRegistry
(WritableRegistry<T> p_256020_) (package private) static <E> void
RegistryDataLoader.loadContentsFromManager
(ResourceManager p_321535_, RegistryOps.RegistryInfoLookup p_321612_, WritableRegistry<E> p_321557_, com.mojang.serialization.Decoder<E> p_321820_, Map<ResourceKey<?>, Exception> p_321649_) (package private) static <E> void
RegistryDataLoader.loadContentsFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321633_, ResourceProvider p_326020_, RegistryOps.RegistryInfoLookup p_321801_, WritableRegistry<E> p_321671_, com.mojang.serialization.Decoder<E> p_321718_, Map<ResourceKey<?>, Exception> p_321625_) private static <E> void
RegistryDataLoader.loadElementFromResource
(WritableRegistry<E> p_326195_, com.mojang.serialization.Decoder<E> p_326476_, RegistryOps<com.google.gson.JsonElement> p_325932_, ResourceKey<E> p_326054_, Resource p_326141_, RegistrationInfo p_326033_) ModifierConstructorDescription(package private)
Loader
(RegistryDataLoader.RegistryData<T> data, WritableRegistry<T> registry, Map<ResourceKey<?>, Exception> loadingErrors) Creates an instance of aLoader
record class. -
Uses of WritableRegistry in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static <T> CompletableFuture
<WritableRegistry<?>> ReloadableServerRegistries.scheduleElementParse
(LootDataType<T> p_335741_, RegistryOps<com.google.gson.JsonElement> p_336173_, ResourceManager p_335893_, Executor p_336104_) Modifier and TypeMethodDescriptionprivate static LayeredRegistryAccess
<RegistryLayer> ReloadableServerRegistries.apply
(LayeredRegistryAccess<RegistryLayer> p_335982_, List<WritableRegistry<?>> p_336159_) private static LayeredRegistryAccess
<RegistryLayer> ReloadableServerRegistries.createUpdatedRegistries
(LayeredRegistryAccess<RegistryLayer> p_335434_, List<WritableRegistry<?>> p_336097_) -
Uses of WritableRegistry in net.neoforged.neoforge.common.data.internal
Modifier and TypeMethodDescriptionprotected void
NeoForgeLootTableProvider.validate
(WritableRegistry<LootTable> writableregistry, ValidationContext validationcontext, ProblemReporter.Collector problemreporter$collector)