net.minecraft.world.entity.animal.camel

public class Camel

extends AbstractHorse implements PlayerRideableJumping, RiderShieldingMount, Saddleable

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, ContainerListener, HasCustomInventoryScreen, OwnableEntity, PlayerRideableJumping, PlayerRideable, Saddleable, RiderShieldingMount

bsx
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 Ingredient
bT
TEMPTATION_ITEM
field_40131
BREEDING_INGREDIENT
f_243705_
public static final int
bU
DASH_COOLDOWN_TICKS
field_40132
field_40132
f_244289_
public static final int
bW
MAX_HEAD_Y_ROT
field_41764
field_41764
f_263725_
private static final float
cu
RUNNING_SPEED_BONUS
field_40146
field_40146
f_243982_
private static final float
cv
DASH_VERTICAL_MOMENTUM
field_40147
field_40147
f_244195_
private static final float
cw
DASH_HORIZONTAL_MOMENTUM
field_40148
field_40148
f_244101_
private static final int
cx
DASH_MINIMUM_DURATION_TICKS
field_43388
field_43388
f_278128_
private static final int
cy
SITDOWN_DURATION_TICKS
field_40149
field_40149
f_244084_
private static final int
cz
STANDUP_DURATION_TICKS
field_40133
field_40133
f_244435_
private static final int
cA
IDLE_MINIMAL_DURATION_TICKS
field_40134
field_40134
f_244638_
private static final float
cB
SITTING_HEIGHT_DIFFERENCE
field_40135
field_40135
f_243730_
public static final EntityDataAccessor<Boolean>
bX
DASH
field_40139
DASHING
f_244117_
public static final EntityDataAccessor<Long>
bY
LAST_POSE_CHANGE_TICK
field_40140
LAST_POSE_TICK
f_243883_
public final AnimationState
bZ
sitAnimationState
field_40142
sittingTransitionAnimationState
f_243928_
public final AnimationState
ca
sitPoseAnimationState
field_40734
sittingAnimationState
f_252486_
public final AnimationState
cb
sitUpAnimationState
field_40143
standingTransitionAnimationState
f_244242_
public final AnimationState
cc
idleAnimationState
field_40144
idlingAnimationState
f_244047_
public final AnimationState
cd
dashAnimationState
field_40145
dashingAnimationState
f_244243_
private static final EntityDimensions
cC
SITTING_DIMENSIONS
field_40136
SITTING_DIMENSIONS
f_244306_
private int
cD
dashCooldown
field_40137
dashCooldown
f_244455_
private int
cE
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(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public static AttributeSupplier$Builder
q()
createAttributes()
method_45360()
createCamelAttributes()
m_247319_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public SpawnGroupData
a(cnb arg0, bdv arg1, bgd arg2, bgt arg3, qr 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_251264_, C_469_ p_250254_, C_529_ p_249259_, C_542_ p_251838_, C_4917_ arg4)
protected Brain$Provider<Camel>
dL()
brainProvider()
method_28306()
createBrainProfile()
m_5490_()
protected void
x()
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
a(bgl arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
protected float
b(bgl arg0, bfk arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_250490_, C_510_ arg1)
public double
d()
getRiderShieldingHeight()
method_47923()
getPassengerAttackYOffset()
m_262813_()
protected void
W()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
private void
gK()
setupAnimationStates()
method_45356()
updateAnimations()
m_245223_()
protected void
v(float arg0)
updateWalkAnimation(float arg0)
method_48565(float arg0)
updateLimbs(float arg0)
m_267689_(float arg0)
public void
h(eei arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
protected void
a(byo arg0, eei 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
r()
refuseToMove()
method_45357()
isStationary()
m_245824_()
protected float
e(byo arg0)
getRiddenSpeed(Player arg0)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity arg0)
m_245547_(C_1141_ arg0)
protected Vec2
l(bfz arg0)
getRiddenRotation(LivingEntity arg0)
method_49489(class_1309 arg0)
getControlledRotation(LivingEntity arg0)
m_274391_(C_524_ arg0)
protected Vec3
b(byo arg0, eei 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
dB()
canSprint()
method_48155()
canSprintAsVehicle()
m_264410_()
protected void
b(float arg0, eei 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
w()
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 boolean
fY()
isPanicking()
method_45348()
isPanicking()
m_245623_()
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
W_()
getJumpCooldown()
method_45327()
getJumpCooldown()
m_245614_()
protected SoundEvent
s()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
g_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
d(ben arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected void
b(gu arg0, dcb 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
m(cfz arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public InteractionResult
b(byo arg0, bdw 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
C(float arg0)
onLeashDistance(float arg0)
method_6142(float arg0)
updateForLeashLength(float arg0)
m_7880_(float arg0)
protected boolean
a(byo arg0, cfz 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
ge()
canPerformRearing()
method_45349()
shouldAmbientStand()
m_245259_()
public boolean
a(brl arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public Camel
b(aif arg0, bfe 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
gf()
getEatingSound()
method_28368()
getEatSound()
m_7872_()
protected void
f(ben 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 void
a(bfj arg0, bfj$a arg1)
positionRider(Entity arg0, Entity$MoveFunction arg1)
method_5865(class_1297 arg0, class_1297$class_4738 arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
m_19956_(C_507_ p_289551_, C_507_$C_509_ arg1)
private double
a(boolean arg0, float arg1)
getBodyAnchorAnimationYOffset(boolean arg0, float arg1)
method_45346(boolean arg0, float arg1)
method_45346(boolean arg0, float arg1)
m_246718_(boolean p_251763_, float arg1)
public Vec3
p(float arg0)
getLeashOffset(float arg0)
method_45321(float arg0)
getLeashOffset(float arg0)
m_245894_(float arg0)
public double
bx()
getPassengersRidingOffset()
method_5621()
getMountedHeightOffset()
m_6048_()
public void
j(bfj arg0)
onPassengerTurned(Entity arg0)
method_5644(class_1297 arg0)
onPassengerLookAround(Entity arg0)
m_7340_(C_507_ arg0)
private void
a(bfj arg0)
clampRotation(Entity arg0)
method_45345(class_1297 arg0)
clampPassengerYaw(Entity passenger)
m_246824_(C_507_ arg0)
private void
a(bfj arg0, float arg1)
clampHeadRotationToBody(Entity arg0, float arg1)
method_48159(class_1297 arg0, float arg1)
clampHeadYaw(Entity entity, float range)
m_264142_(C_507_ p_265541_, float arg1)
public int
fC()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
protected boolean
o(bfj arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
public LivingEntity
cL()
getControllingPassenger()
method_5642()
getControllingPassenger()
m_6688_()
protected void
V()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public boolean
gg()
isCamelSitting()
method_45350()
isSitting()
m_264103_()
public boolean
gh()
isCamelVisuallySitting()
method_48573()
shouldUpdateSittingAnimations()
m_267745_()
public boolean
gi()
isInPoseTransition()
method_45351()
isChangingPose()
m_245346_()
private boolean
gL()
isVisuallySittingDown()
method_46398()
shouldPlaySittingTransitionAnimation()
m_267631_()
public void
gj()
sitDown()
method_45352()
startSitting()
m_245138_()
public void
gk()
standUp()
method_45353()
startStanding()
m_246761_()
public void
gl()
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
gm()
getPoseTime()
method_45355()
getLastPoseTickDelta()
m_246237_()
public SoundEvent
R_()
getSaddleSoundEvent()
method_45328()
getSaddleSound()
m_246265_()
public void
a(aby<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
protected BodyRotationControl
D()
createBodyControl()
method_5963()
createBodyControl()
m_7560_()
public boolean
gn()
isTamed()
method_6727()
isTame()
m_30614_()
public void
b(byo arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
m_213583_(C_1141_ arg0)