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 esh$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 Lesh$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 Lesh$a;b:Leqh;
  • 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> Lesh$a;<init>(Leqh;)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 Lesh$a;a()Lesh$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 Lesh$a;a(Lera$a;)Lesh$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 Lerx$a;b()Lerx;