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

class SetAttributesFunction$Modifier

ctl$b
net.minecraft.world.level.storage.loot.functions.SetAttributesFunction$Modifier
net.minecraft.class_137$class_138
net.minecraft.loot.function.SetAttributesLootFunction$Attribute
net.minecraft.world.storage.loot.functions.SetAttributes$Modifier
net.minecraft.server.v1_15_R1.LootItemFunctionSetAttribute$b

Field summary

Modifier and TypeField
private final String
a
name
field_1107
name
field_186596_a
private final String
b
attribute
field_1110
attribute
field_186597_b
private final AttributeModifier$Operation
c
operation
field_1109
operation
field_186598_c
private final RandomValueBounds
d
amount
field_1108
amountRange
field_186599_d
private final UUID
e
id
field_1111
id
field_186600_e
private final EquipmentSlot[]
f
slots
field_1112
slots
field_186601_f

Constructor summary

ModifierConstructor
private (String name, String attribute, AttributeModifier$Operation operation, RandomValueBounds amountRange, 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)
func_186592_a(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)
func_186586_a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
private static String
a(als$a arg0)
operationToString(AttributeModifier$Operation arg0)
method_612(class_1322$class_1323 arg0)
getName(EntityAttributeModifier$Operation operation)
func_216244_a(AttributeModifier$Operation arg0)
private static AttributeModifier$Operation
a(String arg0)
operationFromString(String arg0)
method_609(String arg0)
fromName(String name)
func_216246_a(String arg0)