net.minecraft.world.entity.animal

public class Cat

extends TamableAnimal

All mapped superinterfaces:

Nameable, CommandSource

bab
net.minecraft.world.entity.animal.Cat
net.minecraft.class_1451
net.minecraft.entity.passive.CatEntity
net.minecraft.entity.passive.CatEntity
net.minecraft.server.v1_16_R3.EntityCat

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
eU()
getResourceLocation()
method_16092()
getTexture()
func_213423_ee()
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public int
eV()
getCatType()
method_6571()
getCatType()
func_213413_ef()
getCatType()
public void
t(int arg0)
setCatType(int arg0)
method_6572(int arg0)
setCatType(int type)
func_213422_r(int arg0)
setCatType(int arg0)
public void
x(boolean arg0)
setLying(boolean arg0)
method_16088(boolean arg0)
setSleepingWithOwner(boolean sleeping)
func_213419_u(boolean arg0)
public boolean
eW()
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
eX()
isRelaxStateOne()
method_16093()
isHeadDown()
func_213409_eh()
public DyeColor
eY()
getCollarColor()
method_16096()
getCollarColor()
func_213414_ei()
getCollarColor()
public void
a(bkx arg0)
setCollarColor(DyeColor arg0)
method_16094(class_1767 arg0)
setCollarColor(DyeColor color)
func_213417_a(DyeColor arg0)
setCollarColor(EnumColor arg0)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
N()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
public int
D()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
func_70627_aG()
public void
eZ()
hiss()
method_16089()
hiss()
func_213420_ej()
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dq()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
public static AttributeSupplier$Builder
fa()
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(bfw arg0, bmb 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
fb()
getAttackDamage()
method_22327()
getAttackDamage()
func_226510_eF_()
public boolean
B(aqa arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
fc()
handleLieDown()
method_16085()
updateAnimations()
func_213412_ek()
private void
fd()
updateLieDownAmount()
method_16090()
updateSleepAnimation()
func_213418_el()
private void
fe()
updateRelaxStateOneAmount()
method_16084()
updateHeadDownAnimation()
func_213411_em()
public Cat
b(aag arg0, apy arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_6573(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
a(azz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
public SpawnGroupData
a(bsk arg0, aos arg1, aqp arg2, arc arg3, md 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)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public InteractionResult
b(bfw arg0, aot 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(bmb arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
protected float
b(aqx arg0, aqb 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)
isTypeNotPersistent(double arg0)
protected void
eL()
reassessTameGoals()
method_6175()
onTamedChanged()
func_175544_ck()
public float
y(float arg0)
getLieDownAmount(float arg0)
method_16082(float arg0)
getSleepAnimation(float tickDelta)
func_213408_v(float arg0)
public float
z(float arg0)
getLieDownAmountTail(float arg0)
method_16091(float arg0)
getTailCurlAnimation(float tickDelta)
func_213421_w(float arg0)
public float
A(float arg0)
getRelaxStateOneAmount(float arg0)
method_16095(float arg0)
getHeadDownAnimation(float tickDelta)
func_213424_x(float arg0)