net.minecraft.world.entity.ai.attributes

public class AttributeModifier

ajp
net.minecraft.world.entity.ai.attributes.AttributeModifier
net.minecraft.class_1322
net.minecraft.entity.attribute.EntityAttributeModifier
net.minecraft.entity.ai.attributes.AttributeModifier
net.minecraft.server.v1_14_R1.AttributeModifier

Field summary

Modifier and TypeField
private final double
a
amount
field_6323
amount
field_111174_a
private final AttributeModifier$Operation
b
operation
field_6324
operation
field_111172_b
private final Supplier<String>
c
nameGetter
field_6326
nameGetter
field_111173_c
private final UUID
d
id
field_6327
uuid
field_111170_d
private boolean
e
serialize
field_6325
serialize
field_111171_e

Constructor summary

ModifierConstructor
public (String name, double amount, AttributeModifier$Operation operation)
public (UUID uuid, String name, double amount, AttributeModifier$Operation operation)
public (UUID uuid, Supplier<String> nameGetter, double amount, AttributeModifier$Operation operation)

Method summary

Modifier and TypeMethod
public UUID
a()
getId()
method_6189()
getId()
func_111167_a()
getUniqueId()
public String
b()
getName()
method_6185()
getName()
func_111166_b()
getName()
public AttributeModifier$Operation
c()
getOperation()
method_6182()
getOperation()
func_220375_c()
getOperation()
public double
d()
getAmount()
method_6186()
getAmount()
func_111164_d()
getAmount()
public boolean
e()
isSerializable()
method_6188()
shouldSerialize()
func_111165_e()
public AttributeModifier
a(boolean arg0)
setSerialize(boolean arg0)
method_6187(boolean arg0)
setSerialize(boolean serialize)
func_111168_a(boolean arg0)