net.minecraft.world.entity.ai.attributes

public class Attribute

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

Field summary

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

Constructor summary

ModifierConstructor
protected (String translationKey, double fallback)

Method summary

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