net.minecraft.world.entity.animal.camel

public class Camel

extends AbstractHorse

All mapped superinterfaces:

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

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

Field summary

Modifier and TypeField
public static final float
bZ
BABY_SCALE
field_45127
field_45127
public static final int
ca
DASH_COOLDOWN_TICKS
field_40132
field_40132
public static final int
cb
MAX_HEAD_Y_ROT
field_41764
field_41764
private static final float
cC
RUNNING_SPEED_BONUS
field_40146
field_40146
private static final float
cD
DASH_VERTICAL_MOMENTUM
field_40147
field_40147
private static final float
cE
DASH_HORIZONTAL_MOMENTUM
field_40148
field_40148
private static final int
cF
DASH_MINIMUM_DURATION_TICKS
field_43388
field_43388
private static final int
cG
SITDOWN_DURATION_TICKS
field_40149
field_40149
private static final int
cH
STANDUP_DURATION_TICKS
field_40133
field_40133
private static final int
cI
IDLE_MINIMAL_DURATION_TICKS
field_40134
field_40134
private static final float
cJ
SITTING_HEIGHT_DIFFERENCE
field_40135
field_40135
public static final EntityDataAccessor<Boolean>
cd
DASH
field_40139
DASHING
public static final EntityDataAccessor<Long>
ce
LAST_POSE_CHANGE_TICK
field_40140
LAST_POSE_TICK
public final AnimationState
cf
sitAnimationState
field_40142
sittingTransitionAnimationState
public final AnimationState
cg
sitPoseAnimationState
field_40734
sittingAnimationState
public final AnimationState
ch
sitUpAnimationState
field_40143
standingTransitionAnimationState
public final AnimationState
ci
idleAnimationState
field_40144
idlingAnimationState
public final AnimationState
cj
dashAnimationState
field_40145
dashingAnimationState
private static final EntityDimensions
cK
SITTING_DIMENSIONS
field_40136
SITTING_DIMENSIONS
private int
cL
dashCooldown
field_40137
dashCooldown
private int
cM
idleAnimationTimeout
field_40138
idleAnimationCooldown

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public static AttributeSupplier$Builder
p()
createAttributes()
method_45360()
createCamelAttributes()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz 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>
ed()
brainProvider()
method_28306()
createBrainProfile()
protected void
B()
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(bws arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
protected void
a(ash 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
B(float arg0)
updateWalkAnimation(float arg0)
method_48565(float arg0)
updateLimbs(float arg0)
public void
a_(fby arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
protected void
a(cpx arg0, fby 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
e(cpx arg0)
getRiddenSpeed(Player arg0)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity arg0)
protected Vec2
j(bwg arg0)
getRiddenRotation(LivingEntity arg0)
method_49489(class_1309 arg0)
getControlledRotation(LivingEntity arg0)
protected Vec3
b(cpx arg0, fby 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
dP()
canSprint()
method_48155()
canSprintAsVehicle()
protected void
b(float arg0, fby 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
x(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
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected void
b(jh arg0, dxv arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public boolean
j(cxp arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public InteractionResult
b(cpx arg0, bti arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public boolean
a(bvk arg0, float arg1)
handleLeashAtDistance(Entity arg0, float arg1)
method_60956(class_1297 arg0, float arg1)
beforeLeashTick(Entity arg0, float arg1)
public boolean
go()
canCamelChangePose()
method_52548()
canChangePose()
protected boolean
a(cpx arg0, cxp arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
receiveFood(PlayerEntity arg0, ItemStack arg1)
protected boolean
gp()
canPerformRearing()
method_45349()
shouldAmbientStand()
public boolean
a(chx arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public Camel
b(ash arg0, bvb arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_45347(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
protected SoundEvent
gq()
getEatingSound()
method_28368()
getEatSound()
protected void
b(ash arg0, bua 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(bvk arg0, bvn 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, bvn 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
s(float arg0)
getLeashOffset(float arg0)
method_45321(float arg0)
getLeashOffset(float arg0)
public int
aa()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
protected boolean
r(bvk arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
protected void
Y()
sendDebugPackets()
method_18409()
sendAiDebugData()
public boolean
gr()
isCamelSitting()
method_45350()
isSitting()
public boolean
gs()
isCamelVisuallySitting()
method_48573()
shouldUpdateSittingAnimations()
public boolean
gA()
isInPoseTransition()
method_45351()
isChangingPose()
private boolean
hb()
isVisuallySittingDown()
method_46398()
shouldPlaySittingTransitionAnimation()
public void
gB()
sitDown()
method_45352()
startSitting()
public void
gC()
standUp()
method_45353()
startStanding()
public void
gD()
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
gE()
getPoseTime()
method_45355()
getLastPoseTickDelta()
public SoundEvent
ac_()
getSaddleSoundEvent()
method_45328()
getSaddleSound()
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public boolean
gF()
isTamed()
method_6727()
isTame()
public void
b(cpx arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
protected BodyRotationControl
G()
createBodyControl()
method_5963()
createBodyControl()