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
named net/minecraft/loot/function/SetContentsLootFunction$Builder
intermediary net/minecraft/class_134$class_135
official esg$a
  • Field Details

    • entries

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

      private final ContainerComponentModifier<?> componentModifier
      Mappings:
      Namespace Name Mixin selector
      named componentModifier Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;componentModifier:Lnet/minecraft/loot/ContainerComponentModifier;
      intermediary field_51433 Lnet/minecraft/class_134$class_135;field_51433:Lnet/minecraft/class_9666;
      official b Lesg$a;b:Leqg;
  • Constructor Details

    • Builder

      public Builder(ContainerComponentModifier<?> componentModifier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;<init>(Lnet/minecraft/loot/ContainerComponentModifier;)V
      intermediary <init> Lnet/minecraft/class_134$class_135;<init>(Lnet/minecraft/class_9666;)V
      official <init> Lesg$a;<init>(Leqg;)V
  • Method Details

    • getThisBuilder

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

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

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