net.minecraft.world.level.storage.loot.functions

class SetAttributesFunction$Modifier

eag$b
net.minecraft.world.level.storage.loot.functions.SetAttributesFunction$Modifier
net.minecraft.class_137$class_138
net.minecraft.loot.function.SetAttributesLootFunction$Attribute
net.minecraft.src.C_2936_$C_2938_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetAttribute$b

Field summary

Modifier and TypeField
final String
a
name
field_1107
name
f_80847_
final Attribute
b
attribute
field_1110
attribute
f_80848_
final AttributeModifier$Operation
c
operation
field_1109
operation
f_80849_
final NumberProvider
d
amount
field_1108
amount
f_80850_
final UUID
e
id
field_1111
id
f_80851_
final EquipmentSlot[]
f
slots
field_1112
slots
f_80852_

Constructor summary

ModifierConstructor
(String name, Attribute attribute, AttributeModifier$Operation operation, NumberProvider amount, EquipmentSlot[] slots, UUID id)

Method summary

Modifier and TypeMethod
public com.google.gson.JsonObject
a(com.google.gson.JsonSerializationContext arg0)
serialize(com.google.gson.JsonSerializationContext arg0)
method_615(com.google.gson.JsonSerializationContext arg0)
serialize(com.google.gson.JsonSerializationContext context)
m_80865_(com.google.gson.JsonSerializationContext arg0)
public static SetAttributesFunction$Modifier
a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_614(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
m_80862_(com.google.gson.JsonObject p_80863_, com.google.gson.JsonDeserializationContext p_80864_)
private static String
a(bhc$a arg0)
operationToString(AttributeModifier$Operation arg0)
method_612(class_1322$class_1323 arg0)
getName(EntityAttributeModifier$Operation operation)
m_80860_(C_555_$C_556_ p_80861_)
private static AttributeModifier$Operation
a(String arg0)
operationFromString(String arg0)
method_609(String arg0)
fromName(String name)
m_80869_(String p_80870_)