net.minecraft.world.entity.animal

public class Cat

extends TamableAnimal

All mapped superinterfaces:

Nameable, CommandSource

arb
net.minecraft.world.entity.animal.Cat
net.minecraft.class_1451
net.minecraft.entity.passive.CatEntity
net.minecraft.entity.passive.CatEntity
net.minecraft.server.v1_14_R1.EntityCat

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
ee()
getResourceLocation()
method_16092()
getTexture()
func_213423_ee()
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public int
ef()
getCatType()
method_6571()
getCatType()
func_213413_ef()
getCatType()
public void
s(int arg0)
setCatType(int arg0)
method_6572(int arg0)
setCatType(int type)
func_213422_r(int arg0)
setCatType(int arg0)
public void
u(boolean arg0)
setLying(boolean arg0)
method_16088(boolean arg0)
setSleepingWithOwner(boolean sleeping)
func_213419_u(boolean arg0)
public boolean
eg()
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
eh()
isRelaxStateOne()
method_16093()
isHeadDown()
func_213409_eh()
public DyeColor
ei()
getCollarColor()
method_16096()
getCollarColor()
func_213414_ei()
getCollarColor()
public void
a(bbg arg0)
setCollarColor(DyeColor arg0)
method_16094(class_1767 arg0)
setCollarColor(DyeColor arg0)
func_213417_a(DyeColor arg0)
setCollarColor(EnumColor arg0)
protected void
u_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(id arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public void
L()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
protected SoundEvent
G()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
public int
A()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public void
ej()
hiss()
method_16089()
hiss()
func_213420_ej()
protected SoundEvent
e(ahx arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
cH()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
cl()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public void
b(float arg0, float arg1)
causeFallDamage(float arg0, float arg1)
method_5747(float arg0, float arg1)
handleFallDamage(float arg0, float arg1)
func_180430_e(float arg0, float arg1)
protected void
a(awg arg0, bcj 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)
public boolean
C(aio 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_()
tick()
private void
ek()
handleLieDown()
method_16085()
updateAnimations()
func_213412_ek()
private void
el()
updateLieDownAmount()
method_16090()
updateSleepAnimation()
func_213418_el()
private void
em()
updateRelaxStateOneAmount()
method_16084()
updateHeadDownAnimation()
func_213411_em()
public Cat
b(aim arg0)
getBreedOffspring(AgableMob arg0)
method_6573(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
public boolean
a(ara arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
public SpawnGroupData
a(bhs arg0, ahh arg1, aja arg2, ajj arg3, id 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)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public boolean
a(awg arg0, ahi 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(bcj arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected float
b(ajh arg0, aip 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
c(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
func_213397_c(double arg0)
isTypeNotPersistent(double arg0)
protected void
dW()
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)