Class SetContentsLootFunction.Builder

All Implemented Interfaces:
LootConditionConsumingBuilder<SetContentsLootFunction.Builder>, LootFunction.Builder
Enclosing class:
SetContentsLootFunction

public static class SetContentsLootFunction.Builder extends ConditionalLootFunction.Builder<SetContentsLootFunction.Builder>
Mappings:
Namespace Name
official eek$a
intermediary net/minecraft/class_134$class_135
named net/minecraft/loot/function/SetContentsLootFunction$Builder
  • Field Details

    • entries

      private final ImmutableList.Builder<LootPoolEntry> entries
      Mappings:
      Namespace Name Mixin selector
      official a Leek$a;a:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_1104 Lnet/minecraft/class_134$class_135;field_1104:Lcom/google/common/collect/ImmutableList$Builder;
      named entries Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;entries:Lcom/google/common/collect/ImmutableList$Builder;
    • type

      private final BlockEntityType<?> type
      Mappings:
      Namespace Name Mixin selector
      official b Leek$a;b:Ldcx;
      intermediary field_34772 Lnet/minecraft/class_134$class_135;field_34772:Lnet/minecraft/class_2591;
      named type Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;type:Lnet/minecraft/block/entity/BlockEntityType;
  • Constructor Details

    • Builder

      public Builder(BlockEntityType<?> type)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leek$a;<init>(Ldcx;)V
      intermediary <init> Lnet/minecraft/class_134$class_135;<init>(Lnet/minecraft/class_2591;)V
      named <init> Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;<init>(Lnet/minecraft/block/entity/BlockEntityType;)V
  • Method Details

    • getThisBuilder

      protected SetContentsLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<SetContentsLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Leek$a;a()Leek$a;
      intermediary method_603 Lnet/minecraft/class_134$class_135;method_603()Lnet/minecraft/class_134$class_135;
      named getThisBuilder Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;
    • withEntry

      public SetContentsLootFunction.Builder withEntry(LootPoolEntry.Builder<?> entryBuilder)
      Mappings:
      Namespace Name Mixin selector
      official a Leek$a;a(Ledj$a;)Leek$a;
      intermediary method_602 Lnet/minecraft/class_134$class_135;method_602(Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_134$class_135;
      named withEntry Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;withEntry(Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;
    • build

      public LootFunction build()
      Mappings:
      Namespace Name Mixin selector
      official b Leed$a;b()Leed;
      intermediary method_515 Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
      named build Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;