net.minecraft.world.entity.animal

public class Ocelot

extends Animal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting

bym
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
bT
CROUCH_SPEED_MOD
field_30340
CROUCHING_SPEED
f_148945_
public static final double
bU
WALK_SPEED_MOD
field_30341
NORMAL_SPEED
f_148946_
public static final double
bW
SPRINT_SPEED_MOD
field_30342
SPRINTING_SPEED
f_148947_
private static final Ingredient
bX
TEMPT_INGREDIENT
field_16299
TAMING_INGREDIENT
f_28981_
private static final EntityDataAccessor<Boolean>
bY
DATA_TRUSTING
field_16301
TRUSTING
f_28982_
private Ocelot$OcelotAvoidEntityGoal<Player>
bZ
ocelotAvoidPlayersGoal
field_16300
fleeGoal
f_28983_
private Ocelot$OcelotTemptGoal
ca
temptGoal
field_16302
temptGoal
f_28984_

Constructor summary

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

Method summary

Modifier and TypeMethod
boolean
A()
isTrusting()
method_16099()
isTrusting()
m_29038_()
private void
w(boolean arg0)
setTrusting(boolean arg0)
method_16102(boolean arg0)
setTrusting(boolean trusting)
m_29045_(boolean arg0)
public void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
c_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public void
Z()
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
u()
createAttributes()
method_26887()
createOcelotAttributes()
m_29036_()
protected SoundEvent
y()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
public int
Q()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
d(bkt 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_()
private float
ge()
getAttackDamage()
method_22329()
getAttackDamage()
m_29039_()
public boolean
C(blv arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public InteractionResult
b(cfi arg0, bka 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
x(boolean arg0)
spawnTrustingParticles(boolean arg0)
method_16100(boolean arg0)
showEmoteParticle(boolean positive)
m_29047_(boolean arg0)
protected void
w()
reassessTrustingGoals()
method_16103()
updateFleeing()
m_29037_()
public Ocelot
b(and arg0, blq 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
m(cmy arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public static boolean
c(blz<bym> arg0, ctq arg1, bmp arg2, hx arg3, auv 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(cts arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public SpawnGroupData
a(cue arg0, bjz arg1, bmp arg2, bne arg3, sn 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
cJ()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()
public boolean
bT()
isSteppingCarefully()
method_21749()
bypassesSteppingEffects()
m_20161_()
protected org.joml.Vector3f
a(blv arg0, blw arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_297656_, C_510_ p_298097_, float arg2)