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

    • entries

      private final List<LootPoolEntry> entries
      Mappings:
      Namespace Name Mixin selector
      official a Ldsx$a;a:Ljava/util/List;
      intermediary field_1104 Lnet/minecraft/class_134$class_135;field_1104:Ljava/util/List;
      named entries Lnet/minecraft/loot/function/SetContentsLootFunction$Builder;entries:Ljava/util/List;
    • type

      private final BlockEntityType<?> type
      Mappings:
      Namespace Name Mixin selector
      official b Ldsx$a;b:Lcsn;
      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> Ldsx$a;<init>(Lcsn;)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 Ldsx$a;a()Ldsx$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 Ldsx$a;a(Ldry$a;)Ldsx$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 Ldsr$a;b()Ldsr;
      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;