net.minecraft.world.entity.animal

public class Cat

extends TamableAnimal implements VariantHolder<Holder<CatVariant>>

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, OwnableEntity, VariantHolder

cfh
net.minecraft.world.entity.animal.Cat
net.minecraft.class_1451
net.minecraft.unmapped.C_rxtmregr
net.minecraft.entity.passive.CatEntity
net.minecraft.entity.passive.CatEntity
net.minecraft.src.C_819_
net.minecraft.world.entity.animal.EntityCat

Field summary

Modifier and TypeField
public static final double
cg
TEMPT_SPEED_MOD
field_30310
f_gaahrhec
CROUCHING_SPEED
TEMPTED_SPEED
f_148842_
public static final double
ch
WALK_SPEED_MOD
field_30311
f_fembngch
NORMAL_SPEED
WALKING_SPEED
f_148843_
public static final double
ci
SPRINT_SPEED_MOD
field_30312
f_lsvomhnh
SPRINTING_SPEED
SPRINTING_SPEED
f_148844_
private static final EntityDataAccessor<Holder<CatVariant>>
cj
DATA_VARIANT_ID
field_6811
f_jycwwapx
CAT_VARIANT
VARIANT
f_218131_
private static final EntityDataAccessor<Boolean>
ck
IS_LYING
field_16284
f_yzqtqxyg
IN_SLEEPING_POSE
IN_SLEEPING_POSE
f_28105_
private static final EntityDataAccessor<Boolean>
cl
RELAX_STATE_ONE
field_16292
f_crlwzfoc
HEAD_DOWN
HEAD_DOWN
f_28106_
private static final EntityDataAccessor<Integer>
cm
DATA_COLLAR_COLOR
field_16285
f_lfmjmddd
COLLAR_COLOR
COLLAR_COLOR
f_28107_
private static final ResourceKey<CatVariant>
cn
DEFAULT_VARIANT
field_49979
f_cmwfbyhe
DEFAULT_VARIANT
REGISTRY_KEY
f_314571_
private Cat$CatAvoidEntityGoal<Player>
co
avoidPlayersGoal
field_6808
f_hqvkpijz
fleeGoal
fleeGoal
f_28108_
private TemptGoal
cp
temptGoal
field_6810
f_uqdbaiuw
temptGoal
temptGoal
f_28109_
private float
cq
lieDownAmount
field_16290
f_iywwshas
sleepAnimation
sleepAnimation
f_28110_
private float
cr
lieDownAmountO
field_16291
f_czqfqakz
prevSleepAnimation
prevSleepAnimation
f_28111_
private float
cs
lieDownAmountTail
field_16288
f_ebcwdxuh
tailCurlAnimation
tailCurlAnimation
f_28098_
private float
ct
lieDownAmountOTail
field_16289
f_rbvswzvj
prevTailCurlAnimation
prevTailCurlAnimation
f_28099_
private float
cu
relaxStateOneAmount
field_16286
f_krqstxdp
headDownAnimation
headDownAnimation
f_28100_
private float
cv
relaxStateOneAmountO
field_16287
f_qmmhiplw
prevHeadDownAnimation
prevHeadDownAnimation
f_28101_

Constructor summary

ModifierConstructor
public (EntityType<? extends Cat> p_28115_, Level world)

Method summary

Modifier and TypeMethod
public ResourceLocation
gu()
getTextureId()
method_16092()
m_lucghypi()
getTexture()
getTexture()
m_322150_()
protected void
B()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public Holder<CatVariant>
gv()
getVariant()
method_47843()
m_jgbdxfyj()
getVariant()
getVariant()
m_28554_()
public void
i(jm<cfi> arg0)
setVariant(Holder<CatVariant> arg0)
method_47842(class_6880<class_7375> arg0)
m_dqiqoigj(C_cjzoxshv<C_jpfecwuz> arg0)
setVariant(RegistryEntry<CatVariant> arg0)
setVariant(Holder<CatVariant> arg0)
m_28464_(C_203228_<C_213033_> arg0)
public void
A(boolean arg0)
setLying(boolean arg0)
method_16088(boolean arg0)
m_ohnwkpyq(boolean arg0)
setInSleepingPose(boolean sleeping)
setInSleepingPose(boolean sleeping)
m_28181_(boolean arg0)
public boolean
gw()
isLying()
method_16086()
m_lamyttdk()
isInSleepingPose()
isInSleepingPose()
m_28164_()
void
B(boolean arg0)
setRelaxStateOne(boolean arg0)
method_16087(boolean arg0)
m_cqsgalyd(boolean arg0)
setHeadDown(boolean headDown)
setHeadDown(boolean headDown)
m_28185_(boolean arg0)
boolean
gB()
isRelaxStateOne()
method_16093()
m_vtfjmalp()
isHeadDown()
isHeadDown()
m_28165_()
public DyeColor
gx()
getCollarColor()
method_16096()
m_zsiopzjf()
getCollarColor()
getCollarColor()
m_28166_()
private void
a(cti arg0)
setCollarColor(DyeColor arg0)
method_16094(class_1767 arg0)
m_mkychxup(C_arllgqae arg0)
setCollarColor(DyeColor color)
setCollarColor(DyeColor color)
m_28131_(C_1353_ arg0)
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
ab()
customServerAiStep()
method_5958()
m_wbeiezxn()
mobTick()
mobTick()
m_8024_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
public int
R()
getAmbientSoundInterval()
method_5970()
m_pswyixar()
getMinAmbientSoundDelay()
getMinAmbientSoundDelay()
m_8100_()
public void
gy()
hiss()
method_16089()
m_sklrirdg()
hiss()
hiss()
m_28167_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
public static AttributeSupplier$Builder
gz()
createAttributes()
method_26881()
m_hrmkvfwy()
createCatAttributes()
createAttributes()
m_28168_()
protected void
a(cmx arg0, bqq arg1, cuq arg2)
usePlayerItem(Player arg0, InteractionHand arg1, ItemStack arg2)
method_6475(class_1657 arg0, class_1268 arg1, class_1799 arg2)
m_lyumrhdj(C_jzrpycqo arg0, C_laxmzoqs arg1, C_sddaxwyk arg2)
eat(PlayerEntity arg0, Hand arg1, ItemStack arg2)
eat(PlayerEntity arg0, Hand arg1, ItemStack arg2)
m_142075_(C_1141_ p_148867_, C_470_ p_148868_, C_1391_ arg2)
public void
l()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
private void
gC()
handleLieDown()
method_16085()
m_hklpzhfy()
updateAnimations()
updateAnimations()
m_28170_()
private void
gD()
updateLieDownAmount()
method_16090()
m_ywkdrnsi()
updateSleepAnimation()
updateSleepAnimation()
m_28171_()
private void
gE()
updateRelaxStateOneAmount()
method_16084()
m_yuylmqvv()
updateHeadDownAnimation()
updateHeadDownAnimation()
m_28172_()
public float
H(float arg0)
getLieDownAmount(float arg0)
method_16082(float arg0)
m_pedhhxbx(float arg0)
getSleepAnimation(float tickDelta)
getSleepAnimation(float tickDelta)
m_28183_(float arg0)
public float
I(float arg0)
getLieDownAmountTail(float arg0)
method_16091(float arg0)
m_abjrsyno(float arg0)
getTailCurlAnimation(float tickDelta)
getTailCurlAnimation(float tickDelta)
m_28187_(float arg0)
public float
J(float arg0)
getRelaxStateOneAmount(float arg0)
method_16095(float arg0)
m_tavxjrmu(float arg0)
getHeadDownAnimation(float tickDelta)
getHeadDownAnimation(float tickDelta)
m_28116_(float arg0)
public Cat
b(aqu arg0, bsl arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6573(class_3218 arg0, class_1296 arg1)
m_srdchdle(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld world, PassiveEntity arg1)
m_142606_(C_12_ p_148871_, C_141062_ arg1)
public boolean
a(cfe arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public SpawnGroupData
a(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_28135_, C_469_ p_28136_, C_529_ p_28137_, C_542_ arg3)
public InteractionResult
b(cmx arg0, bqq arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_28154_, C_470_ arg1)
public boolean
o(cuq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public void
b(boolean arg0, boolean arg1)
setTame(boolean arg0, boolean arg1)
method_6173(boolean arg0, boolean arg1)
m_lvckrpxt(boolean arg0, boolean arg1)
setTamed(boolean arg0, boolean arg1)
setTamed(boolean arg0, boolean arg1)
m_7105_(boolean p_330053_, boolean arg1)
protected void
gA()
reassessTameGoals()
method_6175()
m_wuadlgeg()
onTamedChanged()
flee()
m_28161_()
private void
g(cmx arg0)
tryToTame(Player arg0)
method_58168(class_1657 arg0)
m_jegafqgf(C_jzrpycqo arg0)
tryTame(PlayerEntity player)
tryTame(PlayerEntity player)
m_320972_(C_1141_ arg0)
public boolean
bX()
isSteppingCarefully()
method_21749()
m_cflxndgy()
bypassesSteppingEffects()
bypassesSteppingEffects()
m_20161_()