Package net.minecraft.loot.function
Class SetAttributesLootFunction.Attribute
java.lang.Object
net.minecraft.loot.function.SetAttributesLootFunction.Attribute
- Enclosing class:
- SetAttributesLootFunction
- Mappings:
Namespace Name official dke$bintermediary net/minecraft/class_137$class_138named net/minecraft/loot/function/SetAttributesLootFunction$Attribute
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) LootNumberProvider(package private) EntityAttribute(package private) String(package private) EntityAttributeModifier.Operation(package private) EquipmentSlot[] -
Constructor Summary
ConstructorsConstructorDescriptionAttribute(String string, EntityAttribute entityAttribute, EntityAttributeModifier.Operation operation, LootNumberProvider lootNumberProvider, EquipmentSlot[] equipmentSlot, @Nullable UUID uUID) -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonObject json, JsonDeserializationContext context)private static EntityAttributeModifier.Operationprivate static StringgetName(EntityAttributeModifier.Operation operation)serialize(JsonSerializationContext context)
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official aLdke$b;a:Ljava/lang/String;intermediary field_1107Lnet/minecraft/class_137$class_138;field_1107:Ljava/lang/String;named nameLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;name:Ljava/lang/String;
-
attribute
- Mappings:
Namespace Name Mixin selector official bLdke$b;b:Laup;intermediary field_1110Lnet/minecraft/class_137$class_138;field_1110:Lnet/minecraft/class_1320;named attributeLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;attribute:Lnet/minecraft/entity/attribute/EntityAttribute;
-
operation
- Mappings:
Namespace Name Mixin selector official cLdke$b;c:Laus$a;intermediary field_1109Lnet/minecraft/class_137$class_138;field_1109:Lnet/minecraft/class_1322$class_1323;named operationLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;operation:Lnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;
-
amount
- Mappings:
Namespace Name Mixin selector official dLdke$b;d:Ldmc;intermediary field_1108Lnet/minecraft/class_137$class_138;field_1108:Lnet/minecraft/class_5658;named amountLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;amount:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
id
- Mappings:
Namespace Name Mixin selector official eLdke$b;e:Ljava/util/UUID;intermediary field_1111Lnet/minecraft/class_137$class_138;field_1111:Ljava/util/UUID;named idLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;id:Ljava/util/UUID;
-
slots
- Mappings:
Namespace Name Mixin selector official fLdke$b;f:[Latk;intermediary field_1112Lnet/minecraft/class_137$class_138;field_1112:[Lnet/minecraft/class_1304;named slotsLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;slots:[Lnet/minecraft/entity/EquipmentSlot;
-
-
Constructor Details
-
Attribute
Attribute(String string, EntityAttribute entityAttribute, EntityAttributeModifier.Operation operation, LootNumberProvider lootNumberProvider, EquipmentSlot[] equipmentSlot, @Nullable @Nullable UUID uUID)
-
-
Method Details
-
serialize
- Mappings:
Namespace Name Mixin selector official aLdke$b;a(Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonObject;intermediary method_615Lnet/minecraft/class_137$class_138;method_615(Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonObject;named serializeLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;serialize(Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonObject;
-
deserialize
public static SetAttributesLootFunction.Attribute deserialize(JsonObject json, JsonDeserializationContext context)- Mappings:
Namespace Name Mixin selector official aLdke$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldke$b;intermediary method_614Lnet/minecraft/class_137$class_138;method_614(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_137$class_138;named deserializeLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;deserialize(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;
-
getName
- Mappings:
Namespace Name Mixin selector official aLdke$b;a(Laus$a;)Ljava/lang/String;intermediary method_612Lnet/minecraft/class_137$class_138;method_612(Lnet/minecraft/class_1322$class_1323;)Ljava/lang/String;named getNameLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;getName(Lnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;)Ljava/lang/String;
-
fromName
- Mappings:
Namespace Name Mixin selector official aLdke$b;a(Ljava/lang/String;)Laus$a;intermediary method_609Lnet/minecraft/class_137$class_138;method_609(Ljava/lang/String;)Lnet/minecraft/class_1322$class_1323;named fromNameLnet/minecraft/loot/function/SetAttributesLootFunction$Attribute;fromName(Ljava/lang/String;)Lnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;
-