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

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public static AttributeSupplier$Builder
p()
createAttributes()
method_45360()
createCamelAttributes()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb 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
E()
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(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
protected void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
h()
tick()
method_5773()
tick()
private void
he()
setupAnimationStates()
method_45356()
updateAnimations()
protected void
B(float arg0)
updateWalkAnimation(float arg0)
method_48565(float arg0)
updateLimbs(float arg0)
public void
a_(fbb arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
protected void
a(coy arg0, fbb 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(coy arg0)
getRiddenSpeed(Player arg0)
method_49485(class_1657 arg0)
getSaddledSpeed(PlayerEntity arg0)
protected Vec2
j(bvi arg0)
getRiddenRotation(LivingEntity arg0)
method_49489(class_1309 arg0)
getControlledRotation(LivingEntity arg0)
protected Vec3
b(coy arg0, fbb 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, fbb 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(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected void
b(ji arg0, dwy arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public boolean
j(cwq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public InteractionResult
b(coy arg0, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
public boolean
a(bum arg0, float arg1)
handleLeashAtDistance(Entity arg0, float arg1)
method_60956(class_1297 arg0, float arg1)
beforeLeashTick(Entity arg0, float arg1)
public boolean
gs()
canCamelChangePose()
method_52548()
canChangePose()
protected boolean
a(coy arg0, cwq arg1)
handleEating(Player arg0, ItemStack arg1)
method_6742(class_1657 arg0, class_1799 arg1)
receiveFood(PlayerEntity arg0, ItemStack arg1)
protected boolean
gt()
canPerformRearing()
method_45349()
shouldAmbientStand()
public boolean
a(cgz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
public Camel
b(ard arg0, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_45347(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
protected SoundEvent
gu()
getEatingSound()
method_28368()
getEatSound()
protected void
b(ard arg0, btc 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(bum arg0, bup 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
ei()
getAgeScale()
method_17825()
getScaleFactor()
private double
a(boolean arg0, float arg1, bup 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
af()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
protected boolean
r(bum arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
protected void
ac()
sendDebugPackets()
method_18409()
sendAiDebugData()
public boolean
gv()
isCamelSitting()
method_45350()
isSitting()
public boolean
gw()
isCamelVisuallySitting()
method_48573()
shouldUpdateSittingAnimations()
public boolean
gE()
isInPoseTransition()
method_45351()
isChangingPose()
private boolean
hf()
isVisuallySittingDown()
method_46398()
shouldPlaySittingTransitionAnimation()
public void
gF()
sitDown()
method_45352()
startSitting()
public void
gG()
standUp()
method_45353()
startStanding()
public void
gH()
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
gI()
getPoseTime()
method_45355()
getLastPoseTickDelta()
public SoundEvent
ab_()
getSaddleSoundEvent()
method_45328()
getSaddleSound()
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public boolean
gJ()
isTamed()
method_6727()
isTame()
public void
b(coy arg0)
openCustomInventoryScreen(Player arg0)
method_6722(class_1657 arg0)
openInventory(PlayerEntity arg0)
protected BodyRotationControl
J()
createBodyControl()
method_5963()
createBodyControl()