Class AbstractTagProvider.ObjectBuilder<T>

java.lang.Object
net.minecraft.data.server.AbstractTagProvider.ObjectBuilder<T>
Enclosing class:
AbstractTagProvider<T>

protected static class AbstractTagProvider.ObjectBuilder<T> extends Object
Mappings:
Namespace Name
official lu$a
intermediary net/minecraft/class_2474$class_5124
named net/minecraft/data/server/AbstractTagProvider$ObjectBuilder
  • Field Details

    • builder

      private final TagBuilder builder
      Mappings:
      Namespace Name Mixin selector
      official a Llu$a;a:Lakw;
      intermediary field_23960 Lnet/minecraft/class_2474$class_5124;field_23960:Lnet/minecraft/class_3495;
      named builder Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;builder:Lnet/minecraft/tag/TagBuilder;
    • registry

      private final Registry<T> registry
      Mappings:
      Namespace Name Mixin selector
      official b Llu$a;b:Lhm;
      intermediary field_23961 Lnet/minecraft/class_2474$class_5124;field_23961:Lnet/minecraft/class_2378;
      named registry Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;registry:Lnet/minecraft/util/registry/Registry;
  • Constructor Details

    • ObjectBuilder

      ObjectBuilder(TagBuilder builder, Registry<T> registry)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llu$a;<init>(Lakw;Lhm;)V
      intermediary <init> Lnet/minecraft/class_2474$class_5124;<init>(Lnet/minecraft/class_3495;Lnet/minecraft/class_2378;)V
      named <init> Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;<init>(Lnet/minecraft/tag/TagBuilder;Lnet/minecraft/util/registry/Registry;)V
  • Method Details

    • add

      public AbstractTagProvider.ObjectBuilder<T> add(T element)
      Mappings:
      Namespace Name Mixin selector
      official a Llu$a;a(Ljava/lang/Object;)Llu$a;
      intermediary method_26793 Lnet/minecraft/class_2474$class_5124;method_26793(Ljava/lang/Object;)Lnet/minecraft/class_2474$class_5124;
      named add Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;add(Ljava/lang/Object;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;
    • add

      Mappings:
      Namespace Name Mixin selector
      official a Llu$a;a([Laba;)Llu$a;
      intermediary method_40565 Lnet/minecraft/class_2474$class_5124;method_40565([Lnet/minecraft/class_5321;)Lnet/minecraft/class_2474$class_5124;
      named add Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;add([Lnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;
    • addOptional

      Mappings:
      Namespace Name Mixin selector
      official a Llu$a;a(Labb;)Llu$a;
      intermediary method_35922 Lnet/minecraft/class_2474$class_5124;method_35922(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2474$class_5124;
      named addOptional Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;addOptional(Lnet/minecraft/util/Identifier;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;
    • addTag

      public AbstractTagProvider.ObjectBuilder<T> addTag(TagKey<T> identifiedTag)
      Mappings:
      Namespace Name Mixin selector
      official a Llu$a;a(Lakz;)Llu$a;
      intermediary method_26792 Lnet/minecraft/class_2474$class_5124;method_26792(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2474$class_5124;
      named addTag Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;addTag(Lnet/minecraft/tag/TagKey;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;
    • addOptionalTag

      public AbstractTagProvider.ObjectBuilder<T> addOptionalTag(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official b Llu$a;b(Labb;)Llu$a;
      intermediary method_35923 Lnet/minecraft/class_2474$class_5124;method_35923(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2474$class_5124;
      named addOptionalTag Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;addOptionalTag(Lnet/minecraft/util/Identifier;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;
    • add

      @SafeVarargs public final AbstractTagProvider.ObjectBuilder<T> add(T[] elements)
      Mappings:
      Namespace Name Mixin selector
      official a Llu$a;a([Ljava/lang/Object;)Llu$a;
      intermediary method_26795 Lnet/minecraft/class_2474$class_5124;method_26795([Ljava/lang/Object;)Lnet/minecraft/class_2474$class_5124;
      named add Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;add([Ljava/lang/Object;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;