Package net.minecraft.loot.function
Class SetAttributesLootFunction.AttributeBuilder
java.lang.Object
net.minecraft.loot.function.SetAttributesLootFunction.AttributeBuilder
- Enclosing class:
SetAttributesLootFunction
- Mappings:
Namespace Name official eei$c
intermediary net/minecraft/class_137$class_6156
named net/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LootNumberProvider
private final RegistryEntry<EntityAttribute>
private final String
private final EntityAttributeModifier.Operation
private final Set<EquipmentSlot>
-
Constructor Summary
ConstructorDescriptionAttributeBuilder
(String name, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) -
Method Summary
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official a
Leei$c;a:Ljava/lang/String;
intermediary field_31856
Lnet/minecraft/class_137$class_6156;field_31856:Ljava/lang/String;
named name
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;name:Ljava/lang/String;
-
attribute
- Mappings:
Namespace Name Mixin selector official b
Leei$c;b:Lhe;
intermediary field_31857
Lnet/minecraft/class_137$class_6156;field_31857:Lnet/minecraft/class_6880;
named attribute
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;attribute:Lnet/minecraft/registry/entry/RegistryEntry;
-
operation
- Mappings:
Namespace Name Mixin selector official c
Leei$c;c:Lbkk$a;
intermediary field_31858
Lnet/minecraft/class_137$class_6156;field_31858:Lnet/minecraft/class_1322$class_1323;
named operation
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;operation:Lnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;
-
amount
- Mappings:
Namespace Name Mixin selector official d
Leei$c;d:Legk;
intermediary field_31859
Lnet/minecraft/class_137$class_6156;field_31859:Lnet/minecraft/class_5658;
named amount
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;amount:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
uuid
- Mappings:
Namespace Name Mixin selector official e
Leei$c;e:Ljava/util/Optional;
intermediary field_31860
Lnet/minecraft/class_137$class_6156;field_31860:Ljava/util/Optional;
named uuid
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;uuid:Ljava/util/Optional;
-
slots
- Mappings:
Namespace Name Mixin selector official f
Leei$c;f:Ljava/util/Set;
intermediary field_31861
Lnet/minecraft/class_137$class_6156;field_31861:Ljava/util/Set;
named slots
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;slots:Ljava/util/Set;
-
-
Constructor Details
-
AttributeBuilder
public AttributeBuilder(String name, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) - Mappings:
Namespace Name Mixin selector official <init>
Leei$c;<init>(Ljava/lang/String;Lhe;Lbkk$a;Legk;)V
intermediary <init>
Lnet/minecraft/class_137$class_6156;<init>(Ljava/lang/String;Lnet/minecraft/class_6880;Lnet/minecraft/class_1322$class_1323;Lnet/minecraft/class_5658;)V
named <init>
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;<init>(Ljava/lang/String;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
-
-
Method Details
-
slot
- Mappings:
Namespace Name Mixin selector official a
Leei$c;a(Lbiv;)Leei$c;
intermediary method_35529
Lnet/minecraft/class_137$class_6156;method_35529(Lnet/minecraft/class_1304;)Lnet/minecraft/class_137$class_6156;
named slot
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;slot(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;
-
uuid
- Mappings:
Namespace Name Mixin selector official a
Leei$c;a(Ljava/util/UUID;)Leei$c;
intermediary method_35530
Lnet/minecraft/class_137$class_6156;method_35530(Ljava/util/UUID;)Lnet/minecraft/class_137$class_6156;
named uuid
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;uuid(Ljava/util/UUID;)Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;
-
build
- Mappings:
Namespace Name Mixin selector official a
Leei$c;a()Leei$b;
intermediary method_35528
Lnet/minecraft/class_137$class_6156;method_35528()Lnet/minecraft/class_137$class_138;
named build
Lnet/minecraft/loot/function/SetAttributesLootFunction$AttributeBuilder;build()Lnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;
-