Class SetAttributesLootFunction.AttributeBuilder

java.lang.Object
net.minecraft.loot.function.SetAttributesLootFunction.AttributeBuilder
Enclosing class:
SetAttributesLootFunction

public static class SetAttributesLootFunction.AttributeBuilder extends Object
Mappings:
Namespace Name
named net/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder
intermediary net/minecraft/class_137$class_6156
official etk$c
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;id:Lnet/minecraft/util/Identifier;
      intermediary field_31860 Lnet/minecraft/class_137$class_6156;field_31860:Lnet/minecraft/class_2960;
      official a Letk$c;a:Lakr;
    • attribute

      private final RegistryEntry<EntityAttribute> attribute
      Mappings:
      Namespace Name Mixin selector
      named attribute Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;attribute:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_31857 Lnet/minecraft/class_137$class_6156;field_31857:Lnet/minecraft/class_6880;
      official b Letk$c;b:Ljm;
    • operation

      private final EntityAttributeModifier.Operation operation
      Mappings:
      Namespace Name Mixin selector
      named operation Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;operation:Lnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;
      intermediary field_31858 Lnet/minecraft/class_137$class_6156;field_31858:Lnet/minecraft/class_1322$class_1323;
      official c Letk$c;c:Lbuu$a;
    • amount

      private final LootNumberProvider amount
      Mappings:
      Namespace Name Mixin selector
      named amount Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;amount:Lnet/minecraft/loot/provider/number/LootNumberProvider;
      intermediary field_31859 Lnet/minecraft/class_137$class_6156;field_31859:Lnet/minecraft/class_5658;
      official d Letk$c;d:Levy;
    • slots

      private final Set<AttributeModifierSlot> slots
      Mappings:
      Namespace Name Mixin selector
      named slots Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;slots:Ljava/util/Set;
      intermediary field_31861 Lnet/minecraft/class_137$class_6156;field_31861:Ljava/util/Set;
      official e Letk$c;e:Ljava/util/Set;
  • Constructor Details

    • AttributeBuilder

      public AttributeBuilder(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
      intermediary <init> Lnet/minecraft/class_137$class_6156;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_6880;Lnet/minecraft/class_1322$class_1323;Lnet/minecraft/class_5658;)V
      official <init> Letk$c;<init>(Lakr;Ljm;Lbuu$a;Levy;)V
  • Method Details

    • slot

      Mappings:
      Namespace Name Mixin selector
      named slot Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;slot(Lnet/minecraft/component/type/AttributeModifierSlot;)Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;
      intermediary method_35529 Lnet/minecraft/class_137$class_6156;method_35529(Lnet/minecraft/class_9274;)Lnet/minecraft/class_137$class_6156;
      official a Letk$c;a(Lbsz;)Letk$c;
    • build

      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;build()Lnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;
      intermediary method_35528 Lnet/minecraft/class_137$class_6156;method_35528()Lnet/minecraft/class_137$class_138;
      official a Letk$c;a()Letk$b;