static class SetAttributes.Modifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private RandomValueRange |
amount |
private java.lang.String |
attributeName |
private java.lang.String |
modifierName |
private AttributeModifier.Operation |
operation |
private EquipmentSlotType[] |
slots |
private java.util.UUID |
uuid |
Modifier | Constructor and Description |
---|---|
private |
Modifier(java.lang.String p_i50835_1_,
java.lang.String p_i50835_2_,
AttributeModifier.Operation p_i50835_3_,
RandomValueRange p_i50835_4_,
EquipmentSlotType[] p_i50835_5_,
java.util.UUID p_i50835_6_) |
Modifier and Type | Method and Description |
---|---|
static SetAttributes.Modifier |
deserialize(com.google.gson.JsonObject jsonObj,
com.google.gson.JsonDeserializationContext context) |
private static java.lang.String |
func_216244_a(AttributeModifier.Operation p_216244_0_) |
private static AttributeModifier.Operation |
func_216246_a(java.lang.String p_216246_0_) |
com.google.gson.JsonObject |
serialize(com.google.gson.JsonSerializationContext context) |
private final java.lang.String modifierName
private final java.lang.String attributeName
private final AttributeModifier.Operation operation
private final RandomValueRange amount
@Nullable private final java.util.UUID uuid
private final EquipmentSlotType[] slots
private Modifier(java.lang.String p_i50835_1_, java.lang.String p_i50835_2_, AttributeModifier.Operation p_i50835_3_, RandomValueRange p_i50835_4_, EquipmentSlotType[] p_i50835_5_, @Nullable java.util.UUID p_i50835_6_)
public com.google.gson.JsonObject serialize(com.google.gson.JsonSerializationContext context)
public static SetAttributes.Modifier deserialize(com.google.gson.JsonObject jsonObj, com.google.gson.JsonDeserializationContext context)
private static java.lang.String func_216244_a(AttributeModifier.Operation p_216244_0_)
private static AttributeModifier.Operation func_216246_a(java.lang.String p_216246_0_)