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 ks$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 Lks$a;a:Lahl$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 Lks$a;b:Lgx;
      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 Lks$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> Lks$a;<init>(Lahl$a;Lgx;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 Lks$a;a(Ljava/lang/Object;)Lks$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;
    • addOptional

      Mappings:
      Namespace Name Mixin selector
      official a Lks$a;a(Lyb;)Lks$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(Tag.Identified<T> identifiedTag)
      Mappings:
      Namespace Name Mixin selector
      official a Lks$a;a(Lahl$e;)Lks$a;
      intermediary method_26792 Lnet/minecraft/class_2474$class_5124;method_26792(Lnet/minecraft/class_3494$class_5123;)Lnet/minecraft/class_2474$class_5124;
      named addTag Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;addTag(Lnet/minecraft/tag/Tag$Identified;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;
    • addOptionalTag

      public AbstractTagProvider.ObjectBuilder<T> addOptionalTag(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official b Lks$a;b(Lyb;)Lks$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 Lks$a;a([Ljava/lang/Object;)Lks$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;