net.minecraft.entity.attribute

public class EntityAttribute

cbn
net.minecraft.world.entity.ai.attributes.Attribute
net.minecraft.class_1320
net.minecraft.entity.attribute.EntityAttribute
net.minecraft.unmapped.C_ppzfbbsy
net.minecraft.entity.attribute.EntityAttribute
net.minecraft.src.C_552_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RegistryEntry<EntityAttribute>>
a
CODEC
field_51575
CODEC
f_wpwvbntw
CODEC
f_337502_
public static final PacketCodec<RegistryByteBuf, RegistryEntry<EntityAttribute>>
b
STREAM_CODEC
field_51940
PACKET_CODEC
f_nbzipvyv
PACKET_CODEC
f_337574_
private final double
c
defaultValue
field_23697
fallback
f_umxvzebo
fallback
f_22076_
private boolean
d
syncable
field_23698
tracked
f_tvtujviz
tracked
f_22077_
private final String
e
descriptionId
field_23699
translationKey
f_auwguvrl
translationKey
f_22078_
private EntityAttribute$Category
f
sentiment
field_51884
category
f_ffykkeba
category
f_337488_

Constructor summary

ModifierConstructor
protected (String translationKey, double fallback)

Method summary

Modifier and TypeMethod
public double
a()
getDefaultValue()
method_6169()
getDefaultValue()
m_oflenfkp()
getDefaultValue()
m_22082_()
public boolean
b()
isClientSyncable()
method_6168()
isTracked()
m_pdnjpmsx()
isTracked()
m_22086_()
public EntityAttribute
a(boolean arg0)
setSyncable(boolean arg0)
method_26829(boolean arg0)
setTracked(boolean tracked)
m_qlnfmlzn(boolean arg0)
setTracked(boolean tracked)
m_22084_(boolean arg0)
public EntityAttribute
a(cbn$a arg0)
setSentiment(Attribute$Sentiment arg0)
method_60493(class_1320$class_9764 arg0)
setCategory(EntityAttribute$Category category)
m_ieprxwbk(C_ppzfbbsy$C_hgeqpcpn arg0)
setCategory(EntityAttribute$Category category)
m_340208_(C_552_$C_336496_ arg0)
public double
a(double arg0)
sanitizeValue(double arg0)
method_6165(double arg0)
clamp(double value)
m_wvpsxepv(double arg0)
clamp(double value)
m_6740_(double arg0)
public String
c()
getDescriptionId()
method_26830()
getTranslationKey()
m_iewqlpym()
getTranslationKey()
m_22087_()
public Formatting
b(boolean arg0)
getStyle(boolean arg0)
method_60494(boolean arg0)
getFormatting(boolean addition)
m_bpecfdak(boolean arg0)
getFormatting(boolean addition)
m_339456_(boolean arg0)