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 kz$a
intermediary net/minecraft/class_2474$class_5124
named net/minecraft/data/server/AbstractTagProvider$ObjectBuilder
  • Field Details

    • builder

      private final Tag.Builder builder
      Mappings:
      Namespace Name Mixin selector
      official a Lkz$a;a:Laie$a;
      intermediary field_23960 Lnet/minecraft/class_2474$class_5124;field_23960:Lnet/minecraft/class_3494$class_3495;
      named builder Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;builder:Lnet/minecraft/tag/Tag$Builder;
    • registry

      private final Registry<T> registry
      Mappings:
      Namespace Name Mixin selector
      official b Lkz$a;b:Lhb;
      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;
    • source

      private final String source
      Mappings:
      Namespace Name Mixin selector
      official c Lkz$a;c:Ljava/lang/String;
      intermediary field_23962 Lnet/minecraft/class_2474$class_5124;field_23962:Ljava/lang/String;
      named source Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;source:Ljava/lang/String;
  • Constructor Details

    • ObjectBuilder

      ObjectBuilder(Tag.Builder builder, Registry<T> registry, String source)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkz$a;<init>(Laie$a;Lhb;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2474$class_5124;<init>(Lnet/minecraft/class_3494$class_3495;Lnet/minecraft/class_2378;Ljava/lang/String;)V
      named <init> Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;<init>(Lnet/minecraft/tag/Tag$Builder;Lnet/minecraft/util/registry/Registry;Ljava/lang/String;)V
  • Method Details

    • add

      public AbstractTagProvider.ObjectBuilder<T> add(T element)
      Mappings:
      Namespace Name Mixin selector
      official a Lkz$a;a(Ljava/lang/Object;)Lkz$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 Lkz$a;a([Lys;)Lkz$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 Lkz$a;a(Lyt;)Lkz$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 Lkz$a;a(Laif;)Lkz$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 Lkz$a;b(Lyt;)Lkz$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 Lkz$a;a([Ljava/lang/Object;)Lkz$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;