Class AbstractTagProvider.ObjectBuilder<T>

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

public static class AbstractTagProvider.ObjectBuilder<T>
extends Object
Mappings:
Namespace Name
official kf$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 Lkf$a;a:Lafc$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 Lkf$a;b:Lgn;
      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 Lkf$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

      private ObjectBuilder​(Tag.Builder builder, Registry<T> registry, String source)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkf$a;<init>(Lafc$a;Lgn;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 Lkf$a;a(Ljava/lang/Object;)Lkf$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;
    • addTag

      public AbstractTagProvider.ObjectBuilder<T> addTag​(Tag.Identified<T> identifiedTag)
      Mappings:
      Namespace Name Mixin selector
      official a Lkf$a;a(Lafc$e;)Lkf$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;
    • add

      @SafeVarargs public final AbstractTagProvider.ObjectBuilder<T> add​(T[] elements)
      Mappings:
      Namespace Name Mixin selector
      official a Lkf$a;a([Ljava/lang/Object;)Lkf$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;