net.minecraft.world.entity.animal

public class Ocelot

extends Animal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bqc
net.minecraft.world.entity.animal.Ocelot
net.minecraft.class_3701
net.minecraft.entity.passive.OcelotEntity
net.minecraft.src.C_861_
net.minecraft.world.entity.animal.EntityOcelot

Field summary

Modifier and TypeField
public static final double
bX
CROUCH_SPEED_MOD
field_30340
CROUCHING_SPEED
f_148945_
public static final double
bY
WALK_SPEED_MOD
field_30341
NORMAL_SPEED
f_148946_
public static final double
ca
SPRINT_SPEED_MOD
field_30342
SPRINTING_SPEED
f_148947_
private static final Ingredient
cb
TEMPT_INGREDIENT
field_16299
TAMING_INGREDIENT
f_28981_
private static final EntityDataAccessor<Boolean>
cc
DATA_TRUSTING
field_16301
TRUSTING
f_28982_
private Ocelot$OcelotAvoidEntityGoal<Player>
cd
ocelotAvoidPlayersGoal
field_16300
fleeGoal
f_28983_
private Ocelot$OcelotTemptGoal
ce
temptGoal
field_16302
temptGoal
f_28984_

Constructor summary

ModifierConstructor
public (EntityType<? extends Ocelot> p_28988_, Level arg1)

Method summary

Modifier and TypeMethod
boolean
fM()
isTrusting()
method_16099()
isTrusting()
m_29038_()
private void
v(boolean arg0)
setTrusting(boolean arg0)
method_16102(boolean arg0)
setTrusting(boolean trusting)
m_29045_(boolean arg0)
public void
b(qp arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qp arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
protected void
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
public void
U()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
m_6785_(double arg0)
public static AttributeSupplier$Builder
p()
createAttributes()
method_26887()
createOcelotAttributes()
m_29036_()
public boolean
a(float arg0, float arg1, bcz arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_148950_, float p_148951_, C_489_ arg2)
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
public int
K()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
c(bcz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
c_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
private float
fN()
getAttackDamage()
method_22329()
getAttackDamage()
m_29039_()
public boolean
A(bdr arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public InteractionResult
b(bwp arg0, bcl arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_29022_, C_470_ arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
private void
w(boolean arg0)
spawnTrustingParticles(boolean arg0)
method_16100(boolean arg0)
showEmoteParticle(boolean positive)
m_29047_(boolean arg0)
protected void
t()
reassessTrustingGoals()
method_16103()
updateFleeing()
m_29037_()
public Ocelot
b(ahm arg0, bdo arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_16104(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_148957_, C_141062_ arg1)
public boolean
n(cdt arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public static boolean
c(bdv<bqc> arg0, cjx arg1, bek arg2, gp arg3, aoh arg4)
checkOcelotSpawnRules(EntityType<Ocelot> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_20666(class_1299<class_3701> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_218206_(C_513_<C_861_> p_218207_, C_1598_ p_218208_, C_529_ p_218209_, C_4675_ p_218210_, C_212974_ p_218211_)
public boolean
a(cjz arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public SpawnGroupData
a(ckl arg0, bck arg1, bek arg2, bez arg3, qp 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, NbtCompound arg4)
m_6518_(C_1618_ p_29008_, C_469_ p_29009_, C_529_ p_29010_, C_542_ p_29011_, C_4917_ arg4)
public Vec3
cG()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()
public boolean
bP()
isSteppingCarefully()
method_21749()
bypassesSteppingEffects()
m_20161_()