net.minecraft.world.entity.animal

public class Cat

extends TamableAnimal

All mapped superinterfaces:

Nameable, CommandSource

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
eV()
getResourceLocation()
method_16092()
getTexture()
func_213423_ee()
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
public int
eW()
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
x(boolean arg0)
setLying(boolean arg0)
method_16088(boolean arg0)
setSleepingWithOwner(boolean sleeping)
func_213419_u(boolean arg0)
public boolean
eX()
isLying()
method_16086()
isSleepingWithOwner()
func_213416_eg()
public void
y(boolean arg0)
setRelaxStateOne(boolean arg0)
method_16087(boolean arg0)
setHeadDown(boolean headDown)
func_213415_v(boolean arg0)
public boolean
eY()
isRelaxStateOne()
method_16093()
isHeadDown()
func_213409_eh()
public DyeColor
eZ()
getCollarColor()
method_16096()
getCollarColor()
func_213414_ei()
public void
a(bje arg0)
setCollarColor(DyeColor arg0)
method_16094(class_1767 arg0)
setCollarColor(DyeColor color)
func_213417_a(DyeColor arg0)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public void
N()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
public int
D()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public void
fa()
hiss()
method_16089()
hiss()
func_213420_ej()
protected SoundEvent
e(anw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
public static AttributeSupplier$Builder
fb()
createAttributes()
method_26881()
createCatAttributes()
func_234184_eY_()
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(bec arg0, bki 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
fc()
getAttackDamage()
method_22327()
getAttackDamage()
func_226510_eF_()
public boolean
B(aom arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
private void
fd()
handleLieDown()
method_16085()
updateAnimations()
func_213412_ek()
private void
fe()
updateLieDownAmount()
method_16090()
updateSleepAnimation()
func_213418_el()
private void
ff()
updateRelaxStateOneAmount()
method_16084()
updateHeadDownAnimation()
func_213411_em()
public Cat
b(aok arg0)
getBreedOffspring(AgableMob arg0)
method_6573(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
public boolean
a(ayk arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
public SpawnGroupData
a(bqc arg0, ane arg1, apb arg2, apo arg3, le 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(WorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
public InteractionResult
b(bec arg0, anf arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
public boolean
k(bki arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected float
b(apj arg0, aon 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
eM()
reassessTameGoals()
method_6175()
onTamedChanged()
func_175544_ck()
public float
u(float arg0)
getLieDownAmount(float arg0)
method_16082(float arg0)
getSleepAnimation(float tickDelta)
func_213408_v(float arg0)
public float
v(float arg0)
getLieDownAmountTail(float arg0)
method_16091(float arg0)
getTailCurlAnimation(float tickDelta)
func_213421_w(float arg0)
public float
w(float arg0)
getRelaxStateOneAmount(float arg0)
method_16095(float arg0)
getHeadDownAnimation(float tickDelta)
func_213424_x(float arg0)