Class ValueLookupTagProvider.ObjectBuilder<T>

java.lang.Object
net.minecraft.data.server.tag.TagProvider.ProvidedTagBuilder<T>
net.minecraft.data.server.tag.ValueLookupTagProvider.ObjectBuilder<T>
Enclosing class:
ValueLookupTagProvider<T>

protected static class ValueLookupTagProvider.ObjectBuilder<T> extends TagProvider.ProvidedTagBuilder<T>
Mappings:
Namespace Name
official ne$a
intermediary net/minecraft/class_7889$class_7890
named net/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder
  • Field Details

    • valueToKey

      private final Function<T,RegistryKey<T>> valueToKey
      Mappings:
      Namespace Name Mixin selector
      official a Lne$a;a:Ljava/util/function/Function;
      intermediary field_40955 Lnet/minecraft/class_7889$class_7890;field_40955:Ljava/util/function/Function;
      named valueToKey Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;valueToKey:Ljava/util/function/Function;
  • Constructor Details

    • ObjectBuilder

      ObjectBuilder(TagBuilder builder, Function<T,RegistryKey<T>> valueToKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lne$a;<init>(Lans;Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_7889$class_7890;<init>(Lnet/minecraft/class_3495;Ljava/util/function/Function;)V
      named <init> Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;<init>(Lnet/minecraft/registry/tag/TagBuilder;Ljava/util/function/Function;)V
  • Method Details

    • addTag

      public ValueLookupTagProvider.ObjectBuilder<T> addTag(TagKey<T> tagKey)
      Overrides:
      addTag in class TagProvider.ProvidedTagBuilder<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lne$a;a(Lanv;)Lne$a;
      intermediary method_46828 Lnet/minecraft/class_7889$class_7890;method_46828(Lnet/minecraft/class_6862;)Lnet/minecraft/class_7889$class_7890;
      named addTag Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;addTag(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;
    • add

      public final ValueLookupTagProvider.ObjectBuilder<T> add(T value)
      Mappings:
      Namespace Name Mixin selector
      official a Lne$a;a(Ljava/lang/Object;)Lne$a;
      intermediary method_46829 Lnet/minecraft/class_7889$class_7890;method_46829(Ljava/lang/Object;)Lnet/minecraft/class_7889$class_7890;
      named add Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;add(Ljava/lang/Object;)Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;
    • add

      @SafeVarargs public final ValueLookupTagProvider.ObjectBuilder<T> add(T[] values)
      Mappings:
      Namespace Name Mixin selector
      official a Lne$a;a([Ljava/lang/Object;)Lne$a;
      intermediary method_46830 Lnet/minecraft/class_7889$class_7890;method_46830([Ljava/lang/Object;)Lnet/minecraft/class_7889$class_7890;
      named add Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;add([Ljava/lang/Object;)Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;