net.minecraft.world.entity.animal

public class Cat

extends TamableAnimal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, OwnableEntity

beb
net.minecraft.world.entity.animal.Cat
net.minecraft.class_1451
net.minecraft.unmapped.C_rxtmregr
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
bW
TEMPT_SPEED_MOD
field_30310
f_gaahrhec
CROUCHING_SPEED
f_148842_
public static final double
bX
WALK_SPEED_MOD
field_30311
f_fembngch
NORMAL_SPEED
f_148843_
public static final double
bY
SPRINT_SPEED_MOD
field_30312
f_lsvomhnh
SPRINTING_SPEED
f_148844_
private static final Ingredient
cl
TEMPT_INGREDIENT
field_6809
f_qgsvjkyg
TAMING_INGREDIENT
f_28103_
private static final EntityDataAccessor<Integer>
cm
DATA_TYPE_ID
field_6811
f_kqounnlz
CAT_TYPE
f_28104_
private static final EntityDataAccessor<Boolean>
cn
IS_LYING
field_16284
f_yzqtqxyg
IN_SLEEPING_POSE
f_28105_
private static final EntityDataAccessor<Boolean>
co
RELAX_STATE_ONE
field_16292
f_crlwzfoc
HEAD_DOWN
f_28106_
private static final EntityDataAccessor<Integer>
cp
DATA_COLLAR_COLOR
field_16285
f_lfmjmddd
COLLAR_COLOR
f_28107_
public static final int
bZ
TYPE_TABBY
field_30313
f_bcoxxkrd
TABBY_TYPE
f_148845_
public static final int
ca
TYPE_BLACK
field_30314
f_nfbmqdze
BLACK_TYPE
f_148846_
public static final int
cb
TYPE_RED
field_30315
f_rbtzxrpe
RED_TYPE
f_148847_
public static final int
cc
TYPE_SIAMESE
field_30316
f_wyrvrukw
SIAMESE_TYPE
f_148848_
public static final int
cd
TYPE_BRITISH
field_30317
f_gofukkws
BRITISH_SHORTHAIR_TYPE
f_148849_
public static final int
ce
TYPE_CALICO
field_30318
f_fytanydn
CALICO_TYPE
f_148850_
public static final int
cf
TYPE_PERSIAN
field_30319
f_tpadyxob
PERSIAN_TYPE
f_148851_
public static final int
cg
TYPE_RAGDOLL
field_30320
f_ylegksko
RAGDOLL_TYPE
f_148852_
public static final int
ch
TYPE_WHITE
field_30321
f_wofmsltu
WHITE_TYPE
f_148853_
public static final int
ci
TYPE_JELLIE
field_30322
f_pzgosgek
JELLIE_TYPE
f_148854_
public static final int
cj
TYPE_ALL_BLACK
field_30323
f_jkkhopye
ALL_BLACK_TYPE
f_148855_
private static final int
cq
NUMBER_OF_CAT_TYPES
field_30324
f_pwkhddty
field_30324
f_148856_
private static final int
cr
NUMBER_OF_CAT_TYPES_EXCEPT_ALL_BLACK
field_30325
f_sikjbcqs
field_30325
f_148857_
public static final Map<Integer, ResourceLocation>
ck
TEXTURE_BY_TYPE
field_16283
f_neevdsrt
TEXTURES
f_28102_
private Cat$CatAvoidEntityGoal<Player>
cs
avoidPlayersGoal
field_6808
f_hqvkpijz
fleeGoal
f_28108_
private TemptGoal
ct
temptGoal
field_6810
f_uqdbaiuw
temptGoal
f_28109_
private float
cu
lieDownAmount
field_16290
f_iywwshas
sleepAnimation
f_28110_
private float
cv
lieDownAmountO
field_16291
f_czqfqakz
prevSleepAnimation
f_28111_
private float
cw
lieDownAmountTail
field_16288
f_ebcwdxuh
tailCurlAnimation
f_28098_
private float
cx
lieDownAmountOTail
field_16289
f_rbvswzvj
prevTailCurlAnimation
f_28099_
private float
cy
relaxStateOneAmount
field_16286
f_krqstxdp
headDownAnimation
f_28100_
private float
cz
relaxStateOneAmountO
field_16287
f_qmmhiplw
prevHeadDownAnimation
f_28101_

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
fE()
getResourceLocation()
method_16092()
m_mknlencs()
getTexture()
m_28162_()
protected void
v()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
m_8099_()
initPathfinder()
public int
fF()
getCatType()
method_6571()
m_lmusqgdn()
getCatType()
m_28163_()
getCatType()
public void
u(int arg0)
setCatType(int arg0)
method_6572(int arg0)
m_asukoawd(int arg0)
setCatType(int type)
m_28179_(int arg0)
setCatType(int arg0)
public void
z(boolean arg0)
setLying(boolean arg0)
method_16088(boolean arg0)
m_ohnwkpyq(boolean arg0)
setInSleepingPose(boolean sleeping)
m_28181_(boolean arg0)
public boolean
fG()
isLying()
method_16086()
m_lamyttdk()
isInSleepingPose()
m_28164_()
public void
A(boolean arg0)
setRelaxStateOne(boolean arg0)
method_16087(boolean arg0)
m_cqsgalyd(boolean arg0)
setHeadDown(boolean headDown)
m_28185_(boolean arg0)
public boolean
fH()
isRelaxStateOne()
method_16093()
m_vtfjmalp()
isHeadDown()
m_28165_()
public DyeColor
fI()
getCollarColor()
method_16096()
m_zsiopzjf()
getCollarColor()
m_28166_()
getCollarColor()
public void
a(bpm arg0)
setCollarColor(DyeColor arg0)
method_16094(class_1767 arg0)
m_mkychxup(C_arllgqae arg0)
setCollarColor(DyeColor color)
m_28131_(C_1353_ arg0)
setCollarColor(EnumColor arg0)
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
initDatawatcher()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public void
eY()
customServerAiStep()
method_5958()
m_wbeiezxn()
mobTick()
m_8024_()
mobTick()
protected SoundEvent
q()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
m_7515_()
getSoundAmbient()
public int
J()
getAmbientSoundInterval()
method_5970()
m_pswyixar()
getMinAmbientSoundDelay()
m_8100_()
public void
fJ()
hiss()
method_16089()
m_sklrirdg()
hiss()
m_28167_()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
m_5592_()
getSoundDeath()
public static AttributeSupplier$Builder
fK()
createAttributes()
method_26881()
m_hrmkvfwy()
createCatAttributes()
m_28168_()
public boolean
a(float arg0, float arg1, asq arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
m_izrsdktf(float arg0, float arg1, C_sbxfkpyv arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_148860_, float p_148861_, C_489_ arg2)
protected void
a(bke arg0, asa arg1, bqq 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)
m_142075_(C_1141_ p_148867_, C_470_ p_148868_, C_1391_ arg2)
private float
fL()
getAttackDamage()
method_22327()
m_jqxrwxez()
getAttackDamage()
m_28169_()
public boolean
z(atg arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
m_orenzeoc(C_astfners arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
attackEntity(Entity arg0)
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
m_8119_()
tick()
private void
fM()
handleLieDown()
method_16085()
m_hklpzhfy()
updateAnimations()
m_28170_()
private void
fN()
updateLieDownAmount()
method_16090()
m_ywkdrnsi()
updateSleepAnimation()
m_28171_()
private void
fO()
updateRelaxStateOneAmount()
method_16084()
m_yuylmqvv()
updateHeadDownAnimation()
m_28172_()
public float
z(float arg0)
getLieDownAmount(float arg0)
method_16082(float arg0)
m_pedhhxbx(float arg0)
getSleepAnimation(float tickDelta)
m_28183_(float arg0)
public float
A(float arg0)
getLieDownAmountTail(float arg0)
method_16091(float arg0)
m_abjrsyno(float arg0)
getTailCurlAnimation(float tickDelta)
m_28187_(float arg0)
public float
B(float arg0)
getRelaxStateOneAmount(float arg0)
method_16095(float arg0)
m_tavxjrmu(float arg0)
getHeadDownAnimation(float tickDelta)
m_28116_(float arg0)
public Cat
b(abr arg0, ate 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)
m_142606_(C_12_ p_148871_, C_141062_ arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
a(bdy arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
mate(EntityAnimal arg0)
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_28135_, C_469_ p_28136_, C_529_ p_28137_, C_542_ p_28138_, C_4917_ arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public InteractionResult
b(bke arg0, asa 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)
m_6071_(C_1141_ p_28154_, C_470_ arg1)
public boolean
n(bqq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
isBreedItem(ItemStack arg0)
protected float
b(aug arg0, ath arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
m_heqvdbfg(C_ufdjspmk arg0, C_sszpscpo arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_28151_, C_510_ arg1)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
m_dciqpbdm(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
isTypeNotPersistent(double arg0)
protected void
t()
reassessTameGoals()
method_6175()
m_szezzsnr()
onTamedChanged()
m_5849_()
public boolean
bE()
isSteppingCarefully()
method_21749()
m_cflxndgy()
bypassesSteppingEffects()
m_20161_()