Package net.minecraft.entity.passive
Class CamelEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,EquipmentHolder,JumpingMount,Leashable,Mount,RideableInventory,Tameable,Targeter,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/entity/passive/CamelEntityintermediary net/minecraft/class_7689official cny
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classprivate classNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashDataNested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTrackerNested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intstatic final TrackedData<Boolean> final AnimationStateprivate static final longstatic final intprivate static final intprivate static final intprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final intstatic final intprivate static final intstatic final floatprivate intfinal AnimationStatestatic final TrackedData<Long> private static final EntityDimensionsfinal AnimationStatefinal AnimationStatefinal AnimationStateFields inherited from class net.minecraft.entity.passive.AbstractHorseEntity
field_30414, field_30415, field_42647, field_52488, field_6958, items, jumping, jumpStrength, playExtraHorseSounds, soundTicks, tailWagTicks, temperFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, CAN_PICK_UP_LOOT_KEY, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DROP_CHANCES_KEY, experiencePoints, field_35039, goalSelector, jumpControl, LEFT_HANDED_KEY, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, NO_AI_KEY, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.Leashable
DEFAULT_ELASTIC_DISTANCE, DEFAULT_SNAPPING_DISTANCE, ELASTICITY_MULTIPLIER, field_59997, field_59998, field_59999, field_60003, HELD_ENTITY_ATTACHMENT_POINT, LEASH_HOLDER_ATTACHMENT_POINT, LEASH_NBT_KEY, QUAD_LEASH_ATTACHMENT_POINTSFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLDFields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDamage(ServerWorld world, DamageSource source, float amount) protected booleancanAddPassenger(Entity passenger) Returns whetherentitycan ride this entity.booleancanBreedWith(AnimalEntity other) booleanbooleancanJump()static booleancanSpawn(EntityType<CamelEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) booleanprotected BodyControlprotected Brain.Profile<CamelEntity> createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) protected SoundEventgetBaseDimensions(EntityPose pose) protected Vec3dgetControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec2fgetControlledRotation(LivingEntity controllingPassenger) protected SoundEventprotected @Nullable SoundEventprotected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) protected SoundEventgetHurtSound(DamageSource source) intgetLeashOffset(float tickProgress) intReturns the maximum degrees which the head yaw can differ from the body yaw.protected Vec3dgetPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) private doublegetPassengerAttachmentY(boolean primaryPassenger, float tickProgress, EntityDimensions dimensions, float scaleFactor) Vec3d[]protected floatgetSaddledSpeed(PlayerEntity controllingPlayer) floatlongprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) private voidinitLastPoseTick(long time) interactMob(PlayerEntity player, Hand hand) booleanisBreedingItem(ItemStack stack) booleanbooleanbooleanbooleanbooleanisTame()protected voidprotected voidmobTick(ServerWorld world) voidvoidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.voidopenInventory(PlayerEntity player) protected voidplayStepSound(BlockPos pos, BlockState state) protected voidreadCustomData(ReadView view) protected booleanreceiveFood(PlayerEntity player, ItemStack item) protected voidvoidsetDashing(boolean dashing) voidsetJumpStrength(int strength) voidsetLastPoseTick(long lastPoseTick) voidprotected booleanprivate booleanbooleanvoidstartJumping(int height) voidvoidvoidvoidtick()Ticks this entity.protected voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) voidAllows you to do certain speed and velocity calculations.private voidprotected voidupdateLimbs(float posDelta) protected voidwriteCustomData(WriteView view) Methods inherited from class net.minecraft.entity.passive.AbstractHorseEntity
addTemper, areInventoriesDifferent, bondWithPlayer, calculateAttributeBaseValue, canBreed, canDispenserEquipSlot, canUseQuadLeashAttachmentPoint, canUseSlot, createBaseHorseAttributes, damage, dropInventory, eatsGrass, equipHorseArmor, getAmbientStandSound, getAngryAnimationProgress, getAngrySound, getChildHealthBonus, getChildJumpStrengthBonus, getChildMovementSpeedBonus, getControllingPassenger, getEatingAnimationProgress, getEatingGrassAnimationProgress, getHorseFlag, getInventoryColumns, getInventorySize, getInventorySize, getLimitPerChunk, getMaxTemper, getMinAmbientSoundDelay, getMinAmbientStandDelay, getOwnerReference, getSoundVolume, getStackReference, getTemper, handleFallDamage, handleStatus, initAttributes, initCustomGoals, interactHorse, isAngry, isBred, isClimbing, isEatingGrass, isImmobile, isPushable, onChestedStatusChanged, playAngrySound, playJumpSound, playWalkSound, putPlayerOnBack, setAngry, setBred, setChildAttributes, setEatingGrass, setHorseFlag, setNotAngry, setOwner, setTame, setTemper, spawnPlayerReactionParticles, tickMovement, updateAnger, updatePassengerForDismount, updatePassengerPosition, walkToParentMethods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, breed, canEat, canImmediatelyDespawn, createAnimalAttributes, eat, getExperienceToDrop, getLoveTicks, getLovingPlayer, getPathfindingFavor, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, playEatSound, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
baseTick, canActVoluntarily, canBeLeashed, canGather, canMobSpawn, cannotDespawn, canPickupItem, canPickUpLoot, canRemoveSaddle, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createEquipmentInventory, createMobAttributes, createNavigation, dropAllForeignEquipment, dropEquipment, dropForeignEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAttackBox, getBodyArmor, getEquipmentDropChances, getEquipmentForSlot, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, snapLongLeash, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createEquipment, createLivingAttributes, createTracker, damageArmor, damageEquipment, damageHelmet, disableExperienceDropping, drop, dropExperience, dropItem, endCombat, enterCombat, equipStack, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEquippedStack, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSafeFallDistance, getScale, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getStackInArm, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWaypointConfig, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travelFlying, travelFlying, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInSneakingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTableMethods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashSnappingDistance, isLeashed, mightBeLeashed, readLeashData, setUnresolvedLeashHolderId, writeLeashDataMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayNameMethods inherited from interface net.minecraft.entity.Tameable
getOwner, getTopLevelOwner, getWorld
-
Field Details
-
field_45127
public static final float field_45127- See Also:
- Mappings:
Namespace Name Mixin selector named field_45127Lnet/minecraft/entity/passive/CamelEntity;field_45127:Fintermediary field_45127Lnet/minecraft/class_7689;field_45127:Fofficial ckLcny;ck:F
-
field_40132
public static final int field_40132- See Also:
- Mappings:
Namespace Name Mixin selector named field_40132Lnet/minecraft/entity/passive/CamelEntity;field_40132:Iintermediary field_40132Lnet/minecraft/class_7689;field_40132:Iofficial clLcny;cl:I
-
field_41764
public static final int field_41764- See Also:
- Mappings:
Namespace Name Mixin selector named field_41764Lnet/minecraft/entity/passive/CamelEntity;field_41764:Iintermediary field_41764Lnet/minecraft/class_7689;field_41764:Iofficial cmLcny;cm:I
-
field_40146
private static final float field_40146- See Also:
- Mappings:
Namespace Name Mixin selector named field_40146Lnet/minecraft/entity/passive/CamelEntity;field_40146:Fintermediary field_40146Lnet/minecraft/class_7689;field_40146:Fofficial cHLcny;cH:F
-
field_40147
private static final float field_40147- See Also:
- Mappings:
Namespace Name Mixin selector named field_40147Lnet/minecraft/entity/passive/CamelEntity;field_40147:Fintermediary field_40147Lnet/minecraft/class_7689;field_40147:Fofficial cILcny;cI:F
-
field_40148
private static final float field_40148- See Also:
- Mappings:
Namespace Name Mixin selector named field_40148Lnet/minecraft/entity/passive/CamelEntity;field_40148:Fintermediary field_40148Lnet/minecraft/class_7689;field_40148:Fofficial cJLcny;cJ:F
-
field_43388
private static final int field_43388- See Also:
- Mappings:
Namespace Name Mixin selector named field_43388Lnet/minecraft/entity/passive/CamelEntity;field_43388:Iintermediary field_43388Lnet/minecraft/class_7689;field_43388:Iofficial cMLcny;cM:I
-
field_40149
private static final int field_40149- See Also:
- Mappings:
Namespace Name Mixin selector named field_40149Lnet/minecraft/entity/passive/CamelEntity;field_40149:Iintermediary field_40149Lnet/minecraft/class_7689;field_40149:Iofficial cNLcny;cN:I
-
field_40133
private static final int field_40133- See Also:
- Mappings:
Namespace Name Mixin selector named field_40133Lnet/minecraft/entity/passive/CamelEntity;field_40133:Iintermediary field_40133Lnet/minecraft/class_7689;field_40133:Iofficial cOLcny;cO:I
-
field_40134
private static final int field_40134- See Also:
- Mappings:
Namespace Name Mixin selector named field_40134Lnet/minecraft/entity/passive/CamelEntity;field_40134:Iintermediary field_40134Lnet/minecraft/class_7689;field_40134:Iofficial cPLcny;cP:I
-
field_40135
private static final float field_40135- See Also:
- Mappings:
Namespace Name Mixin selector named field_40135Lnet/minecraft/entity/passive/CamelEntity;field_40135:Fintermediary field_40135Lnet/minecraft/class_7689;field_40135:Fofficial cQLcny;cQ:F
-
DEFAULT_LAST_POSE_TICK
private static final long DEFAULT_LAST_POSE_TICK- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_LAST_POSE_TICKLnet/minecraft/entity/passive/CamelEntity;DEFAULT_LAST_POSE_TICK:Jintermediary field_57624Lnet/minecraft/class_7689;field_57624:Jofficial cRLcny;cR:J
-
DASHING
- Mappings:
Namespace Name Mixin selector named DASHINGLnet/minecraft/entity/passive/CamelEntity;DASHING:Lnet/minecraft/entity/data/TrackedData;intermediary field_40139Lnet/minecraft/class_7689;field_40139:Lnet/minecraft/class_2940;official coLcny;co:Lalh;
-
LAST_POSE_TICK
- Mappings:
Namespace Name Mixin selector named LAST_POSE_TICKLnet/minecraft/entity/passive/CamelEntity;LAST_POSE_TICK:Lnet/minecraft/entity/data/TrackedData;intermediary field_40140Lnet/minecraft/class_7689;field_40140:Lnet/minecraft/class_2940;official cpLcny;cp:Lalh;
-
SITTING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector named SITTING_DIMENSIONSLnet/minecraft/entity/passive/CamelEntity;SITTING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;intermediary field_40136Lnet/minecraft/class_7689;field_40136:Lnet/minecraft/class_4048;official cSLcny;cS:Lbzo;
-
sittingTransitionAnimationState
- Mappings:
Namespace Name Mixin selector named sittingTransitionAnimationStateLnet/minecraft/entity/passive/CamelEntity;sittingTransitionAnimationState:Lnet/minecraft/entity/AnimationState;intermediary field_40142Lnet/minecraft/class_7689;field_40142:Lnet/minecraft/class_7094;official cqLcny;cq:Lbzc;
-
sittingAnimationState
- Mappings:
Namespace Name Mixin selector named sittingAnimationStateLnet/minecraft/entity/passive/CamelEntity;sittingAnimationState:Lnet/minecraft/entity/AnimationState;intermediary field_40734Lnet/minecraft/class_7689;field_40734:Lnet/minecraft/class_7094;official crLcny;cr:Lbzc;
-
standingTransitionAnimationState
- Mappings:
Namespace Name Mixin selector named standingTransitionAnimationStateLnet/minecraft/entity/passive/CamelEntity;standingTransitionAnimationState:Lnet/minecraft/entity/AnimationState;intermediary field_40143Lnet/minecraft/class_7689;field_40143:Lnet/minecraft/class_7094;official csLcny;cs:Lbzc;
-
idlingAnimationState
- Mappings:
Namespace Name Mixin selector named idlingAnimationStateLnet/minecraft/entity/passive/CamelEntity;idlingAnimationState:Lnet/minecraft/entity/AnimationState;intermediary field_40144Lnet/minecraft/class_7689;field_40144:Lnet/minecraft/class_7094;official ctLcny;ct:Lbzc;
-
dashingAnimationState
- Mappings:
Namespace Name Mixin selector named dashingAnimationStateLnet/minecraft/entity/passive/CamelEntity;dashingAnimationState:Lnet/minecraft/entity/AnimationState;intermediary field_40145Lnet/minecraft/class_7689;field_40145:Lnet/minecraft/class_7094;official cuLcny;cu:Lbzc;
-
dashCooldown
private int dashCooldown- Mappings:
Namespace Name Mixin selector named dashCooldownLnet/minecraft/entity/passive/CamelEntity;dashCooldown:Iintermediary field_40137Lnet/minecraft/class_7689;field_40137:Iofficial cTLcny;cT:I
-
idleAnimationCooldown
private int idleAnimationCooldown- Mappings:
Namespace Name Mixin selector named idleAnimationCooldownLnet/minecraft/entity/passive/CamelEntity;idleAnimationCooldown:Iintermediary field_40138Lnet/minecraft/class_7689;field_40138:Iofficial cULcny;cU:I
-
-
Constructor Details
-
CamelEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lbzl;<init>(Lbzu;Ldmt;)V
-
-
Method Details
-
writeCustomData
- Overrides:
writeCustomDatain classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLbzl;a(Lfdb;)V
-
readCustomData
- Overrides:
readCustomDatain classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLbzl;a(Lfcz;)V
-
createCamelAttributes
- Mappings:
Namespace Name Mixin selector named createCamelAttributesLnet/minecraft/entity/passive/CamelEntity;createCamelAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_45360Lnet/minecraft/class_7689;method_45360()Lnet/minecraft/class_5132$class_5133;official mLcny;m()Lcbq$a;
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classAbstractHorseEntity- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLbzl;a(Lall$a;)V
-
initialize
public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initializein classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;intermediary method_5943Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;official aLcan;a(Ldnk;Lbxg;Lbzt;Lcbd;)Lcbd;
-
canSpawn
public static boolean canSpawn(EntityType<CamelEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector named canSpawnLnet/minecraft/entity/passive/CamelEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Zintermediary method_67661Lnet/minecraft/class_7689;method_67661(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Zofficial cLcny;c(Lbzu;Ldmu;Lbzt;Ljb;Lbck;)Z
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;official eiLcal;ei()Lcbl$b;
-
initGoals
protected void initGoals()- Overrides:
initGoalsin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named initGoalsLnet/minecraft/entity/mob/MobEntity;initGoals()Vintermediary method_5959Lnet/minecraft/class_1308;method_5959()Vofficial HLcan;H()V
-
deserializeBrain
- Overrides:
deserializeBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;official aLcal;a(Lcom/mojang/serialization/Dynamic;)Lcbl;
-
getBaseDimensions
- Overrides:
getBaseDimensionsin classLivingEntity- Mappings:
Namespace Name Mixin selector named getBaseDimensionsLnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;intermediary method_55694Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;official eLcal;e(Lcax;)Lbzo;
-
mobTick
- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector named mobTickLnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_5958Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)Vofficial aLcan;a(Laub;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classAbstractHorseEntity- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
MobEntity.baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLbzl;g()V
-
updateAnimations
private void updateAnimations()- Mappings:
Namespace Name Mixin selector named updateAnimationsLnet/minecraft/entity/passive/CamelEntity;updateAnimations()Vintermediary method_45356Lnet/minecraft/class_7689;method_45356()Vofficial hrLcny;hr()V
-
updateLimbs
protected void updateLimbs(float posDelta) - Overrides:
updateLimbsin classLivingEntity- Mappings:
Namespace Name Mixin selector named updateLimbsLnet/minecraft/entity/LivingEntity;updateLimbs(F)Vintermediary method_48565Lnet/minecraft/class_1309;method_48565(F)Vofficial ALcal;A(F)V
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and
.invalid reference
flying entities
- Overrides:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector named travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vofficial kLcal;k(Lfir;)V
-
tickControlled
- Overrides:
tickControlledin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named tickControlledLnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_49481Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vofficial aLcal;a(Lcus;Lfir;)V
-
isStationary
public boolean isStationary()- Mappings:
Namespace Name Mixin selector named isStationaryLnet/minecraft/entity/passive/CamelEntity;isStationary()Zintermediary method_45357Lnet/minecraft/class_7689;method_45357()Zofficial nLcny;n()Z
-
getSaddledSpeed
- Overrides:
getSaddledSpeedin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named getSaddledSpeedLnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)Fintermediary method_49485Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)Fofficial cLcal;c(Lcus;)F
-
getControlledRotation
- Overrides:
getControlledRotationin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named getControlledRotationLnet/minecraft/entity/passive/AbstractHorseEntity;getControlledRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;intermediary method_49489Lnet/minecraft/class_1496;method_49489(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;official iLcop;i(Lcal;)Lfiq;
-
getControlledMovementInput
- Overrides:
getControlledMovementInputin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named getControlledMovementInputLnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_49482Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official bLcal;b(Lcus;Lfir;)Lfir;
-
canJump
public boolean canJump()- Specified by:
canJumpin interfaceJumpingMount- Overrides:
canJumpin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named canJumpLnet/minecraft/entity/JumpingMount;canJump()Zintermediary method_6153Lnet/minecraft/class_1316;method_6153()Zofficial aLcav;a()Z
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrengthin interfaceJumpingMount- Overrides:
setJumpStrengthin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named setJumpStrengthLnet/minecraft/entity/JumpingMount;setJumpStrength(I)Vintermediary method_6154Lnet/minecraft/class_1316;method_6154(I)Vofficial bLcav;b(I)V
-
canSprintAsVehicle
public boolean canSprintAsVehicle()- Overrides:
canSprintAsVehiclein classEntity- Mappings:
Namespace Name Mixin selector named canSprintAsVehicleLnet/minecraft/entity/Entity;canSprintAsVehicle()Zintermediary method_48155Lnet/minecraft/class_1297;method_48155()Zofficial dSLbzl;dS()Z
-
jump
- Overrides:
jumpin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named jumpLnet/minecraft/entity/passive/AbstractHorseEntity;jump(FLnet/minecraft/util/math/Vec3d;)Vintermediary method_45343Lnet/minecraft/class_1496;method_45343(FLnet/minecraft/class_243;)Vofficial bLcop;b(FLfir;)V
-
isDashing
public boolean isDashing()- Mappings:
Namespace Name Mixin selector named isDashingLnet/minecraft/entity/passive/CamelEntity;isDashing()Zintermediary method_45361Lnet/minecraft/class_7689;method_45361()Zofficial tLcny;t()Z
-
setDashing
public void setDashing(boolean dashing) - Mappings:
Namespace Name Mixin selector named setDashingLnet/minecraft/entity/passive/CamelEntity;setDashing(Z)Vintermediary method_45362Lnet/minecraft/class_7689;method_45362(Z)Vofficial xLcny;x(Z)V
-
startJumping
public void startJumping(int height) - Specified by:
startJumpingin interfaceJumpingMount- Overrides:
startJumpingin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named startJumpingLnet/minecraft/entity/JumpingMount;startJumping(I)Vintermediary method_6155Lnet/minecraft/class_1316;method_6155(I)Vofficial cLcav;c(I)V
-
stopJumping
public void stopJumping()- Specified by:
stopJumpingin interfaceJumpingMount- Overrides:
stopJumpingin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named stopJumpingLnet/minecraft/entity/JumpingMount;stopJumping()Vintermediary method_6156Lnet/minecraft/class_1316;method_6156()Vofficial bLcav;b()V
-
getJumpCooldown
public int getJumpCooldown()- Mappings:
Namespace Name Mixin selector named getJumpCooldownLnet/minecraft/entity/JumpingMount;getJumpCooldown()Iintermediary method_45327Lnet/minecraft/class_1316;method_45327()Iofficial cLcav;c()I
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;official pLcan;p()Layy;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official f_Lcal;f_()Layy;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official eLcal;e(Lbya;)Layy;
-
playStepSound
- Overrides:
playStepSoundin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial bLbzl;b(Ljb;Leea;)V
-
isBreedingItem
- Overrides:
isBreedingItemin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Zofficial iLcmc;i(Ldcu;)Z
-
interactMob
- Overrides:
interactMobin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official bLcan;b(Lcus;Lbxh;)Lbxi;
-
onLongLeashTick
public void onLongLeashTick()- Specified by:
onLongLeashTickin interfaceLeashable- Overrides:
onLongLeashTickin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named onLongLeashTickLnet/minecraft/entity/Leashable;onLongLeashTick()Vintermediary method_71006Lnet/minecraft/class_9817;method_71006()Vofficial zLcaj;z()V
-
getQuadLeashOffsets
- Specified by:
getQuadLeashOffsetsin interfaceLeashable- Overrides:
getQuadLeashOffsetsin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named getQuadLeashOffsetsLnet/minecraft/entity/Leashable;getQuadLeashOffsets()[Lnet/minecraft/util/math/Vec3d;intermediary method_70992Lnet/minecraft/class_9817;method_70992()[Lnet/minecraft/class_243;official ELcaj;E()[Lfir;
-
canChangePose
public boolean canChangePose()- Mappings:
Namespace Name Mixin selector named canChangePoseLnet/minecraft/entity/passive/CamelEntity;canChangePose()Zintermediary method_52548Lnet/minecraft/class_7689;method_52548()Zofficial gHLcny;gH()Z
-
receiveFood
- Overrides:
receiveFoodin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named receiveFoodLnet/minecraft/entity/passive/AbstractHorseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Zintermediary method_6742Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Zofficial aLcop;a(Lcus;Ldcu;)Z
-
shouldAmbientStand
protected boolean shouldAmbientStand()- Overrides:
shouldAmbientStandin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named shouldAmbientStandLnet/minecraft/entity/passive/AbstractHorseEntity;shouldAmbientStand()Zintermediary method_45349Lnet/minecraft/class_1496;method_45349()Zofficial gILcop;gI()Z
-
canBreedWith
- Overrides:
canBreedWithin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named canBreedWithLnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Zintermediary method_6474Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Zofficial aLcmc;a(Lcmc;)Z
-
createChild
@Nullable public @Nullable CamelEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) - Overrides:
createChildin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named createChildLnet/minecraft/entity/passive/CamelEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/CamelEntity;intermediary method_45347Lnet/minecraft/class_7689;method_45347(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_7689;official bLcny;b(Laub;Lbzb;)Lcny;
-
getEatSound
- Overrides:
getEatSoundin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named getEatSoundLnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;intermediary method_28368Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;official gJLcop;gJ()Layy;
-
applyDamage
- Overrides:
applyDamagein classAnimalEntity- Mappings:
Namespace Name Mixin selector named applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Vintermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Vofficial cLcal;c(Laub;Lbya;F)V
-
getPassengerAttachmentPos
protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPosin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named getPassengerAttachmentPosLnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;intermediary method_52533Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;official aLbzl;a(Lbzl;Lbzo;F)Lfir;
-
getScaleFactor
public float getScaleFactor()- Overrides:
getScaleFactorin classLivingEntity- Mappings:
Namespace Name Mixin selector named getScaleFactorLnet/minecraft/entity/LivingEntity;getScaleFactor()Fintermediary method_17825Lnet/minecraft/class_1309;method_17825()Fofficial epLcal;ep()F
-
getPassengerAttachmentY
private double getPassengerAttachmentY(boolean primaryPassenger, float tickProgress, EntityDimensions dimensions, float scaleFactor) - Mappings:
Namespace Name Mixin selector named getPassengerAttachmentYLnet/minecraft/entity/passive/CamelEntity;getPassengerAttachmentY(ZFLnet/minecraft/entity/EntityDimensions;F)Dintermediary method_45346Lnet/minecraft/class_7689;method_45346(ZFLnet/minecraft/class_4048;F)Dofficial aLcny;a(ZFLbzo;F)D
-
getLeashOffset
- Mappings:
Namespace Name Mixin selector named getLeashOffsetLnet/minecraft/entity/Leashable;getLeashOffset(F)Lnet/minecraft/util/math/Vec3d;intermediary method_45321Lnet/minecraft/class_9817;method_45321(F)Lnet/minecraft/class_243;official a_Lcaj;a_(F)Lfir;
-
getMaxHeadRotation
public int getMaxHeadRotation()Returns the maximum degrees which the head yaw can differ from the body yaw.This is used by the body control.
It can return from
1for entities that can hardly rotate their head, like axolotls or dolphins, or180for entities that can freely rotate their head, like shulkers. The default return value is75.- Overrides:
getMaxHeadRotationin classMobEntity- Returns:
- the maximum degrees which the head yaw can differ from the body yaw
- Mappings:
Namespace Name Mixin selector named getMaxHeadRotationLnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()Iintermediary method_5986Lnet/minecraft/class_1308;method_5986()Iofficial ghLcan;gh()I
-
canAddPassenger
Returns whetherentitycan ride this entity.Returning
falsecauses other entities to be unable to ride this entity. For example,BoatEntityuses this to restrict how many passengers can ride the same boat (2 for normal, 1 for chest boat).This is the opposite of
Entity.canStartRiding(net.minecraft.entity.Entity).- Overrides:
canAddPassengerin classEntity- Returns:
- whether
entitycan ride this entity - See Also:
- Mappings:
Namespace Name Mixin selector named canAddPassengerLnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Zintermediary method_5818Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Zofficial sLbzl;s(Lbzl;)Z
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector named sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vofficial ahLcan;ah()V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector named isSittingLnet/minecraft/entity/passive/CamelEntity;isSitting()Zintermediary method_45350Lnet/minecraft/class_7689;method_45350()Zofficial gKLcny;gK()Z
-
shouldUpdateSittingAnimations
public boolean shouldUpdateSittingAnimations()- Mappings:
Namespace Name Mixin selector named shouldUpdateSittingAnimationsLnet/minecraft/entity/passive/CamelEntity;shouldUpdateSittingAnimations()Zintermediary method_48573Lnet/minecraft/class_7689;method_48573()Zofficial gLLcny;gL()Z
-
isChangingPose
public boolean isChangingPose()- Mappings:
Namespace Name Mixin selector named isChangingPoseLnet/minecraft/entity/passive/CamelEntity;isChangingPose()Zintermediary method_45351Lnet/minecraft/class_7689;method_45351()Zofficial gTLcny;gT()Z
-
shouldPlaySittingTransitionAnimation
private boolean shouldPlaySittingTransitionAnimation()- Mappings:
Namespace Name Mixin selector named shouldPlaySittingTransitionAnimationLnet/minecraft/entity/passive/CamelEntity;shouldPlaySittingTransitionAnimation()Zintermediary method_46398Lnet/minecraft/class_7689;method_46398()Zofficial hsLcny;hs()Z
-
startSitting
public void startSitting()- Mappings:
Namespace Name Mixin selector named startSittingLnet/minecraft/entity/passive/CamelEntity;startSitting()Vintermediary method_45352Lnet/minecraft/class_7689;method_45352()Vofficial gULcny;gU()V
-
startStanding
public void startStanding()- Mappings:
Namespace Name Mixin selector named startStandingLnet/minecraft/entity/passive/CamelEntity;startStanding()Vintermediary method_45353Lnet/minecraft/class_7689;method_45353()Vofficial gVLcny;gV()V
-
setStanding
public void setStanding()- Mappings:
Namespace Name Mixin selector named setStandingLnet/minecraft/entity/passive/CamelEntity;setStanding()Vintermediary method_45354Lnet/minecraft/class_7689;method_45354()Vofficial gWLcny;gW()V
-
setLastPoseTick
public void setLastPoseTick(long lastPoseTick) - Mappings:
Namespace Name Mixin selector named setLastPoseTickLnet/minecraft/entity/passive/CamelEntity;setLastPoseTick(J)Vintermediary method_45344Lnet/minecraft/class_7689;method_45344(J)Vofficial aLcny;a(J)V
-
initLastPoseTick
private void initLastPoseTick(long time) - Mappings:
Namespace Name Mixin selector named initLastPoseTickLnet/minecraft/entity/passive/CamelEntity;initLastPoseTick(J)Vintermediary method_48160Lnet/minecraft/class_7689;method_48160(J)Vofficial bLcny;b(J)V
-
getTimeSinceLastPoseTick
public long getTimeSinceLastPoseTick()- Mappings:
Namespace Name Mixin selector named getTimeSinceLastPoseTickLnet/minecraft/entity/passive/CamelEntity;getTimeSinceLastPoseTick()Jintermediary method_45355Lnet/minecraft/class_7689;method_45355()Jofficial gXLcny;gX()J
-
getEquipSound
protected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) - Overrides:
getEquipSoundin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named getEquipSoundLnet/minecraft/entity/LivingEntity;getEquipSound(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/EquippableComponent;)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_66667Lnet/minecraft/class_1309;method_66667(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_10192;)Lnet/minecraft/class_6880;official aLcal;a(Lbzv;Ldcu;Ldld;)Ljl;
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Specified by:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classPassiveEntity- Mappings:
Namespace Name Mixin selector named onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vofficial aLalk;a(Lalh;)V
-
isTame
public boolean isTame()- Overrides:
isTamein classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named isTameLnet/minecraft/entity/passive/AbstractHorseEntity;isTame()Zintermediary method_6727Lnet/minecraft/class_1496;method_6727()Zofficial gYLcop;gY()Z
-
openInventory
- Specified by:
openInventoryin interfaceRideableInventory- Overrides:
openInventoryin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector named openInventoryLnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_6722Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)Vofficial bLcab;b(Lcus;)V
-
createBodyControl
- Overrides:
createBodyControlin classMobEntity- Mappings:
Namespace Name Mixin selector named createBodyControlLnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;intermediary method_5963Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;official OLcan;O()Lcgf;
-