Class SetAttributesLootFunction.Builder

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

public static class SetAttributesLootFunction.Builder extends ConditionalLootFunction.Builder<SetAttributesLootFunction.Builder>
Mappings:
Namespace Name
named net/minecraft/loot/function/SetAttributesLootFunction$Builder
intermediary net/minecraft/class_137$class_6155
official etk$a
  • Field Details

    • replace

      private final boolean replace
      Mappings:
      Namespace Name Mixin selector
      named replace Lnet/minecraft/loot/function/SetAttributesLootFunction$Builder;replace:Z
      intermediary field_51361 Lnet/minecraft/class_137$class_6155;field_51361:Z
      official a Letk$a;a:Z
    • attributes

      private final List<SetAttributesLootFunction.Attribute> attributes
      Mappings:
      Namespace Name Mixin selector
      named attributes Lnet/minecraft/loot/function/SetAttributesLootFunction$Builder;attributes:Ljava/util/List;
      intermediary field_31855 Lnet/minecraft/class_137$class_6155;field_31855:Ljava/util/List;
      official b Letk$a;b:Ljava/util/List;
  • Constructor Details

    • Builder

      public Builder(boolean replace)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/SetAttributesLootFunction$Builder;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_137$class_6155;<init>(Z)V
      official <init> Letk$a;<init>(Z)V
    • Builder

      public Builder()
  • Method Details

    • getThisBuilder

      protected SetAttributesLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<SetAttributesLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/function/SetAttributesLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetAttributesLootFunction$Builder;
      intermediary method_35526 Lnet/minecraft/class_137$class_6155;method_35526()Lnet/minecraft/class_137$class_6155;
      official a Letk$a;a()Letk$a;
    • attribute

      Mappings:
      Namespace Name Mixin selector
      named attribute Lnet/minecraft/loot/function/SetAttributesLootFunction$Builder;attribute(Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;)Lnet/minecraft/loot/function/SetAttributesLootFunction$Builder;
      intermediary method_35527 Lnet/minecraft/class_137$class_6155;method_35527(Lnet/minecraft/class_137$class_6156;)Lnet/minecraft/class_137$class_6155;
      official a Letk$a;a(Letk$c;)Letk$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 Letf$a;b()Letf;