Class DynamicRegistryManager.ImmutableImpl

java.lang.Object
net.minecraft.registry.DynamicRegistryManager.ImmutableImpl
All Implemented Interfaces:
DynamicRegistryManager, RegistryWrapper.WrapperLookup
Enclosing interface:
DynamicRegistryManager

public static class DynamicRegistryManager.ImmutableImpl extends Object implements DynamicRegistryManager
Mappings:
Namespace Name
official hr$c
intermediary net/minecraft/class_5455$class_6891
named net/minecraft/registry/DynamicRegistryManager$ImmutableImpl
  • Field Details

    • registries

      private final Map<? extends RegistryKey<? extends Registry<?>>,? extends Registry<?>> registries
      Mappings:
      Namespace Name Mixin selector
      official c Lhr$c;c:Ljava/util/Map;
      intermediary field_36471 Lnet/minecraft/class_5455$class_6891;field_36471:Ljava/util/Map;
      named registries Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;registries:Ljava/util/Map;
  • Constructor Details

    • ImmutableImpl

      public ImmutableImpl(List<? extends Registry<?>> registries)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhr$c;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/List;)V
    • ImmutableImpl

      public ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>,? extends Registry<?>> registries)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhr$c;<init>(Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/Map;)V
      named <init> Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/Map;)V
    • ImmutableImpl

      public ImmutableImpl(Stream<DynamicRegistryManager.Entry<?>> entryStream)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhr$c;<init>(Ljava/util/stream/Stream;)V
      intermediary <init> Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/stream/Stream;)V
      named <init> Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/stream/Stream;)V
  • Method Details

    • getOptional

      public <E> Optional<Registry<E>> getOptional(RegistryKey<? extends Registry<? extends E>> key)
      Specified by:
      getOptional in interface DynamicRegistryManager
      Mappings:
      Namespace Name Mixin selector
      official c Lhr;c(Laev;)Ljava/util/Optional;
      intermediary method_33310 Lnet/minecraft/class_5455;method_33310(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      named getOptional Lnet/minecraft/registry/DynamicRegistryManager;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
    • streamAllRegistries

      public Stream<DynamicRegistryManager.Entry<?>> streamAllRegistries()
      Specified by:
      streamAllRegistries in interface DynamicRegistryManager
      Mappings:
      Namespace Name Mixin selector
      official b Lhr;b()Ljava/util/stream/Stream;
      intermediary method_40311 Lnet/minecraft/class_5455;method_40311()Ljava/util/stream/Stream;
      named streamAllRegistries Lnet/minecraft/registry/DynamicRegistryManager;streamAllRegistries()Ljava/util/stream/Stream;