net.minecraft.world.entity.animal.camel

public class Camel

extends AbstractHorse implements PlayerRideableJumping, Saddleable

All mapped superinterfaces:

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

bwd
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 float
bU
BABY_SCALE
field_45127
field_45127
f_290826_
public static final int
bW
DASH_COOLDOWN_TICKS
field_40132
field_40132
f_244289_
public static final int
bX
MAX_HEAD_Y_ROT
field_41764
field_41764
f_263725_
private static final float
cv
RUNNING_SPEED_BONUS
field_40146
field_40146
f_243982_
private static final float
cw
DASH_VERTICAL_MOMENTUM
field_40147
field_40147
f_244195_
private static final float
cx
DASH_HORIZONTAL_MOMENTUM
field_40148
field_40148
f_244101_
private static final int
cy
DASH_MINIMUM_DURATION_TICKS
field_43388
field_43388
f_278128_
private static final int
cz
SITDOWN_DURATION_TICKS
field_40149
field_40149
f_244084_
private static final int
cA
STANDUP_DURATION_TICKS
field_40133
field_40133
f_244435_
private static final int
cB
IDLE_MINIMAL_DURATION_TICKS
field_40134
field_40134
f_244638_
private static final float
cC
SITTING_HEIGHT_DIFFERENCE
field_40135
field_40135
f_243730_
public static final EntityDataAccessor<Boolean>
bY
DASH
field_40139
DASHING
f_244117_
public static final EntityDataAccessor<Long>
bZ
LAST_POSE_CHANGE_TICK
field_40140
LAST_POSE_TICK
f_243883_
public final AnimationState
ca
sitAnimationState
field_40142
sittingTransitionAnimationState
f_243928_
public final AnimationState
cb
sitPoseAnimationState
field_40734
sittingAnimationState
f_252486_
public final AnimationState
cc
sitUpAnimationState
field_40143
standingTransitionAnimationState
f_244242_
public final AnimationState
cd
idleAnimationState
field_40144
idlingAnimationState
f_244047_
public final AnimationState
ce
dashAnimationState
field_40145
dashingAnimationState
f_244243_
private static final EntityDimensions
cD
SITTING_DIMENSIONS
field_40136
SITTING_DIMENSIONS
f_244306_
private int
cE
dashCooldown
field_40137
dashCooldown
f_244455_
private int
cF
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(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qw 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_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public SpawnGroupData
a(cqk arg0, bgw arg1, bjk arg2, bjz arg3, qw 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>
dO()
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
a(bjs arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
protected float
b(bjs arg0, bir 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)
protected void
X()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
private void
gP()
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(ehn arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
protected void
a(cbu arg0, ehn 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
t()
refuseToMove()
method_45357()
isStationary()
m_245824_()
protected float
e(cbu arg0)
getRiddenSpeed(Player arg0)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity arg0)
m_245547_(C_1141_ arg0)
protected Vec2
j(bjg arg0)
getRiddenRotation(LivingEntity arg0)
method_49489(class_1309 arg0)
getControlledRotation(LivingEntity arg0)
m_274391_(C_524_ arg0)
protected Vec3
b(cbu arg0, ehn 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
dE()
canSprint()
method_48155()
canSprintAsVehicle()
m_264410_()
protected void
b(float arg0, ehn 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
aa_()
getJumpCooldown()
method_45327()
getJumpCooldown()
m_245614_()
protected SoundEvent
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected void
b(gw arg0, dfj 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(cjf arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public InteractionResult
b(cbu arg0, bgx 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
D(float arg0)
onLeashDistance(float arg0)
method_6142(float arg0)
updateForLeashLength(float arg0)
m_7880_(float arg0)
public boolean
gd()
canCamelChangePose()
method_52548()
canChangePose()
m_293983_()
protected boolean
a(cbu arg0, cjf 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
gj()
canPerformRearing()
method_45349()
shouldAmbientStand()
m_245259_()
public boolean
a(bur arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public Camel
b(akq arg0, bil 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
gk()
getEatingSound()
method_28368()
getEatSound()
m_7872_()
protected void
f(bho 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 org.joml.Vector3f
a(biq arg0, bir 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_298993_, C_510_ p_301011_, float arg2)
public float
dY()
getScale()
method_17825()
getScaleFactor()
m_6134_()
private double
a(boolean arg0, float arg1, bir 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)
private void
a(biq 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
Z()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
protected boolean
r(biq arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
protected void
W()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
public boolean
gl()
isCamelSitting()
method_45350()
isSitting()
m_264103_()
public boolean
gm()
isCamelVisuallySitting()
method_48573()
shouldUpdateSittingAnimations()
m_267745_()
public boolean
gn()
isInPoseTransition()
method_45351()
isChangingPose()
m_245346_()
private boolean
gQ()
isVisuallySittingDown()
method_46398()
shouldPlaySittingTransitionAnimation()
m_267631_()
public void
go()
sitDown()
method_45352()
startSitting()
m_245138_()
public void
gp()
standUp()
method_45353()
startStanding()
m_246761_()
public void
gq()
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
gr()
getPoseTime()
method_45355()
getLastPoseTickDelta()
m_246237_()
public SoundEvent
W_()
getSaddleSoundEvent()
method_45328()
getSaddleSound()
m_246265_()
public void
a(aee<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
gs()
isTamed()
method_6727()
isTame()
m_30614_()
public void
b(cbu arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
m_213583_(C_1141_ arg0)
protected BodyRotationControl
F()
createBodyControl()
method_5963()
createBodyControl()
m_7560_()