net.minecraft.world.entity.animal

public class Ocelot

extends Animal

All mapped superinterfaces:

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

chn
net.minecraft.world.entity.animal.Ocelot
net.minecraft.class_3701
net.minecraft.entity.passive.OcelotEntity
net.minecraft.world.entity.animal.EntityOcelot

Field summary

Modifier and TypeField
public static final double
bY
CROUCH_SPEED_MOD
field_30340
CROUCHING_SPEED
public static final double
bZ
WALK_SPEED_MOD
field_30341
NORMAL_SPEED
public static final double
ca
SPRINT_SPEED_MOD
field_30342
SPRINTING_SPEED
private static final EntityDataAccessor<Boolean>
cc
DATA_TRUSTING
field_16301
TRUSTING
private Ocelot$OcelotAvoidEntityGoal<Player>
cd
ocelotAvoidPlayersGoal
field_16300
fleeGoal
private Ocelot$OcelotTemptGoal
ce
temptGoal
field_16302
temptGoal

Constructor summary

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

Method summary

Modifier and TypeMethod
boolean
x()
isTrusting()
method_16099()
isTrusting()
private void
x(boolean arg0)
setTrusting(boolean arg0)
method_16102(boolean arg0)
setTrusting(boolean trusting)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
E()
registerGoals()
method_5959()
initGoals()
public void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
public static AttributeSupplier$Builder
p()
createAttributes()
method_26887()
createOcelotAttributes()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
public int
T()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
public InteractionResult
b(coy arg0, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
private void
y(boolean arg0)
spawnTrustingParticles(boolean arg0)
method_16100(boolean arg0)
showEmoteParticle(boolean positive)
protected void
t()
reassessTrustingGoals()
method_16103()
updateFleeing()
public Ocelot
b(ard arg0, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_16104(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
j(cwq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public static boolean
c(but<chn> arg0, dgk arg1, bus arg2, ji arg3, azh arg4)
checkOcelotSpawnRules(EntityType<Ocelot> arg0, LevelAccessor arg1, EntitySpawnReason 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)
public boolean
a(dgm arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason 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)
public Vec3
cT()
getLeashOffset()
method_29919()
getLeashOffset()
public boolean
ce()
isSteppingCarefully()
method_21749()
bypassesSteppingEffects()