Class LootTable.Builder

java.lang.Object
net.minecraft.loot.LootTable.Builder
All Implemented Interfaces:
LootFunctionConsumingBuilder<LootTable.Builder>
Enclosing class:
LootTable

public static class LootTable.Builder extends Object implements LootFunctionConsumingBuilder<LootTable.Builder>
Mappings:
Namespace Name
named net/minecraft/loot/LootTable$Builder
intermediary net/minecraft/class_52$class_53
official eqo$a
  • Field Details

    • pools

      private final ImmutableList.Builder<LootPool> pools
      Mappings:
      Namespace Name Mixin selector
      named pools Lnet/minecraft/loot/LootTable$Builder;pools:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_949 Lnet/minecraft/class_52$class_53;field_949:Lcom/google/common/collect/ImmutableList$Builder;
      official a Leqo$a;a:Lcom/google/common/collect/ImmutableList$Builder;
    • functions

      private final ImmutableList.Builder<LootFunction> functions
      Mappings:
      Namespace Name Mixin selector
      named functions Lnet/minecraft/loot/LootTable$Builder;functions:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_951 Lnet/minecraft/class_52$class_53;field_951:Lcom/google/common/collect/ImmutableList$Builder;
      official b Leqo$a;b:Lcom/google/common/collect/ImmutableList$Builder;
    • type

      private LootContextType type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/loot/LootTable$Builder;type:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_950 Lnet/minecraft/class_52$class_53;field_950:Lnet/minecraft/class_176;
      official c Leqo$a;c:Letd;
    • randomSequenceId

      private Optional<Identifier> randomSequenceId
      Mappings:
      Namespace Name Mixin selector
      named randomSequenceId Lnet/minecraft/loot/LootTable$Builder;randomSequenceId:Ljava/util/Optional;
      intermediary field_44893 Lnet/minecraft/class_52$class_53;field_44893:Ljava/util/Optional;
      official d Leqo$a;d:Ljava/util/Optional;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • pool

      public LootTable.Builder pool(LootPool.Builder poolBuilder)
      Mappings:
      Namespace Name Mixin selector
      named pool Lnet/minecraft/loot/LootTable$Builder;pool(Lnet/minecraft/loot/LootPool$Builder;)Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_336 Lnet/minecraft/class_52$class_53;method_336(Lnet/minecraft/class_55$class_56;)Lnet/minecraft/class_52$class_53;
      official a Leqo$a;a(Leqn$a;)Leqo$a;
    • type

      public LootTable.Builder type(LootContextType type)
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/loot/LootTable$Builder;type(Lnet/minecraft/loot/context/LootContextType;)Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_334 Lnet/minecraft/class_52$class_53;method_334(Lnet/minecraft/class_176;)Lnet/minecraft/class_52$class_53;
      official a Leqo$a;a(Letd;)Leqo$a;
    • randomSequenceId

      public LootTable.Builder randomSequenceId(Identifier randomSequenceId)
      Mappings:
      Namespace Name Mixin selector
      named randomSequenceId Lnet/minecraft/loot/LootTable$Builder;randomSequenceId(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_51883 Lnet/minecraft/class_52$class_53;method_51883(Lnet/minecraft/class_2960;)Lnet/minecraft/class_52$class_53;
      official a Leqo$a;a(Lalf;)Leqo$a;
    • apply

      public LootTable.Builder apply(LootFunction.Builder builder)
      Specified by:
      apply in interface LootFunctionConsumingBuilder<LootTable.Builder>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/loot/LootTable$Builder;apply(Lnet/minecraft/loot/function/LootFunction$Builder;)Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_335 Lnet/minecraft/class_52$class_53;method_335(Lnet/minecraft/class_117$class_118;)Lnet/minecraft/class_52$class_53;
      official a Leqo$a;a(Lerw$a;)Leqo$a;
    • getThisFunctionConsumingBuilder

      public LootTable.Builder getThisFunctionConsumingBuilder()
      Specified by:
      getThisFunctionConsumingBuilder in interface LootFunctionConsumingBuilder<LootTable.Builder>
      Mappings:
      Namespace Name Mixin selector
      named getThisFunctionConsumingBuilder Lnet/minecraft/loot/LootTable$Builder;getThisFunctionConsumingBuilder()Lnet/minecraft/loot/LootTable$Builder;
      intermediary method_337 Lnet/minecraft/class_52$class_53;method_337()Lnet/minecraft/class_52$class_53;
      official a Leqo$a;a()Leqo$a;
    • build

      public LootTable build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/loot/LootTable$Builder;build()Lnet/minecraft/loot/LootTable;
      intermediary method_338 Lnet/minecraft/class_52$class_53;method_338()Lnet/minecraft/class_52;
      official b Leqo$a;b()Leqo;