Class DataTracker.Builder

java.lang.Object
net.minecraft.entity.data.DataTracker.Builder
Enclosing class:
DataTracker

public static class DataTracker.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/entity/data/DataTracker$Builder
intermediary net/minecraft/class_2945$class_9222
official ajt$a
  • Field Details

    • entity

      private final DataTracked entity
      Mappings:
      Namespace Name Mixin selector
      named entity Lnet/minecraft/entity/data/DataTracker$Builder;entity:Lnet/minecraft/entity/data/DataTracked;
      intermediary field_49022 Lnet/minecraft/class_2945$class_9222;field_49022:Lnet/minecraft/class_9221;
      official a Lajt$a;a:Lajs;
    • entries

      private final DataTracker.Entry<?>[] entries
      Mappings:
      Namespace Name Mixin selector
      named entries Lnet/minecraft/entity/data/DataTracker$Builder;entries:[Lnet/minecraft/entity/data/DataTracker$Entry;
      intermediary field_49023 Lnet/minecraft/class_2945$class_9222;field_49023:[Lnet/minecraft/class_2945$class_2946;
      official b Lajt$a;b:[Lajt$b;
  • Constructor Details

    • Builder

      public Builder(DataTracked entity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/data/DataTracker$Builder;<init>(Lnet/minecraft/entity/data/DataTracked;)V
      intermediary <init> Lnet/minecraft/class_2945$class_9222;<init>(Lnet/minecraft/class_9221;)V
      official <init> Lajt$a;<init>(Lajs;)V
  • Method Details

    • add

      public <T> DataTracker.Builder add(TrackedData<T> data, T value)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/entity/data/DataTracker$Builder;add(Lnet/minecraft/entity/data/TrackedData;Ljava/lang/Object;)Lnet/minecraft/entity/data/DataTracker$Builder;
      intermediary method_56912 Lnet/minecraft/class_2945$class_9222;method_56912(Lnet/minecraft/class_2940;Ljava/lang/Object;)Lnet/minecraft/class_2945$class_9222;
      official a Lajt$a;a(Lajp;Ljava/lang/Object;)Lajt$a;
    • build

      public DataTracker build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/entity/data/DataTracker$Builder;build()Lnet/minecraft/entity/data/DataTracker;
      intermediary method_56911 Lnet/minecraft/class_2945$class_9222;method_56911()Lnet/minecraft/class_2945;
      official a Lajt$a;a()Lajt;