Uses of Interface
net.minecraft.registry.RegistryWrapper.Impl
-
Uses of RegistryWrapper.Impl in net.minecraft.item
Modifier and TypeMethodDescriptionprivate static void
ItemGroups.addPaintings
(ItemGroup.Entries entries, RegistryWrapper.Impl<PaintingVariant> registryWrapper, Predicate<RegistryEntry<PaintingVariant>> predicate, ItemGroup.StackVisibility visibility) -
Uses of RegistryWrapper.Impl in net.minecraft.registry
Modifier and TypeMethodDescriptionprivate <T> RegistryWrapper.Impl<T>
RegistryBuilder.applyPatches
(RegistryEntryOwner<T> owner, RegistryCloner.CloneableRegistries cloneableRegistries, RegistryKey<? extends Registry<? extends T>> registryRef, RegistryWrapper.WrapperLookup patches, RegistryWrapper.WrapperLookup base, MutableObject<RegistryWrapper.WrapperLookup> lazyWrapper) (package private) static <T> RegistryWrapper.Impl<T>
RegistryBuilder.createWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, Map<RegistryKey<T>, RegistryEntry.Reference<T>> entries) protected abstract RegistryWrapper.Impl<T>
RegistryWrapper.Impl.Delegating.getBase()
Registry.getReadOnlyWrapper()
Returns a registry wrapper that does not mutate the backing registry under any circumstances.SimpleRegistry.getReadOnlyWrapper()
Returns a registry wrapper that does not mutate the backing registry under any circumstances.default RegistryWrapper.Impl<T>
Registry.getTagCreatingWrapper()
Returns a registry wrapper that creates and stores a new registry entry list when handling an unknown tag key.default <T> RegistryWrapper.Impl<T>
RegistryWrapper.WrapperLookup.getWrapperOrThrow
(RegistryKey<? extends Registry<? extends T>> registryRef) RegistryBuilder.InitializedRegistry.toWrapper
(RegistryBuilder.AnyOwner anyOwner) Modifier and TypeMethodDescriptiondefault <T> Optional<RegistryWrapper.Impl<T>>
DynamicRegistryManager.getOptionalWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef) <T> Optional<RegistryWrapper.Impl<T>>
RegistryWrapper.WrapperLookup.getOptionalWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef) Modifier and TypeMethodDescription(package private) static <T> RegistryEntryLookup<T>
RegistryBuilder.toLookup
(RegistryWrapper.Impl<T> wrapper) Modifier and TypeMethodDescriptionprivate static RegistryWrapper.WrapperLookup
RegistryBuilder.createWrapperLookup
(DynamicRegistryManager registryManager, Stream<RegistryWrapper.Impl<?>> additionalRegistries) RegistryWrapper.WrapperLookup.of
(Stream<RegistryWrapper.Impl<?>> wrappers)