net.minecraft.world.entity.animal

public class Ocelot

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

cfs
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
cc
CROUCH_SPEED_MOD
field_30340
CROUCHING_SPEED
f_148945_
public static final double
cd
WALK_SPEED_MOD
field_30341
NORMAL_SPEED
f_148946_
public static final double
ce
SPRINT_SPEED_MOD
field_30342
SPRINTING_SPEED
f_148947_
private static final EntityDataAccessor<Boolean>
cg
DATA_TRUSTING
field_16301
TRUSTING
f_28982_
private Ocelot$OcelotAvoidEntityGoal<Player>
ch
ocelotAvoidPlayersGoal
field_16300
fleeGoal
f_28983_
private Ocelot$OcelotTemptGoal
ci
temptGoal
field_16302
temptGoal
f_28984_

Constructor summary

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

Method summary

Modifier and TypeMethod
boolean
x()
isTrusting()
method_16099()
isTrusting()
m_29038_()
private void
x(boolean arg0)
setTrusting(boolean arg0)
method_16102(boolean arg0)
setTrusting(boolean trusting)
m_29045_(boolean arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public void
ab()
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
s()
createAttributes()
method_26887()
createOcelotAttributes()
m_29036_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
public int
R()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public InteractionResult
b(cmx arg0, bqq 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
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
private void
y(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(aqu arg0, bsl 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
o(cuq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public static boolean
c(bsx<cfs> arg0, dcx arg1, btr arg2, jd arg3, ayw 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(dcz arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public SpawnGroupData
a(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_29008_, C_469_ p_29009_, C_529_ p_29010_, C_542_ arg3)
public Vec3
cM()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()
public boolean
bX()
isSteppingCarefully()
method_21749()
bypassesSteppingEffects()
m_20161_()