net.minecraft.world.entity.animal

public class Cat

extends TamableAnimal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, OwnableEntity

cix
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

Field summary

Modifier and TypeField
public static final double
bK
TEMPT_SPEED_MOD
field_30310
f_gaahrhec
CROUCHING_SPEED
TEMPTED_SPEED
public static final double
bL
WALK_SPEED_MOD
field_30311
f_fembngch
NORMAL_SPEED
WALKING_SPEED
public static final double
bM
SPRINT_SPEED_MOD
field_30312
f_lsvomhnh
SPRINTING_SPEED
SPRINTING_SPEED
private static final EntityDataAccessor<Holder<CatVariant>>
bN
DATA_VARIANT_ID
field_6811
f_jycwwapx
CAT_VARIANT
VARIANT
private static final EntityDataAccessor<Boolean>
bO
IS_LYING
field_16284
f_yzqtqxyg
IN_SLEEPING_POSE
IN_SLEEPING_POSE
private static final EntityDataAccessor<Boolean>
bP
RELAX_STATE_ONE
field_16292
f_crlwzfoc
HEAD_DOWN
HEAD_DOWN
private static final EntityDataAccessor<Integer>
bQ
DATA_COLLAR_COLOR
field_16285
f_lfmjmddd
COLLAR_COLOR
COLLAR_COLOR
private static final ResourceKey<CatVariant>
bR
DEFAULT_VARIANT
field_49979
f_cmwfbyhe
DEFAULT_VARIANT
DEFAULT_VARIANT
private Cat$CatAvoidEntityGoal<Player>
bS
avoidPlayersGoal
field_6808
f_hqvkpijz
fleeGoal
fleeGoal
private TemptGoal
bT
temptGoal
field_6810
f_uqdbaiuw
temptGoal
temptGoal
private float
bU
lieDownAmount
field_16290
f_iywwshas
sleepAnimation
sleepAnimation
private float
bV
lieDownAmountO
field_16291
f_czqfqakz
lastSleepAnimation
prevSleepAnimation
private float
bW
lieDownAmountTail
field_16288
f_ebcwdxuh
tailCurlAnimation
tailCurlAnimation
private float
bX
lieDownAmountOTail
field_16289
f_rbvswzvj
lastTailCurlAnimation
prevTailCurlAnimation
private boolean
bY
isLyingOnTopOfSleepingPlayer
field_52466
f_mhntxktq
nearSleepingPlayer
nearSleepingPlayer
private float
bZ
relaxStateOneAmount
field_16286
f_krqstxdp
headDownAnimation
headDownAnimation
private float
ca
relaxStateOneAmountO
field_16287
f_qmmhiplw
lastHeadDownAnimation
prevHeadDownAnimation

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
D()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
public Holder<CatVariant>
gD()
getVariant()
method_47843()
m_jbxeoyhf()
getVariant()
private void
j(je<ciy> arg0)
setVariant(Holder<CatVariant> arg0)
method_47842(class_6880<class_7375> arg0)
m_fstqrogl(C_cjzoxshv<C_jpfecwuz> arg0)
setVariant(RegistryEntry<CatVariant> variant)
m_fstqrogl(Holder<CatVariant> value)
public <T> T
a(ki<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
m_jtdlrfwm(C_pscqxfcs<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(ke arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
m_oxfzjslk(C_hmcnusfu arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(ki<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
m_vqawgcdu(C_pscqxfcs<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)
public void
z(boolean arg0)
setLying(boolean arg0)
method_16088(boolean arg0)
m_ohnwkpyq(boolean arg0)
setInSleepingPose(boolean sleeping)
setInSleepingPose(boolean sleeping)
public boolean
gE()
isLying()
method_16086()
m_lamyttdk()
isInSleepingPose()
isInSleepingPose()
void
A(boolean arg0)
setRelaxStateOne(boolean arg0)
method_16087(boolean arg0)
m_cqsgalyd(boolean arg0)
setHeadDown(boolean headDown)
setHeadDown(boolean headDown)
boolean
gK()
isRelaxStateOne()
method_16093()
m_vtfjmalp()
isHeadDown()
isHeadDown()
public DyeColor
gF()
getCollarColor()
method_16096()
m_zsiopzjf()
getCollarColor()
getCollarColor()
private void
a(cyb arg0)
setCollarColor(DyeColor arg0)
method_16094(class_1767 arg0)
m_mkychxup(C_arllgqae arg0)
setCollarColor(DyeColor color)
setCollarColor(DyeColor color)
protected void
a(akn$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)
public void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
a(arq arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
m_wbeiezxn(C_bdwnwhiu arg0)
mobTick(ServerWorld arg0)
mobTick(ServerWorld arg0)
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
public int
S()
getAmbientSoundInterval()
method_5970()
m_pswyixar()
getMinAmbientSoundDelay()
getMinAmbientSoundDelay()
public void
gG()
hiss()
method_16089()
m_sklrirdg()
hiss()
hiss()
protected SoundEvent
e(buu arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
public static AttributeSupplier$Builder
gH()
createAttributes()
method_26881()
m_hrmkvfwy()
createCatAttributes()
createAttributes()
protected void
gx()
playEatingSound()
method_61458()
m_crfaarku()
playEatSound()
playEatSound()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
private void
gL()
handleLieDown()
method_16085()
m_hklpzhfy()
updateAnimations()
updateAnimations()
public boolean
gI()
isLyingOnTopOfSleepingPlayer()
method_61467()
m_jmkrmfxa()
isNearSleepingPlayer()
isNearSleepingPlayer()
private void
gM()
updateLieDownAmount()
method_16090()
m_ywkdrnsi()
updateSleepAnimation()
updateSleepAnimation()
private void
gN()
updateRelaxStateOneAmount()
method_16084()
m_yuylmqvv()
updateHeadDownAnimation()
updateHeadDownAnimation()
public float
J(float arg0)
getLieDownAmount(float arg0)
method_16082(float arg0)
m_pedhhxbx(float arg0)
getSleepAnimationProgress(float tickProgress)
getSleepAnimation(float tickDelta)
public float
K(float arg0)
getLieDownAmountTail(float arg0)
method_16091(float arg0)
m_abjrsyno(float arg0)
getTailCurlAnimationProgress(float tickProgress)
getTailCurlAnimation(float tickDelta)
public float
L(float arg0)
getRelaxStateOneAmount(float arg0)
method_16095(float arg0)
m_tavxjrmu(float arg0)
getHeadDownAnimationProgress(float tickProgress)
getHeadDownAnimation(float tickDelta)
public Cat
b(arq arg0, bvv 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)
public boolean
a(ciu arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity arg0)
canBreedWith(AnimalEntity arg0)
public SpawnGroupData
a(djr arg0, bub arg1, bwn arg2, bxw arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason 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_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public InteractionResult
b(crc arg0, buc 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)
public boolean
i(czd arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
canImmediatelyDespawn(double arg0)
public void
a(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)
protected void
gJ()
reassessTameGoals()
method_6175()
m_wuadlgeg()
onTamedChanged()
flee()
private void
f(crc arg0)
tryToTame(Player arg0)
method_58168(class_1657 arg0)
m_jegafqgf(C_jzrpycqo arg0)
tryTame(PlayerEntity player)
tryTame(PlayerEntity player)
public boolean
ce()
isSteppingCarefully()
method_21749()
m_cflxndgy()
bypassesSteppingEffects()
bypassesSteppingEffects()