Class CamelEntity
- All Implemented Interfaces:
Attackable,AttackPosOffsettingMount,JumpingMount,Mount,RideableInventory,Saddleable,Tameable,Targeter,InventoryChangedListener,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name intermediary net/minecraft/class_7689official bsvnamed net/minecraft/entity/passive/CamelEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate 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.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Ingredientprivate intstatic final TrackedData<Boolean>final AnimationStatestatic 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 intprivate intfinal AnimationStatestatic final TrackedData<Long>private static final EntityDimensionsfinal AnimationStatefinal AnimationStatefinal AnimationStateFields inherited from class net.minecraft.entity.passive.AbstractHorseEntity
field_30413, field_30414, field_30415, field_30416, field_30417, field_30418, field_42647, field_6958, inAir, 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, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDamage(DamageSource source, float amount) protected booleancanAddPassenger(Entity passenger) Returns whetherentitycan ride this entity.booleancanBreedWith(AnimalEntity other) booleancanJump()booleanprivate voidclampHeadYaw(Entity entity, float range) private voidclampPassengerYaw(Entity passenger) protected BodyControlprotected Brain.Profile<CamelEntity>createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) protected Brain<?>deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) protected SoundEventprotected Vec3dgetControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) protected Vec2fgetControlledRotation(LivingEntity controllingPassenger) Returns the passenger in control of this entity, ornullif there is none.protected SoundEventgetDimensions(EntityPose pose) Returns the dimensions of the entity with the givenpose.protected @Nullable SoundEventprotected SoundEventgetHurtSound(DamageSource source) intlonggetLeashOffset(float tickDelta) intReturns the maximum degrees which the head yaw can differ from the body yaw.doubledoubleReturns an offset to the Y co-ordinate of passengers' positions, for use in their attack positions.protected floatgetSaddledSpeed(PlayerEntity controllingPlayer) protected voidInitializes data tracker.protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) private voidinitLastPoseTick(long time) interactMob(PlayerEntity player, Hand hand) booleanisBreedingItem(ItemStack stack) booleanbooleanbooleanbooleanbooleanbooleanisTame()protected voidprivate doublemethod_45346(boolean bool, float float2) protected voidmobTick()voidonPassengerLookAround(Entity passenger) voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.voidopenInventory(PlayerEntity player) protected voidplayStepSound(BlockPos pos, BlockState state) voidReads custom data fromnbt.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 voidupdateForLeashLength(float leashLength) protected voidupdateLimbs(float posDelta) voidupdatePassengerPosition(Entity passenger) voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.passive.AbstractHorseEntity
addTemper, areInventoriesDifferent, bondWithPlayer, calculateAttributeBaseValue, canBeSaddled, canBreed, computeFallDamage, createBaseHorseAttributes, damage, dropInventory, eatsGrass, equipHorseArmor, getAmbientStandSound, getAngryAnimationProgress, getAngrySound, getChildHealthBonus, getChildJumpStrengthBonus, getChildMovementSpeedBonus, getEatingAnimationProgress, getEatingGrassAnimationProgress, getHorseFlag, getInventorySize, getJumpStrength, getLimitPerChunk, getMaxTemper, getMinAmbientSoundDelay, getMinAmbientStandDelay, getOwnerUuid, getSoundVolume, getStackReference, getTemper, handleFallDamage, handleStatus, hasArmorInSlot, hasArmorSlot, initAttributes, initCustomGoals, interactHorse, isAngry, isBred, isClimbing, isEatingGrass, isHorseArmor, isImmobile, isInAir, isPushable, isSaddled, onChestedStatusChanged, onInventoryChanged, playAngrySound, playJumpSound, playWalkSound, putPlayerOnBack, saddle, setAngry, setBred, setChildAttributes, setEatingGrass, setHorseFlag, setInAir, setOwnerUuid, setTame, setTemper, spawnPlayerReactionParticles, tickMovement, updateAnger, updatePassengerForDismount, updateSaddle, walkToParentMethods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, breed, canEat, canImmediatelyDespawn, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getPathfindingFavor, getXpToDrop, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLookControl, getLootTable, getLootTableId, getMainArm, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getSquaredDistanceToAttackPosOf, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, lookAtEntity, loot, method_51851, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, consumeItem, containsOnlyAmbientEffects, createLivingAttributes, damageArmor, damageHelmet, damageShield, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, limitFallDistance, method_51848, method_51849, method_51850, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onKilledOther, onLanding, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.entity.Saddleable
canBeSaddled, isSaddled, saddleMethods inherited from interface net.minecraft.entity.Tameable
getOwner, method_48926
-
Field Details
-
BREEDING_INGREDIENT
- Mappings:
Namespace Name Mixin selector intermediary field_40131Lnet/minecraft/class_7689;field_40131:Lnet/minecraft/class_1856;official bTLbsv;bT:Lcix;named BREEDING_INGREDIENTLnet/minecraft/entity/passive/CamelEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
field_40132
public static final int field_40132- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_40132Lnet/minecraft/class_7689;field_40132:Iofficial bULbsv;bU:Inamed field_40132Lnet/minecraft/entity/passive/CamelEntity;field_40132:I
-
field_41764
public static final int field_41764- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_41764Lnet/minecraft/class_7689;field_41764:Iofficial bWLbsv;bW:Inamed field_41764Lnet/minecraft/entity/passive/CamelEntity;field_41764:I
-
field_40146
private static final float field_40146- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_40146Lnet/minecraft/class_7689;field_40146:Fofficial cuLbsv;cu:Fnamed field_40146Lnet/minecraft/entity/passive/CamelEntity;field_40146:F
-
field_40147
private static final float field_40147- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_40147Lnet/minecraft/class_7689;field_40147:Fofficial cvLbsv;cv:Fnamed field_40147Lnet/minecraft/entity/passive/CamelEntity;field_40147:F
-
field_40148
private static final float field_40148- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_40148Lnet/minecraft/class_7689;field_40148:Fofficial cwLbsv;cw:Fnamed field_40148Lnet/minecraft/entity/passive/CamelEntity;field_40148:F
-
field_43388
private static final int field_43388- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_43388Lnet/minecraft/class_7689;field_43388:Iofficial cxLbsv;cx:Inamed field_43388Lnet/minecraft/entity/passive/CamelEntity;field_43388:I
-
field_40149
private static final int field_40149- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_40149Lnet/minecraft/class_7689;field_40149:Iofficial cyLbsv;cy:Inamed field_40149Lnet/minecraft/entity/passive/CamelEntity;field_40149:I
-
field_40133
private static final int field_40133- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_40133Lnet/minecraft/class_7689;field_40133:Iofficial czLbsv;cz:Inamed field_40133Lnet/minecraft/entity/passive/CamelEntity;field_40133:I
-
field_40134
private static final int field_40134- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_40134Lnet/minecraft/class_7689;field_40134:Iofficial cALbsv;cA:Inamed field_40134Lnet/minecraft/entity/passive/CamelEntity;field_40134:I
-
field_40135
private static final float field_40135- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_40135Lnet/minecraft/class_7689;field_40135:Fofficial cBLbsv;cB:Fnamed field_40135Lnet/minecraft/entity/passive/CamelEntity;field_40135:F
-
DASHING
- Mappings:
Namespace Name Mixin selector intermediary field_40139Lnet/minecraft/class_7689;field_40139:Lnet/minecraft/class_2940;official bXLbsv;bX:Laby;named DASHINGLnet/minecraft/entity/passive/CamelEntity;DASHING:Lnet/minecraft/entity/data/TrackedData;
-
LAST_POSE_TICK
- Mappings:
Namespace Name Mixin selector intermediary field_40140Lnet/minecraft/class_7689;field_40140:Lnet/minecraft/class_2940;official bYLbsv;bY:Laby;named LAST_POSE_TICKLnet/minecraft/entity/passive/CamelEntity;LAST_POSE_TICK:Lnet/minecraft/entity/data/TrackedData;
-
SITTING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector intermediary field_40136Lnet/minecraft/class_7689;field_40136:Lnet/minecraft/class_4048;official cCLbsv;cC:Lbfi;named SITTING_DIMENSIONSLnet/minecraft/entity/passive/CamelEntity;SITTING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
-
sittingTransitionAnimationState
- Mappings:
Namespace Name Mixin selector intermediary field_40142Lnet/minecraft/class_7689;field_40142:Lnet/minecraft/class_7094;official bZLbsv;bZ:Lbfd;named sittingTransitionAnimationStateLnet/minecraft/entity/passive/CamelEntity;sittingTransitionAnimationState:Lnet/minecraft/entity/AnimationState;
-
sittingAnimationState
- Mappings:
Namespace Name Mixin selector intermediary field_40734Lnet/minecraft/class_7689;field_40734:Lnet/minecraft/class_7094;official caLbsv;ca:Lbfd;named sittingAnimationStateLnet/minecraft/entity/passive/CamelEntity;sittingAnimationState:Lnet/minecraft/entity/AnimationState;
-
standingTransitionAnimationState
- Mappings:
Namespace Name Mixin selector intermediary field_40143Lnet/minecraft/class_7689;field_40143:Lnet/minecraft/class_7094;official cbLbsv;cb:Lbfd;named standingTransitionAnimationStateLnet/minecraft/entity/passive/CamelEntity;standingTransitionAnimationState:Lnet/minecraft/entity/AnimationState;
-
idlingAnimationState
- Mappings:
Namespace Name Mixin selector intermediary field_40144Lnet/minecraft/class_7689;field_40144:Lnet/minecraft/class_7094;official ccLbsv;cc:Lbfd;named idlingAnimationStateLnet/minecraft/entity/passive/CamelEntity;idlingAnimationState:Lnet/minecraft/entity/AnimationState;
-
dashingAnimationState
- Mappings:
Namespace Name Mixin selector intermediary field_40145Lnet/minecraft/class_7689;field_40145:Lnet/minecraft/class_7094;official cdLbsv;cd:Lbfd;named dashingAnimationStateLnet/minecraft/entity/passive/CamelEntity;dashingAnimationState:Lnet/minecraft/entity/AnimationState;
-
dashCooldown
private int dashCooldown- Mappings:
Namespace Name Mixin selector intermediary field_40137Lnet/minecraft/class_7689;field_40137:Iofficial cDLbsv;cD:Inamed dashCooldownLnet/minecraft/entity/passive/CamelEntity;dashCooldown:I
-
idleAnimationCooldown
private int idleAnimationCooldown- Mappings:
Namespace Name Mixin selector intermediary field_40138Lnet/minecraft/class_7689;field_40138:Iofficial cELbsv;cE:Inamed idleAnimationCooldownLnet/minecraft/entity/passive/CamelEntity;idleAnimationCooldown:I
-
-
Constructor Details
-
CamelEntity
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lbfh;<init>(Lbfl;Lcmk;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbtin classAbstractHorseEntity- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vofficial bLbfh;b(Lqr;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbtin classAbstractHorseEntity- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vofficial aLbfh;a(Lqr;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
createCamelAttributes
- Mappings:
Namespace Name Mixin selector intermediary method_45360Lnet/minecraft/class_7689;method_45360()Lnet/minecraft/class_5132$class_5133;official pLbsv;p()Lbhd$a;named createCamelAttributesLnet/minecraft/entity/passive/CamelEntity;createCamelAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTrackerin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_5693Lnet/minecraft/class_1297;method_5693()Vofficial a_Lbfh;a_()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
initialize
public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initializein classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector 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_2487;)Lnet/minecraft/class_1315;official aLbfz;a(Lcmz;Lbdu;Lbgb;Lbgr;Lqr;)Lbgr;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/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;official dLLbfx;dL()Lbgy$b;named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
initGoals
protected void initGoals()- Overrides:
initGoalsin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_5959Lnet/minecraft/class_1308;method_5959()Vofficial wLbfz;w()Vnamed initGoalsLnet/minecraft/entity/mob/MobEntity;initGoals()V
-
deserializeBrain
- Overrides:
deserializeBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;official aLbfx;a(Lcom/mojang/serialization/Dynamic;)Lbgy;named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
getDimensions
Returns the dimensions of the entity with the givenpose.- Overrides:
getDimensionsin classLivingEntity- Returns:
- the dimensions of the entity with the given
pose - See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_18377Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;official aLbfh;a(Lbgj;)Lbfi;named getDimensionsLnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fofficial bLbfx;b(Lbgj;Lbfi;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
getPassengerAttackYOffset
public double getPassengerAttackYOffset()Returns an offset to the Y co-ordinate of passengers' positions, for use in their attack positions.- Specified by:
getPassengerAttackYOffsetin interfaceAttackPosOffsettingMount- Returns:
- an offset to the Y co-ordinate of passengers' positions, for use in their attack positions
- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_47923Lnet/minecraft/class_7997;method_47923()Dofficial dLbgn;d()Dnamed getPassengerAttackYOffsetLnet/minecraft/entity/AttackPosOffsettingMount;getPassengerAttackYOffset()D
-
mobTick
protected void mobTick()- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector intermediary method_5958Lnet/minecraft/class_1308;method_5958()Vofficial VLbfz;V()Vnamed mobTickLnet/minecraft/entity/mob/MobEntity;mobTick()V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classAbstractHorseEntity- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial lLbfh;l()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
updateAnimations
private void updateAnimations()- Mappings:
Namespace Name Mixin selector intermediary method_45356Lnet/minecraft/class_7689;method_45356()Vofficial gJLbsv;gJ()Vnamed updateAnimationsLnet/minecraft/entity/passive/CamelEntity;updateAnimations()V
-
updateLimbs
protected void updateLimbs(float posDelta) - Overrides:
updateLimbsin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_48565Lnet/minecraft/class_1309;method_48565(F)Vofficial vLbfx;v(F)Vnamed updateLimbsLnet/minecraft/entity/LivingEntity;updateLimbs(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 flying entities.
- Overrides:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector intermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vofficial hLbfx;h(Leea;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
tickControlled
- Overrides:
tickControlledin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_49481Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vofficial aLbfx;a(Lbym;Leea;)Vnamed tickControlledLnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
-
isStationary
public boolean isStationary()- Mappings:
Namespace Name Mixin selector intermediary method_45357Lnet/minecraft/class_7689;method_45357()Zofficial qLbsv;q()Znamed isStationaryLnet/minecraft/entity/passive/CamelEntity;isStationary()Z
-
getSaddledSpeed
- Overrides:
getSaddledSpeedin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_49485Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)Fofficial eLbfx;e(Lbym;)Fnamed getSaddledSpeedLnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)F
-
getControlledRotation
- Overrides:
getControlledRotationin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_49489Lnet/minecraft/class_1496;method_49489(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;official lLbti;l(Lbfx;)Ledz;named getControlledRotationLnet/minecraft/entity/passive/AbstractHorseEntity;getControlledRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;
-
getControlledMovementInput
- Overrides:
getControlledMovementInputin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_49482Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official bLbfx;b(Lbym;Leea;)Leea;named getControlledMovementInputLnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
canJump
public boolean canJump()- Specified by:
canJumpin interfaceJumpingMount- Overrides:
canJumpin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6153Lnet/minecraft/class_1316;method_6153()Zofficial aLbgi;a()Znamed canJumpLnet/minecraft/entity/JumpingMount;canJump()Z
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrengthin interfaceJumpingMount- Overrides:
setJumpStrengthin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6154Lnet/minecraft/class_1316;method_6154(I)Vofficial bLbgi;b(I)Vnamed setJumpStrengthLnet/minecraft/entity/JumpingMount;setJumpStrength(I)V
-
canSprintAsVehicle
public boolean canSprintAsVehicle()- Overrides:
canSprintAsVehiclein classEntity- Mappings:
Namespace Name Mixin selector intermediary method_48155Lnet/minecraft/class_1297;method_48155()Zofficial dBLbfh;dB()Znamed canSprintAsVehicleLnet/minecraft/entity/Entity;canSprintAsVehicle()Z
-
jump
- Overrides:
jumpin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_45343Lnet/minecraft/class_1496;method_45343(FLnet/minecraft/class_243;)Vofficial bLbti;b(FLeea;)Vnamed jumpLnet/minecraft/entity/passive/AbstractHorseEntity;jump(FLnet/minecraft/util/math/Vec3d;)V
-
isDashing
public boolean isDashing()- Mappings:
Namespace Name Mixin selector intermediary method_45361Lnet/minecraft/class_7689;method_45361()Zofficial tLbsv;t()Znamed isDashingLnet/minecraft/entity/passive/CamelEntity;isDashing()Z
-
setDashing
public void setDashing(boolean dashing) - Mappings:
Namespace Name Mixin selector intermediary method_45362Lnet/minecraft/class_7689;method_45362(Z)Vofficial xLbsv;x(Z)Vnamed setDashingLnet/minecraft/entity/passive/CamelEntity;setDashing(Z)V
-
isPanicking
public boolean isPanicking()- Mappings:
Namespace Name Mixin selector intermediary method_45348Lnet/minecraft/class_7689;method_45348()Zofficial fXLbsv;fX()Znamed isPanickingLnet/minecraft/entity/passive/CamelEntity;isPanicking()Z
-
startJumping
public void startJumping(int height) - Specified by:
startJumpingin interfaceJumpingMount- Overrides:
startJumpingin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6155Lnet/minecraft/class_1316;method_6155(I)Vofficial cLbgi;c(I)Vnamed startJumpingLnet/minecraft/entity/JumpingMount;startJumping(I)V
-
stopJumping
public void stopJumping()- Specified by:
stopJumpingin interfaceJumpingMount- Overrides:
stopJumpingin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6156Lnet/minecraft/class_1316;method_6156()Vofficial bLbgi;b()Vnamed stopJumpingLnet/minecraft/entity/JumpingMount;stopJumping()V
-
getJumpCooldown
public int getJumpCooldown()- Specified by:
getJumpCooldownin interfaceJumpingMount- Mappings:
Namespace Name Mixin selector intermediary method_45327Lnet/minecraft/class_1316;method_45327()Iofficial V_Lbgi;V_()Inamed getJumpCooldownLnet/minecraft/entity/JumpingMount;getJumpCooldown()I
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;official rLbfz;r()Lamg;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official g_Lbfx;g_()Lamg;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official dLbfx;d(Lbem;)Lamg;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial bLbfh;b(Lgu;Ldby;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
isBreedingItem
- Overrides:
isBreedingItemin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Zofficial mLbrj;m(Lcfx;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
interactMob
- Overrides:
interactMobin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official bLbfz;b(Lbym;Lbdv;)Lbdw;named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
updateForLeashLength
protected void updateForLeashLength(float leashLength) - Overrides:
updateForLeashLengthin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6142Lnet/minecraft/class_1314;method_6142(F)Vofficial CLbgg;C(F)Vnamed updateForLeashLengthLnet/minecraft/entity/mob/PathAwareEntity;updateForLeashLength(F)V
-
receiveFood
- Overrides:
receiveFoodin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6742Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Zofficial aLbti;a(Lbym;Lcfx;)Znamed receiveFoodLnet/minecraft/entity/passive/AbstractHorseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
shouldAmbientStand
protected boolean shouldAmbientStand()- Overrides:
shouldAmbientStandin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_45349Lnet/minecraft/class_1496;method_45349()Zofficial gdLbti;gd()Znamed shouldAmbientStandLnet/minecraft/entity/passive/AbstractHorseEntity;shouldAmbientStand()Z
-
canBreedWith
- Overrides:
canBreedWithin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6474Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Zofficial aLbrj;a(Lbrj;)Znamed canBreedWithLnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
-
createChild
@Nullable public @Nullable CamelEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) Description copied from class:AbstractHorseEntity- Overrides:
createChildin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_45347Lnet/minecraft/class_7689;method_45347(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_7689;official bLbsv;b(Laif;Lbfc;)Lbsv;named createChildLnet/minecraft/entity/passive/CamelEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/CamelEntity;
-
getEatSound
- Overrides:
getEatSoundin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_28368Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;official geLbti;ge()Lamg;named getEatSoundLnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
-
applyDamage
- Overrides:
applyDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)Vofficial fLbfx;f(Lbem;F)Vnamed applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
updatePassengerPosition
- Overrides:
updatePassengerPositionin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_5865Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;)Vofficial iLbfh;i(Lbfh;)Vnamed updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
-
method_45346
private double method_45346(boolean bool, float float2) - Mappings:
Namespace Name Mixin selector intermediary method_45346Lnet/minecraft/class_7689;method_45346(ZF)Dofficial aLbsv;a(ZF)Dnamed method_45346Lnet/minecraft/entity/passive/CamelEntity;method_45346(ZF)D
-
getLeashOffset
- Overrides:
getLeashOffsetin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_45321Lnet/minecraft/class_1297;method_45321(F)Lnet/minecraft/class_243;official pLbfh;p(F)Leea;named getLeashOffsetLnet/minecraft/entity/Entity;getLeashOffset(F)Lnet/minecraft/util/math/Vec3d;
-
getMountedHeightOffset
public double getMountedHeightOffset()- Overrides:
getMountedHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_5621Lnet/minecraft/class_1297;method_5621()Dofficial bwLbfh;bw()Dnamed getMountedHeightOffsetLnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
onPassengerLookAround
- Overrides:
onPassengerLookAroundin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_5644Lnet/minecraft/class_1297;method_5644(Lnet/minecraft/class_1297;)Vofficial jLbfh;j(Lbfh;)Vnamed onPassengerLookAroundLnet/minecraft/entity/Entity;onPassengerLookAround(Lnet/minecraft/entity/Entity;)V
-
clampPassengerYaw
- Mappings:
Namespace Name Mixin selector intermediary method_45345Lnet/minecraft/class_7689;method_45345(Lnet/minecraft/class_1297;)Vofficial aLbsv;a(Lbfh;)Vnamed clampPassengerYawLnet/minecraft/entity/passive/CamelEntity;clampPassengerYaw(Lnet/minecraft/entity/Entity;)V
-
clampHeadYaw
- Mappings:
Namespace Name Mixin selector intermediary method_48159Lnet/minecraft/class_7689;method_48159(Lnet/minecraft/class_1297;F)Vofficial aLbsv;a(Lbfh;F)Vnamed clampHeadYawLnet/minecraft/entity/passive/CamelEntity;clampHeadYaw(Lnet/minecraft/entity/Entity;F)V
-
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 intermediary method_5986Lnet/minecraft/class_1308;method_5986()Iofficial XLbfz;X()Inamed getMaxHeadRotationLnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()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 intermediary method_5818Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Zofficial oLbfh;o(Lbfh;)Znamed canAddPassengerLnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
-
getControllingPassenger
Returns the passenger in control of this entity, ornullif there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger.- Overrides:
getControllingPassengerin classAbstractHorseEntity- Returns:
- the passenger in control of this entity, or
nullif there is none - See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;official cLLbfh;cL()Lbfx;named getControllingPassengerLnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector intermediary method_18409Lnet/minecraft/class_1308;method_18409()Vofficial ULbfz;U()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector intermediary method_45350Lnet/minecraft/class_7689;method_45350()Zofficial gfLbsv;gf()Znamed isSittingLnet/minecraft/entity/passive/CamelEntity;isSitting()Z
-
shouldUpdateSittingAnimations
public boolean shouldUpdateSittingAnimations()- Mappings:
Namespace Name Mixin selector intermediary method_48573Lnet/minecraft/class_7689;method_48573()Zofficial ggLbsv;gg()Znamed shouldUpdateSittingAnimationsLnet/minecraft/entity/passive/CamelEntity;shouldUpdateSittingAnimations()Z
-
isChangingPose
public boolean isChangingPose()- Mappings:
Namespace Name Mixin selector intermediary method_45351Lnet/minecraft/class_7689;method_45351()Zofficial ghLbsv;gh()Znamed isChangingPoseLnet/minecraft/entity/passive/CamelEntity;isChangingPose()Z
-
shouldPlaySittingTransitionAnimation
private boolean shouldPlaySittingTransitionAnimation()- Mappings:
Namespace Name Mixin selector intermediary method_46398Lnet/minecraft/class_7689;method_46398()Zofficial gKLbsv;gK()Znamed shouldPlaySittingTransitionAnimationLnet/minecraft/entity/passive/CamelEntity;shouldPlaySittingTransitionAnimation()Z
-
startSitting
public void startSitting()- Mappings:
Namespace Name Mixin selector intermediary method_45352Lnet/minecraft/class_7689;method_45352()Vofficial giLbsv;gi()Vnamed startSittingLnet/minecraft/entity/passive/CamelEntity;startSitting()V
-
startStanding
public void startStanding()- Mappings:
Namespace Name Mixin selector intermediary method_45353Lnet/minecraft/class_7689;method_45353()Vofficial gjLbsv;gj()Vnamed startStandingLnet/minecraft/entity/passive/CamelEntity;startStanding()V
-
setStanding
public void setStanding()- Mappings:
Namespace Name Mixin selector intermediary method_45354Lnet/minecraft/class_7689;method_45354()Vofficial gkLbsv;gk()Vnamed setStandingLnet/minecraft/entity/passive/CamelEntity;setStanding()V
-
setLastPoseTick
public void setLastPoseTick(long lastPoseTick) - Mappings:
Namespace Name Mixin selector intermediary method_45344Lnet/minecraft/class_7689;method_45344(J)Vofficial aLbsv;a(J)Vnamed setLastPoseTickLnet/minecraft/entity/passive/CamelEntity;setLastPoseTick(J)V
-
initLastPoseTick
private void initLastPoseTick(long time) - Mappings:
Namespace Name Mixin selector intermediary method_48160Lnet/minecraft/class_7689;method_48160(J)Vofficial bLbsv;b(J)Vnamed initLastPoseTickLnet/minecraft/entity/passive/CamelEntity;initLastPoseTick(J)V
-
getLastPoseTickDelta
public long getLastPoseTickDelta()- Mappings:
Namespace Name Mixin selector intermediary method_45355Lnet/minecraft/class_7689;method_45355()Jofficial glLbsv;gl()Jnamed getLastPoseTickDeltaLnet/minecraft/entity/passive/CamelEntity;getLastPoseTickDelta()J
-
getSaddleSound
- Specified by:
getSaddleSoundin interfaceSaddleable- Mappings:
Namespace Name Mixin selector intermediary method_45328Lnet/minecraft/class_5146;method_45328()Lnet/minecraft/class_3414;official Q_Lbgo;Q_()Lamg;named getSaddleSoundLnet/minecraft/entity/Saddleable;getSaddleSound()Lnet/minecraft/sound/SoundEvent;
-
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.
- Overrides:
onTrackedDataSetin classPassiveEntity- Mappings:
Namespace Name Mixin selector intermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vofficial aLbfh;a(Laby;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
createBodyControl
- Overrides:
createBodyControlin classMobEntity- Mappings:
Namespace Name Mixin selector intermediary method_5963Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;official CLbfz;C()Lblr;named createBodyControlLnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
-
isTame
public boolean isTame()- Overrides:
isTamein classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6727Lnet/minecraft/class_1496;method_6727()Zofficial gmLbti;gm()Znamed isTameLnet/minecraft/entity/passive/AbstractHorseEntity;isTame()Z
-
openInventory
- Specified by:
openInventoryin interfaceRideableInventory- Overrides:
openInventoryin classAbstractHorseEntity- Mappings:
Namespace Name Mixin selector intermediary method_6722Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)Vofficial bLbfq;b(Lbym;)Vnamed openInventoryLnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
-