net.minecraft.world.entity.animal.camel

public class Camel

extends AbstractHorse implements PlayerRideableJumping, Saddleable

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Targeting, ContainerListener, HasCustomInventoryScreen, OwnableEntity, PlayerRideableJumping, PlayerRideable, Saddleable

cgy
net.minecraft.world.entity.animal.camel.Camel
net.minecraft.class_7689
net.minecraft.entity.passive.CamelEntity
net.minecraft.src.C_243588_
net.minecraft.world.entity.animal.camel.Camel

Field summary

Modifier and TypeField
public static final float
bY
BABY_SCALE
field_45127
field_45127
f_290826_
public static final int
bZ
DASH_COOLDOWN_TICKS
field_40132
field_40132
f_244289_
public static final int
cb
MAX_HEAD_Y_ROT
field_41764
field_41764
f_263725_
private static final float
cz
RUNNING_SPEED_BONUS
field_40146
field_40146
f_243982_
private static final float
cA
DASH_VERTICAL_MOMENTUM
field_40147
field_40147
f_244195_
private static final float
cB
DASH_HORIZONTAL_MOMENTUM
field_40148
field_40148
f_244101_
private static final int
cC
DASH_MINIMUM_DURATION_TICKS
field_43388
field_43388
f_278128_
private static final int
cD
SITDOWN_DURATION_TICKS
field_40149
field_40149
f_244084_
private static final int
cE
STANDUP_DURATION_TICKS
field_40133
field_40133
f_244435_
private static final int
cF
IDLE_MINIMAL_DURATION_TICKS
field_40134
field_40134
f_244638_
private static final float
cG
SITTING_HEIGHT_DIFFERENCE
field_40135
field_40135
f_243730_
public static final EntityDataAccessor<Boolean>
cc
DASH
field_40139
DASHING
f_244117_
public static final EntityDataAccessor<Long>
cd
LAST_POSE_CHANGE_TICK
field_40140
LAST_POSE_TICK
f_243883_
public final AnimationState
ce
sitAnimationState
field_40142
sittingTransitionAnimationState
f_243928_
public final AnimationState
cf
sitPoseAnimationState
field_40734
sittingAnimationState
f_252486_
public final AnimationState
cg
sitUpAnimationState
field_40143
standingTransitionAnimationState
f_244242_
public final AnimationState
ch
idleAnimationState
field_40144
idlingAnimationState
f_244047_
public final AnimationState
ci
dashAnimationState
field_40145
dashingAnimationState
f_244243_
private static final EntityDimensions
cH
SITTING_DIMENSIONS
field_40136
SITTING_DIMENSIONS
f_244306_
private int
cI
dashCooldown
field_40137
dashCooldown
f_244455_
private int
cJ
idleAnimationTimeout
field_40138
idleAnimationCooldown
f_244476_

Constructor summary

ModifierConstructor
public (EntityType<? extends Camel> p_249295_, Level arg1)

Method summary

Modifier and TypeMethod
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public static AttributeSupplier$Builder
s()
createAttributes()
method_45360()
createCamelAttributes()
m_247319_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public SpawnGroupData
a(dcp arg0, bqu arg1, btv arg2, buk 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_251264_, C_469_ p_250254_, C_529_ p_249259_, C_542_ arg3)
protected Brain$Provider<Camel>
dT()
brainProvider()
method_28306()
createBrainProfile()
m_5490_()
protected void
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public EntityDimensions
e(bud arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
protected void
Z()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
private void
ha()
setupAnimationStates()
method_45356()
updateAnimations()
m_245223_()
protected void
x(float arg0)
updateWalkAnimation(float arg0)
method_48565(float arg0)
updateLimbs(float arg0)
m_267689_(float arg0)
public void
a(evt arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
protected void
a(cmz arg0, evt arg1)
tickRidden(Player arg0, Vec3 arg1)
method_49481(class_1657 arg0, class_243 arg1)
tickControlled(PlayerEntity arg0, Vec3d arg1)
m_274498_(C_1141_ p_278301_, C_3046_ arg1)
public boolean
u()
refuseToMove()
method_45357()
isStationary()
m_245824_()
protected float
e(cmz arg0)
getRiddenSpeed(Player arg0)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity arg0)
m_245547_(C_1141_ arg0)
protected Vec2
j(btr arg0)
getRiddenRotation(LivingEntity arg0)
method_49489(class_1309 arg0)
getControlledRotation(LivingEntity arg0)
m_274391_(C_524_ arg0)
protected Vec3
b(cmz arg0, evt arg1)
getRiddenInput(Player arg0, Vec3 arg1)
method_49482(class_1657 arg0, class_243 arg1)
getControlledMovementInput(PlayerEntity arg0, Vec3d arg1)
m_274312_(C_1141_ p_278298_, C_3046_ arg1)
public boolean
a()
canJump()
method_6153()
canJump()
m_7132_()
public void
b(int arg0)
onPlayerJump(int arg0)
method_6154(int arg0)
setJumpStrength(int arg0)
m_7888_(int arg0)
public boolean
dI()
canSprint()
method_48155()
canSprintAsVehicle()
m_264410_()
protected void
b(float arg0, evt arg1)
executeRidersJump(float arg0, Vec3 arg1)
method_45343(float arg0, class_243 arg1)
jump(float arg0, Vec3d arg1)
m_245980_(float p_275627_, C_3046_ arg1)
public boolean
y()
isDashing()
method_45361()
isDashing()
m_245293_()
public void
w(boolean arg0)
setDashing(boolean arg0)
method_45362(boolean arg0)
setDashing(boolean dashing)
m_246841_(boolean arg0)
public void
c(int arg0)
handleStartJump(int arg0)
method_6155(int arg0)
startJumping(int arg0)
m_7199_(int arg0)
public void
b()
handleStopJump()
method_6156()
stopJumping()
m_8012_()
public int
c()
getJumpCooldown()
method_45327()
getJumpCooldown()
m_245614_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
d(brp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected void
b(iz arg0, dse arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_251457_, C_2064_ arg1)
public boolean
o(cur arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public InteractionResult
b(cmz arg0, bqv arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_251004_, C_470_ arg1)
protected void
F(float arg0)
onLeashDistance(float arg0)
method_6142(float arg0)
updateForLeashLength(float arg0)
m_7880_(float arg0)
public boolean
gq()
canCamelChangePose()
method_52548()
canChangePose()
m_293983_()
protected boolean
a(cmz arg0, cur arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
receiveFood(PlayerEntity arg0, ItemStack arg1)
m_5994_(C_1141_ p_248995_, C_1391_ arg1)
protected boolean
gw()
canPerformRearing()
method_45349()
shouldAmbientStand()
m_245259_()
public boolean
a(cfh arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public Camel
b(arf arg0, bsq arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_45347(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_251047_, C_141062_ arg1)
protected SoundEvent
gx()
getEatingSound()
method_28368()
getEatSound()
m_7872_()
protected void
f(brp arg0, float arg1)
actuallyHurt(DamageSource arg0, float arg1)
method_6074(class_1282 arg0, float arg1)
applyDamage(DamageSource arg0, float arg1)
m_6475_(C_489_ p_251451_, float arg1)
protected Vec3
a(bsw arg0, bsz 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_293035_(C_507_ p_298993_, C_510_ p_301011_, float arg2)
public float
ed()
getAgeScale()
method_17825()
getScaleFactor()
m_320705_()
private double
a(boolean arg0, float arg1, bsz arg2, float arg3)
getBodyAnchorAnimationYOffset(boolean arg0, float arg1, EntityDimensions arg2, float arg3)
method_45346(boolean arg0, float arg1, class_4048 arg2, float arg3)
getPassengerAttachmentY(boolean primaryPassenger, float tickDelta, EntityDimensions dimensions, float scaleFactor)
m_246718_(boolean p_251763_, float p_301064_, C_510_ p_299749_, float arg3)
public Vec3
p(float arg0)
getLeashOffset(float arg0)
method_45321(float arg0)
getLeashOffset(float arg0)
m_245894_(float arg0)
public int
ab()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
protected boolean
r(bsw arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public boolean
gy()
isCamelSitting()
method_45350()
isSitting()
m_264103_()
public boolean
gz()
isCamelVisuallySitting()
method_48573()
shouldUpdateSittingAnimations()
m_267745_()
public boolean
gA()
isInPoseTransition()
method_45351()
isChangingPose()
m_245346_()
private boolean
hb()
isVisuallySittingDown()
method_46398()
shouldPlaySittingTransitionAnimation()
m_267631_()
public void
gB()
sitDown()
method_45352()
startSitting()
m_245138_()
public void
gC()
standUp()
method_45353()
startStanding()
m_246761_()
public void
gD()
standUpInstantly()
method_45354()
setStanding()
m_247328_()
public void
a(long arg0)
resetLastPoseChangeTick(long arg0)
method_45344(long arg0)
setLastPoseTick(long lastPoseTick)
m_246174_(long arg0)
private void
b(long arg0)
resetLastPoseChangeTickToFullStand(long arg0)
method_48160(long arg0)
initLastPoseTick(long time)
m_264491_(long arg0)
public long
gE()
getPoseTime()
method_45355()
getLastPoseTickDelta()
m_246237_()
public SoundEvent
Y_()
getSaddleSoundEvent()
method_45328()
getSaddleSound()
m_246265_()
public void
a(akk<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
gF()
isTamed()
method_6727()
isTame()
m_30614_()
public void
b(cmz arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
m_213583_(C_1141_ arg0)
protected BodyRotationControl
E()
createBodyControl()
method_5963()
createBodyControl()
m_7560_()