net.minecraft.world.entity.animal

public class Cat

extends TamableAnimal

All mapped superinterfaces:

Nameable, CommandSource

atb
net.minecraft.world.entity.animal.Cat
net.minecraft.class_1451
net.minecraft.entity.passive.CatEntity
net.minecraft.entity.passive.CatEntity

Field summary

Modifier and TypeField
private static final Ingredient
bA
TEMPT_INGREDIENT
field_6809
TAMING_INGREDIENT
field_213426_bE
private static final EntityDataAccessor<Integer>
bB
DATA_TYPE_ID
field_6811
CAT_TYPE
field_213427_bF
private static final EntityDataAccessor<Boolean>
bC
IS_LYING
field_16284
SLEEPING_WITH_OWNER
field_213428_bG
private static final EntityDataAccessor<Boolean>
bD
RELAX_STATE_ONE
field_16292
HEAD_DOWN
field_213429_bH
private static final EntityDataAccessor<Integer>
bE
DATA_COLLAR_COLOR
field_16285
COLLAR_COLOR
field_213430_bI
public static final Map<Integer, ResourceLocation>
bz
TEXTURE_BY_TYPE
field_16283
TEXTURES
field_213425_bD
private Cat$CatAvoidEntityGoal<Player>
bF
avoidPlayersGoal
field_6808
fleeGoal
field_213431_bJ
private TemptGoal
bG
temptGoal
field_6810
temptGoal
field_213432_bK
private float
bH
lieDownAmount
field_16290
sleepAnimation
field_213433_bL
private float
bI
lieDownAmountO
field_16291
prevSleepAnimation
field_213434_bM
private float
bJ
lieDownAmountTail
field_16288
tailCurlAnimation
field_213435_bN
private float
bK
lieDownAmountOTail
field_16289
prevTailCurlAnimation
field_213436_bO
private float
bL
relaxStateOneAmount
field_16286
headDownAnimation
field_213437_bP
private float
bM
relaxStateOneAmountO
field_16287
prevHeadDownAniamtion
field_213438_bQ

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
ez()
getResourceLocation()
method_16092()
getTexture()
func_213423_ee()
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
public int
eA()
getCatType()
method_6571()
getCatType()
func_213413_ef()
public void
t(int arg0)
setCatType(int arg0)
method_6572(int arg0)
setCatType(int type)
func_213422_r(int arg0)
public void
u(boolean arg0)
setLying(boolean arg0)
method_16088(boolean arg0)
setSleepingWithOwner(boolean sleeping)
func_213419_u(boolean arg0)
public boolean
eB()
isLying()
method_16086()
isSleepingWithOwner()
func_213416_eg()
public void
v(boolean arg0)
setRelaxStateOne(boolean arg0)
method_16087(boolean arg0)
setHeadDown(boolean headDown)
func_213415_v(boolean arg0)
public boolean
eC()
isRelaxStateOne()
method_16093()
isHeadDown()
func_213409_eh()
public DyeColor
eD()
getCollarColor()
method_16096()
getCollarColor()
func_213414_ei()
public void
a(bdg arg0)
setCollarColor(DyeColor arg0)
method_16094(class_1767 arg0)
setCollarColor(DyeColor arg0)
func_213417_a(DyeColor arg0)
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public void
dT()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
protected SoundEvent
G()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
public int
A()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public void
eE()
hiss()
method_16089()
hiss()
func_213420_ej()
protected SoundEvent
e(ajw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
protected SoundEvent
cX()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
protected void
cA()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
public boolean
b(float arg0, float arg1)
causeFallDamage(float arg0, float arg1)
method_5747(float arg0, float arg1)
handleFallDamage(float arg0, float arg1)
func_225503_b_(float arg0, float arg1)
protected void
a(ayg arg0, bek arg1)
usePlayerItem(Player arg0, ItemStack arg1)
method_6475(class_1657 arg0, class_1799 arg1)
eat(PlayerEntity arg0, ItemStack arg1)
func_175505_a(PlayerEntity arg0, ItemStack arg1)
private float
eF()
getAttackDamage()
method_22327()
func_226510_eF_()
public boolean
B(akn arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
private void
eG()
handleLieDown()
method_16085()
updateAnimations()
func_213412_ek()
private void
eH()
updateLieDownAmount()
method_16090()
updateSleepAnimation()
func_213418_el()
private void
eI()
updateRelaxStateOneAmount()
method_16084()
updateHeadDownAnimation()
func_213411_em()
public Cat
b(akl arg0)
getBreedOffspring(AgableMob arg0)
method_6573(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
public boolean
a(asz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
public SpawnGroupData
a(bju arg0, ajg arg1, akz arg2, alj arg3, jt arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(IWorld arg0, LocalDifficulty arg1, SpawnType arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
public boolean
a(ayg arg0, ajh arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_184645_a(PlayerEntity arg0, Hand arg1)
public boolean
i(bek arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected float
b(alg arg0, ako arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
protected void
er()
reassessTameGoals()
method_6175()
onTamedChanged()
func_175544_ck()
public float
v(float arg0)
getLieDownAmount(float arg0)
method_16082(float arg0)
getSleepAnimation(float tickDelta)
func_213408_v(float arg0)
public float
w(float arg0)
getLieDownAmountTail(float arg0)
method_16091(float arg0)
getTailCurlAnimation(float tickDelta)
func_213421_w(float arg0)
public float
x(float arg0)
getRelaxStateOneAmount(float arg0)
method_16095(float arg0)
getHeadDownAnimation(float tickDelta)
func_213424_x(float arg0)