Class TagManager.Builder

java.lang.Object
net.minecraft.tag.TagManager.Builder
Enclosing class:
TagManager

public static class TagManager.Builder extends Object
Mappings:
Namespace Name
official agc$a
intermediary net/minecraft/class_5415$class_5749
named net/minecraft/tag/TagManager$Builder
  • Field Details

    • groups

      private final ImmutableMap.Builder<RegistryKey<? extends Registry<?>>,​TagGroup<?>> groups
      Mappings:
      Namespace Name Mixin selector
      official a Lagc$a;a:Lcom/google/common/collect/ImmutableMap$Builder;
      intermediary field_28310 Lnet/minecraft/class_5415$class_5749;field_28310:Lcom/google/common/collect/ImmutableMap$Builder;
      named groups Lnet/minecraft/tag/TagManager$Builder;groups:Lcom/google/common/collect/ImmutableMap$Builder;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • add

      public <T> TagManager.Builder add(RegistryKey<? extends Registry<? extends T>> type, TagGroup<T> tagGroup)
      Mappings:
      Namespace Name Mixin selector
      official a Lagc$a;a(Lwv;Lagb;)Lagc$a;
      intermediary method_33172 Lnet/minecraft/class_5415$class_5749;method_33172(Lnet/minecraft/class_5321;Lnet/minecraft/class_5414;)Lnet/minecraft/class_5415$class_5749;
      named add Lnet/minecraft/tag/TagManager$Builder;add(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/tag/TagGroup;)Lnet/minecraft/tag/TagManager$Builder;
    • build

      public TagManager build()
      Mappings:
      Namespace Name Mixin selector
      official a Lagc$a;a()Lagc;
      intermediary method_33171 Lnet/minecraft/class_5415$class_5749;method_33171()Lnet/minecraft/class_5415;
      named build Lnet/minecraft/tag/TagManager$Builder;build()Lnet/minecraft/tag/TagManager;