Class DataPool.Builder<E>

java.lang.Object
net.minecraft.util.collection.DataPool.Builder<E>
Enclosing class:
DataPool<E>

public static class DataPool.Builder<E> extends Object
Mappings:
Namespace Name
named net/minecraft/util/collection/DataPool$Builder
intermediary net/minecraft/class_6005$class_6006
official bpa$a
  • Field Details

    • entries

      private final ImmutableList.Builder<Weighted.Present<E>> entries
      Mappings:
      Namespace Name Mixin selector
      named entries Lnet/minecraft/util/collection/DataPool$Builder;entries:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_29926 Lnet/minecraft/class_6005$class_6006;field_29926:Lcom/google/common/collect/ImmutableList$Builder;
      official a Lbpa$a;a:Lcom/google/common/collect/ImmutableList$Builder;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • add

      public DataPool.Builder<E> add(E object)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/collection/DataPool$Builder;add(Ljava/lang/Object;)Lnet/minecraft/util/collection/DataPool$Builder;
      intermediary method_54453 Lnet/minecraft/class_6005$class_6006;method_54453(Ljava/lang/Object;)Lnet/minecraft/class_6005$class_6006;
      official a Lbpa$a;a(Ljava/lang/Object;)Lbpa$a;
    • add

      public DataPool.Builder<E> add(E object, int weight)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/collection/DataPool$Builder;add(Ljava/lang/Object;I)Lnet/minecraft/util/collection/DataPool$Builder;
      intermediary method_34975 Lnet/minecraft/class_6005$class_6006;method_34975(Ljava/lang/Object;I)Lnet/minecraft/class_6005$class_6006;
      official a Lbpa$a;a(Ljava/lang/Object;I)Lbpa$a;
    • build

      public DataPool<E> build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/util/collection/DataPool$Builder;build()Lnet/minecraft/util/collection/DataPool;
      intermediary method_34974 Lnet/minecraft/class_6005$class_6006;method_34974()Lnet/minecraft/class_6005;
      official a Lbpa$a;a()Lbpa;