net.minecraft.world.entity.animal.camel

public class Camel

extends AbstractHorse

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, HasCustomInventoryScreen, OwnableEntity, PlayerRideableJumping, PlayerRideable

cki
net.minecraft.world.entity.animal.camel.Camel
net.minecraft.class_7689
net.minecraft.entity.passive.CamelEntity

Field summary

Modifier and TypeField
public static final float
bF
BABY_SCALE
field_45127
field_45127
public static final int
bG
DASH_COOLDOWN_TICKS
field_40132
field_40132
public static final int
bH
MAX_HEAD_Y_ROT
field_41764
field_41764
private static final float
cd
RUNNING_SPEED_BONUS
field_40146
field_40146
private static final float
ce
DASH_VERTICAL_MOMENTUM
field_40147
field_40147
private static final float
cf
DASH_HORIZONTAL_MOMENTUM
field_40148
field_40148
private static final int
cg
DASH_MINIMUM_DURATION_TICKS
field_43388
field_43388
private static final int
ch
SITDOWN_DURATION_TICKS
field_40149
field_40149
private static final int
ci
STANDUP_DURATION_TICKS
field_40133
field_40133
private static final int
cj
IDLE_MINIMAL_DURATION_TICKS
field_40134
field_40134
private static final float
ck
SITTING_HEIGHT_DIFFERENCE
field_40135
field_40135
public static final EntityDataAccessor<Boolean>
bJ
DASH
field_40139
DASHING
public static final EntityDataAccessor<Long>
bK
LAST_POSE_CHANGE_TICK
field_40140
LAST_POSE_TICK
public final AnimationState
bL
sitAnimationState
field_40142
sittingTransitionAnimationState
public final AnimationState
bM
sitPoseAnimationState
field_40734
sittingAnimationState
public final AnimationState
bN
sitUpAnimationState
field_40143
standingTransitionAnimationState
public final AnimationState
bO
idleAnimationState
field_40144
idlingAnimationState
public final AnimationState
bP
dashAnimationState
field_40145
dashingAnimationState
private static final EntityDimensions
cl
SITTING_DIMENSIONS
field_40136
SITTING_DIMENSIONS
private int
cm
dashCooldown
field_40137
dashCooldown
private int
cp
idleAnimationTimeout
field_40138
idleAnimationCooldown

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public static AttributeSupplier$Builder
q()
createAttributes()
method_45360()
createCamelAttributes()
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public SpawnGroupData
a(djg arg0, btw arg1, bwi arg2, bxr 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)
protected Brain$Provider<Camel>
ec()
brainProvider()
method_28306()
createBrainProfile()
protected void
D()
registerGoals()
method_5959()
initGoals()
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)
public EntityDimensions
e(bxl arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
protected void
a(aro arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
h()
tick()
method_5773()
tick()
private void
ha()
setupAnimationStates()
method_45356()
updateAnimations()
protected void
A(float arg0)
updateWalkAnimation(float arg0)
method_48565(float arg0)
updateLimbs(float arg0)
public void
a_(fdw arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
protected void
a(cqs arg0, fdw arg1)
tickRidden(Player arg0, Vec3 arg1)
method_49481(class_1657 arg0, class_243 arg1)
tickControlled(PlayerEntity arg0, Vec3d arg1)
public boolean
t()
refuseToMove()
method_45357()
isStationary()
protected float
c(cqs arg0)
getRiddenSpeed(Player arg0)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity arg0)
protected Vec2
i(bwz arg0)
getRiddenRotation(LivingEntity arg0)
method_49489(class_1309 arg0)
getControlledRotation(LivingEntity arg0)
protected Vec3
b(cqs arg0, fdw arg1)
getRiddenInput(Player arg0, Vec3 arg1)
method_49482(class_1657 arg0, class_243 arg1)
getControlledMovementInput(PlayerEntity arg0, Vec3d arg1)
public boolean
a()
canJump()
method_6153()
canJump()
public void
b(int arg0)
onPlayerJump(int arg0)
method_6154(int arg0)
setJumpStrength(int arg0)
public boolean
dO()
canSprint()
method_48155()
canSprintAsVehicle()
protected void
b(float arg0, fdw arg1)
executeRidersJump(float arg0, Vec3 arg1)
method_45343(float arg0, class_243 arg1)
jump(float arg0, Vec3d arg1)
public boolean
x()
isDashing()
method_45361()
isDashing()
public void
w(boolean arg0)
setDashing(boolean arg0)
method_45362(boolean arg0)
setDashing(boolean dashing)
public void
c(int arg0)
handleStartJump(int arg0)
method_6155(int arg0)
startJumping(int arg0)
public void
b()
handleStopJump()
method_6156()
stopJumping()
public int
c()
getJumpCooldown()
method_45327()
getJumpCooldown()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected void
b(iu arg0, dzo arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public boolean
k(cys arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public InteractionResult
b(cqs arg0, btx arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public boolean
a(bwa arg0, float arg1)
handleLeashAtDistance(Entity arg0, float arg1)
method_60956(class_1297 arg0, float arg1)
beforeLeashTick(Entity arg0, float arg1)
public boolean
gq()
canCamelChangePose()
method_52548()
canChangePose()
protected boolean
a(cqs arg0, cys arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
receiveFood(PlayerEntity arg0, ItemStack arg1)
protected boolean
gr()
canPerformRearing()
method_45349()
shouldAmbientStand()
public boolean
a(cio arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public Camel
b(aro arg0, bvq arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_45347(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
protected SoundEvent
gs()
getEatingSound()
method_28368()
getEatSound()
protected void
b(aro arg0, bup arg1, float arg2)
actuallyHurt(ServerLevel arg0, DamageSource arg1, float arg2)
method_6074(class_3218 arg0, class_1282 arg1, float arg2)
applyDamage(ServerWorld arg0, DamageSource arg1, float arg2)
protected Vec3
a(bwa arg0, bwd 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)
public float
ej()
getAgeScale()
method_17825()
getScaleFactor()
private double
a(boolean arg0, float arg1, bwd 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)
public Vec3
t(float arg0)
getLeashOffset(float arg0)
method_45321(float arg0)
getLeashOffset(float arg0)
public int
ad()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
protected boolean
r(bwa arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
protected void
ab()
sendDebugPackets()
method_18409()
sendAiDebugData()
public boolean
gt()
isCamelSitting()
method_45350()
isSitting()
public boolean
gu()
isCamelVisuallySitting()
method_48573()
shouldUpdateSittingAnimations()
public boolean
gC()
isInPoseTransition()
method_45351()
isChangingPose()
private boolean
hb()
isVisuallySittingDown()
method_46398()
shouldPlaySittingTransitionAnimation()
public void
gD()
sitDown()
method_45352()
startSitting()
public void
gE()
standUp()
method_45353()
startStanding()
public void
gF()
standUpInstantly()
method_45354()
setStanding()
public void
a(long arg0)
resetLastPoseChangeTick(long arg0)
method_45344(long arg0)
setLastPoseTick(long lastPoseTick)
private void
b(long arg0)
resetLastPoseChangeTickToFullStand(long arg0)
method_48160(long arg0)
initLastPoseTick(long time)
public long
gG()
getPoseTime()
method_45355()
getLastPoseTickDelta()
protected Holder<SoundEvent>
a(bwk arg0, cys arg1, dhb arg2)
getEquipSound(EquipmentSlot arg0, ItemStack arg1, Equippable arg2)
method_66667(class_1304 arg0, class_1799 arg1, class_10192 arg2)
getEquipSound(EquipmentSlot arg0, ItemStack arg1, EquippableComponent arg2)
public void
a(akh<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public boolean
gH()
isTamed()
method_6727()
isTame()
public void
b(cqs arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
protected BodyRotationControl
I()
createBodyControl()
method_5963()
createBodyControl()