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 kp$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 Lkp$a;a:Laga$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 Lkp$a;b:Lgw;
      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 Lkp$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> Lkp$a;<init>(Laga$a;Lgw;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 Lkp$a;a(Ljava/lang/Object;)Lkp$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 Lkp$a;a(Lww;)Lkp$a;
      intermediary method_35922 Lnet/minecraft/class_2474$class_5124;method_35922(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2474$class_5124;
      named add Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;add(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 Lkp$a;a(Laga$e;)Lkp$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;
    • addTag

      Mappings:
      Namespace Name Mixin selector
      official b Lkp$a;b(Lww;)Lkp$a;
      intermediary method_35923 Lnet/minecraft/class_2474$class_5124;method_35923(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2474$class_5124;
      named addTag Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;addTag(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 Lkp$a;a([Ljava/lang/Object;)Lkp$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;