Class ConditionalLootFunction.Builder<T extends ConditionalLootFunction.Builder<T>>

java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<T>
All Implemented Interfaces:
LootConditionConsumingBuilder<T>, LootFunction.Builder
Direct Known Subclasses:
ConditionalLootFunction.Joiner, CopyComponentsLootFunction.Builder, CopyNbtLootFunction.Builder, CopyStateLootFunction.Builder, EnchantRandomlyLootFunction.Builder, EnchantWithLevelsLootFunction.Builder, ExplorationMapLootFunction.Builder, LootingEnchantLootFunction.Builder, SetAttributesLootFunction.Builder, SetBannerPatternLootFunction.Builder, SetContentsLootFunction.Builder, SetEnchantmentsLootFunction.Builder, SetLoreLootFunction.Builder, SetStewEffectLootFunction.Builder
Enclosing class:
ConditionalLootFunction

public abstract static class ConditionalLootFunction.Builder<T extends ConditionalLootFunction.Builder<T>> extends Object implements LootFunction.Builder, LootConditionConsumingBuilder<T>
Mappings:
Namespace Name
named net/minecraft/loot/function/ConditionalLootFunction$Builder
intermediary net/minecraft/class_120$class_121
official erw$a
  • Field Details

    • conditionList

      private final ImmutableList.Builder<LootCondition> conditionList
      Mappings:
      Namespace Name Mixin selector
      named conditionList Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;conditionList:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_1049 Lnet/minecraft/class_120$class_121;field_1049:Lcom/google/common/collect/ImmutableList$Builder;
      official a Lerw$a;a:Lcom/google/common/collect/ImmutableList$Builder;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • conditionally

      public T conditionally(LootCondition.Builder builder)
      Specified by:
      conditionally in interface LootConditionConsumingBuilder<T extends ConditionalLootFunction.Builder<T>>
      Mappings:
      Namespace Name Mixin selector
      named conditionally Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;conditionally(Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
      intermediary method_524 Lnet/minecraft/class_120$class_121;method_524(Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_120$class_121;
      official a Lerw$a;a(Letu$a;)Lerw$a;
    • getThisConditionConsumingBuilder

      public final T getThisConditionConsumingBuilder()
      Specified by:
      getThisConditionConsumingBuilder in interface LootConditionConsumingBuilder<T extends ConditionalLootFunction.Builder<T>>
      Mappings:
      Namespace Name Mixin selector
      named getThisConditionConsumingBuilder Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;getThisConditionConsumingBuilder()Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
      intermediary method_525 Lnet/minecraft/class_120$class_121;method_525()Lnet/minecraft/class_120$class_121;
      official f Lerw$a;f()Lerw$a;
    • getThisBuilder

      protected abstract T getThisBuilder()
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;
      intermediary method_523 Lnet/minecraft/class_120$class_121;method_523()Lnet/minecraft/class_120$class_121;
      official c Lerw$a;c()Lerw$a;
    • getConditions

      protected List<LootCondition> getConditions()
      Mappings:
      Namespace Name Mixin selector
      named getConditions Lnet/minecraft/loot/function/ConditionalLootFunction$Builder;getConditions()Ljava/util/List;
      intermediary method_526 Lnet/minecraft/class_120$class_121;method_526()Ljava/util/List;
      official g Lerw$a;g()Ljava/util/List;