Package net.minecraft.core
Interface RegistryAccess.Writable
- All Superinterfaces:
RegistryAccess
- All Known Implementing Classes:
RegistryAccess.WritableRegistryAccess
- Enclosing interface:
- RegistryAccess
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.core.RegistryAccess
RegistryAccess.Frozen, RegistryAccess.ImmutableRegistryAccess, RegistryAccess.RegistryData<E>, RegistryAccess.RegistryEntry<T>, RegistryAccess.Writable, RegistryAccess.WritableRegistryAccess
-
Field Summary
Fields inherited from interface net.minecraft.core.RegistryAccess
BUILTIN, LOGGER, NETWORK_CODEC, REGISTRIES
-
Method Summary
Modifier and TypeMethodDescription<E> Optional<WritableRegistry<E>>
ownedWritableRegistry
(ResourceKey<? extends Registry<? extends E>> p_206252_) default <E> WritableRegistry<E>
ownedWritableRegistryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_206254_) Methods inherited from interface net.minecraft.core.RegistryAccess
allElementsLifecycle, freeze, networkSafeRegistries, ownedRegistries, ownedRegistry, ownedRegistryOrThrow, registries, registry, registryOrThrow
-
Method Details
-
ownedWritableRegistry
<E> Optional<WritableRegistry<E>> ownedWritableRegistry(ResourceKey<? extends Registry<? extends E>> p_206252_) -
ownedWritableRegistryOrThrow
default <E> WritableRegistry<E> ownedWritableRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> p_206254_)
-