net.minecraft.world.entity.ai.attributes

public class AttributeModifier

arj
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_16_R3.AttributeModifier

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_23712
LOGGER
field_233799_a_
private final double
b
amount
field_6323
value
field_111174_a
private final AttributeModifier$Operation
c
operation
field_6324
operation
field_111172_b
private final Supplier<String>
d
nameGetter
field_6326
nameGetter
field_111173_c
private final UUID
e
id
field_6327
uuid
field_111170_d

Constructor summary

ModifierConstructor
public (String name, double value, AttributeModifier$Operation operation)
public (UUID uuid, String name, double value, AttributeModifier$Operation operation)
public (UUID uuid, Supplier<String> nameGetter, double value, 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()
getValue()
func_111164_d()
getAmount()
public CompoundTag
e()
save()
method_26860()
toNbt()
func_233801_e_()
save()
public static AttributeModifier
a(md arg0)
load(CompoundTag arg0)
method_26859(class_2487 arg0)
fromNbt(NbtCompound nbt)
func_233800_a_(CompoundNBT arg0)