Class CamelEntity
- All Implemented Interfaces:
Attackable
,AttackPosOffsettingMount
,JumpingMount
,Mount
,RideableInventory
,Saddleable
,Tameable
,Targeter
,InventoryChangedListener
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bsv
intermediary net/minecraft/class_7689
named net/minecraft/entity/passive/CamelEntity
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Ingredient
private int
static final TrackedData<Boolean>
final AnimationState
static final int
private static final int
private static final int
private static final float
private static final float
private static final float
private static final float
private static final int
static final int
private int
final AnimationState
static final TrackedData<Long>
private static final EntityDimensions
final AnimationState
final AnimationState
final AnimationState
Fields 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, temper
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields 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, targetSelector
Fields 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_FLAG
Fields 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_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, 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, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyDamage
(DamageSource source, float amount) protected boolean
canAddPassenger
(Entity passenger) Returns whetherentity
can ride this entity.boolean
canBreedWith
(AnimalEntity other) boolean
canJump()
boolean
private void
clampHeadYaw
(Entity entity, float range) private void
clampPassengerYaw
(Entity passenger) protected BodyControl
protected Brain.Profile<CamelEntity>
createChild
(ServerWorld serverWorld, PassiveEntity passiveEntity) protected Brain<?>
deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected float
getActiveEyeHeight
(EntityPose pose, EntityDimensions dimensions) protected SoundEvent
protected Vec3d
getControlledMovementInput
(LivingEntity controllingPassenger, Vec3d movementInput) protected Vec2f
getControlledRotation
(LivingEntity controllingPassenger) Returns the passenger in control of this entity, ornull
if there is none.protected SoundEvent
getDimensions
(EntityPose pose) Returns the dimensions of the entity with the givenpose
.protected @Nullable SoundEvent
protected SoundEvent
getHurtSound
(DamageSource source) int
long
getLeashOffset
(float tickDelta) int
Returns the maximum degrees which the head yaw can differ from the body yaw.double
double
Returns an offset to the Y co-ordinate of passengers' positions, for use in their attack positions.protected float
getSaddledSpeed
(LivingEntity controllingPassenger) protected void
Initializes data tracker.protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) private void
initLastPoseTick
(long time) interactMob
(PlayerEntity player, Hand hand) boolean
isBreedingItem
(ItemStack stack) boolean
boolean
boolean
boolean
boolean
boolean
isTame()
protected void
private double
method_45346
(boolean bool, float float2) protected void
mobTick()
void
onPassengerLookAround
(Entity passenger) void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
openInventory
(PlayerEntity player) protected void
playStepSound
(BlockPos pos, BlockState state) void
Reads custom data fromnbt
.protected boolean
receiveFood
(PlayerEntity player, ItemStack item) protected void
void
setDashing
(boolean dashing) void
setJumpStrength
(int strength) void
setLastPoseTick
(long lastPoseTick) void
protected boolean
private boolean
boolean
void
startJumping
(int height) void
void
void
void
tick()
Ticks this entity.protected void
tickControlled
(LivingEntity controllingPassenger, Vec3d movementInput) void
Allows you to do certain speed and velocity calculations.private void
protected void
updateForLeashLength
(float leashLength) protected void
updateLimbs
(float posDelta) void
updatePassengerPosition
(Entity passenger) void
Writes 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, walkToParent
Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canEat, canImmediatelyDespawn, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getPathfindingFavor, getXpToDrop, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, setBaby, setBreedingAge, toGrowUpAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateLeash
Methods 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, getLootContextBuilder, 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, movesIndependently, onEatingGrass, onPlayerSpawnedChild, 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, updateGoalControls
Methods 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, wakeUp
Methods 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, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, 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, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onKilledOther, onLanding, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, 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, 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, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
Methods inherited from interface net.minecraft.entity.Saddleable
canBeSaddled, isSaddled, saddle
Methods inherited from interface net.minecraft.entity.Tameable
getOwner, method_48926
-
Field Details
-
BREEDING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official bS
Lbsv;bS:Lciu;
intermediary field_40131
Lnet/minecraft/class_7689;field_40131:Lnet/minecraft/class_1856;
named BREEDING_INGREDIENT
Lnet/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 official bT
Lbsv;bT:I
intermediary field_40132
Lnet/minecraft/class_7689;field_40132:I
named field_40132
Lnet/minecraft/entity/passive/CamelEntity;field_40132:I
-
field_41764
public static final int field_41764- See Also:
- Mappings:
Namespace Name Mixin selector official bV
Lbsv;bV:I
intermediary field_41764
Lnet/minecraft/class_7689;field_41764:I
named field_41764
Lnet/minecraft/entity/passive/CamelEntity;field_41764:I
-
field_40146
private static final float field_40146- See Also:
- Mappings:
Namespace Name Mixin selector official ct
Lbsv;ct:F
intermediary field_40146
Lnet/minecraft/class_7689;field_40146:F
named field_40146
Lnet/minecraft/entity/passive/CamelEntity;field_40146:F
-
field_40147
private static final float field_40147- See Also:
- Mappings:
Namespace Name Mixin selector official cu
Lbsv;cu:F
intermediary field_40147
Lnet/minecraft/class_7689;field_40147:F
named field_40147
Lnet/minecraft/entity/passive/CamelEntity;field_40147:F
-
field_40148
private static final float field_40148- See Also:
- Mappings:
Namespace Name Mixin selector official cv
Lbsv;cv:F
intermediary field_40148
Lnet/minecraft/class_7689;field_40148:F
named field_40148
Lnet/minecraft/entity/passive/CamelEntity;field_40148:F
-
field_40149
private static final int field_40149- See Also:
- Mappings:
Namespace Name Mixin selector official cw
Lbsv;cw:I
intermediary field_40149
Lnet/minecraft/class_7689;field_40149:I
named field_40149
Lnet/minecraft/entity/passive/CamelEntity;field_40149:I
-
field_40133
private static final int field_40133- See Also:
- Mappings:
Namespace Name Mixin selector official cx
Lbsv;cx:I
intermediary field_40133
Lnet/minecraft/class_7689;field_40133:I
named field_40133
Lnet/minecraft/entity/passive/CamelEntity;field_40133:I
-
field_40134
private static final int field_40134- See Also:
- Mappings:
Namespace Name Mixin selector official cy
Lbsv;cy:I
intermediary field_40134
Lnet/minecraft/class_7689;field_40134:I
named field_40134
Lnet/minecraft/entity/passive/CamelEntity;field_40134:I
-
field_40135
private static final float field_40135- See Also:
- Mappings:
Namespace Name Mixin selector official cz
Lbsv;cz:F
intermediary field_40135
Lnet/minecraft/class_7689;field_40135:F
named field_40135
Lnet/minecraft/entity/passive/CamelEntity;field_40135:F
-
DASHING
- Mappings:
Namespace Name Mixin selector official bW
Lbsv;bW:Lacl;
intermediary field_40139
Lnet/minecraft/class_7689;field_40139:Lnet/minecraft/class_2940;
named DASHING
Lnet/minecraft/entity/passive/CamelEntity;DASHING:Lnet/minecraft/entity/data/TrackedData;
-
LAST_POSE_TICK
- Mappings:
Namespace Name Mixin selector official bX
Lbsv;bX:Lacl;
intermediary field_40140
Lnet/minecraft/class_7689;field_40140:Lnet/minecraft/class_2940;
named LAST_POSE_TICK
Lnet/minecraft/entity/passive/CamelEntity;LAST_POSE_TICK:Lnet/minecraft/entity/data/TrackedData;
-
SITTING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official cA
Lbsv;cA:Lbfi;
intermediary field_40136
Lnet/minecraft/class_7689;field_40136:Lnet/minecraft/class_4048;
named SITTING_DIMENSIONS
Lnet/minecraft/entity/passive/CamelEntity;SITTING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
-
sittingTransitionAnimationState
- Mappings:
Namespace Name Mixin selector official bY
Lbsv;bY:Lbfd;
intermediary field_40142
Lnet/minecraft/class_7689;field_40142:Lnet/minecraft/class_7094;
named sittingTransitionAnimationState
Lnet/minecraft/entity/passive/CamelEntity;sittingTransitionAnimationState:Lnet/minecraft/entity/AnimationState;
-
sittingAnimationState
- Mappings:
Namespace Name Mixin selector official bZ
Lbsv;bZ:Lbfd;
intermediary field_40734
Lnet/minecraft/class_7689;field_40734:Lnet/minecraft/class_7094;
named sittingAnimationState
Lnet/minecraft/entity/passive/CamelEntity;sittingAnimationState:Lnet/minecraft/entity/AnimationState;
-
standingTransitionAnimationState
- Mappings:
Namespace Name Mixin selector official ca
Lbsv;ca:Lbfd;
intermediary field_40143
Lnet/minecraft/class_7689;field_40143:Lnet/minecraft/class_7094;
named standingTransitionAnimationState
Lnet/minecraft/entity/passive/CamelEntity;standingTransitionAnimationState:Lnet/minecraft/entity/AnimationState;
-
idlingAnimationState
- Mappings:
Namespace Name Mixin selector official cb
Lbsv;cb:Lbfd;
intermediary field_40144
Lnet/minecraft/class_7689;field_40144:Lnet/minecraft/class_7094;
named idlingAnimationState
Lnet/minecraft/entity/passive/CamelEntity;idlingAnimationState:Lnet/minecraft/entity/AnimationState;
-
dashingAnimationState
- Mappings:
Namespace Name Mixin selector official cc
Lbsv;cc:Lbfd;
intermediary field_40145
Lnet/minecraft/class_7689;field_40145:Lnet/minecraft/class_7094;
named dashingAnimationState
Lnet/minecraft/entity/passive/CamelEntity;dashingAnimationState:Lnet/minecraft/entity/AnimationState;
-
dashCooldown
private int dashCooldown- Mappings:
Namespace Name Mixin selector official cB
Lbsv;cB:I
intermediary field_40137
Lnet/minecraft/class_7689;field_40137:I
named dashCooldown
Lnet/minecraft/entity/passive/CamelEntity;dashCooldown:I
-
idleAnimationCooldown
private int idleAnimationCooldown- Mappings:
Namespace Name Mixin selector official cC
Lbsv;cC:I
intermediary field_40138
Lnet/minecraft/class_7689;field_40138:I
named idleAnimationCooldown
Lnet/minecraft/entity/passive/CamelEntity;idleAnimationCooldown:I
-
-
Constructor Details
-
CamelEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbfh;<init>(Lbfl;Lcmi;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <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:
writeCustomDataToNbt
in classAbstractHorseEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbfh;b(Lre;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/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.
nbt
might 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:
readCustomDataFromNbt
in classAbstractHorseEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbfh;a(Lre;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
createCamelAttributes
- Mappings:
Namespace Name Mixin selector official q
Lbsv;q()Lbhd$a;
intermediary method_45360
Lnet/minecraft/class_7689;method_45360()Lnet/minecraft/class_5132$class_5133;
named createCamelAttributes
Lnet/minecraft/entity/passive/CamelEntity;createCamelAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTracker
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbfh;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
initialize
public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initialize
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official a
Lbfz;a(Lcmx;Lbdw;Lbgb;Lbgr;Lre;)Lbgr;
intermediary method_5943
Lnet/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;
named initialize
Lnet/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:
createBrainProfile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dI
Lbfx;dI()Lbgy$b;
intermediary method_28306
Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
named createBrainProfile
Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
initGoals
protected void initGoals()- Overrides:
initGoals
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official x
Lbfz;x()V
intermediary method_5959
Lnet/minecraft/class_1308;method_5959()V
named initGoals
Lnet/minecraft/entity/mob/MobEntity;initGoals()V
-
deserializeBrain
- Overrides:
deserializeBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbfx;a(Lcom/mojang/serialization/Dynamic;)Lbgy;
intermediary method_18867
Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
named deserializeBrain
Lnet/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:
getDimensions
in classLivingEntity
- Returns:
- the dimensions of the entity with the given
pose
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbfh;a(Lbgj;)Lbfi;
intermediary method_18377
Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
named getDimensions
Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeight
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbfx;b(Lbgj;Lbfi;)F
intermediary method_18394
Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getActiveEyeHeight
Lnet/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:
getPassengerAttackYOffset
in 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 official d
Lbgn;d()D
intermediary method_47923
Lnet/minecraft/class_7997;method_47923()D
named getPassengerAttackYOffset
Lnet/minecraft/entity/AttackPosOffsettingMount;getPassengerAttackYOffset()D
-
mobTick
protected void mobTick()- Overrides:
mobTick
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official U
Lbfz;U()V
intermediary method_5958
Lnet/minecraft/class_1308;method_5958()V
named mobTick
Lnet/minecraft/entity/mob/MobEntity;mobTick()V
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classAbstractHorseEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lbfh;l()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
named tick
Lnet/minecraft/entity/Entity;tick()V
-
updateAnimations
private void updateAnimations()- Mappings:
Namespace Name Mixin selector official gE
Lbsv;gE()V
intermediary method_45356
Lnet/minecraft/class_7689;method_45356()V
named updateAnimations
Lnet/minecraft/entity/passive/CamelEntity;updateAnimations()V
-
updateLimbs
protected void updateLimbs(float posDelta) - Overrides:
updateLimbs
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official g
Lbfx;g(F)V
intermediary method_48565
Lnet/minecraft/class_1309;method_48565(F)V
named updateLimbs
Lnet/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:
travel
in classLivingEntity
- Parameters:
movementInput
- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official h
Lbfx;h(Lede;)V
intermediary method_6091
Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
named travel
Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
tickControlled
- Overrides:
tickControlled
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official a
Lbfx;a(Lbfx;Lede;)V
intermediary method_49481
Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1309;Lnet/minecraft/class_243;)V
named tickControlled
Lnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Vec3d;)V
-
isStationary
public boolean isStationary()- Mappings:
Namespace Name Mixin selector official r
Lbsv;r()Z
intermediary method_45357
Lnet/minecraft/class_7689;method_45357()Z
named isStationary
Lnet/minecraft/entity/passive/CamelEntity;isStationary()Z
-
getSaddledSpeed
- Overrides:
getSaddledSpeed
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official g
Lbfx;g(Lbfx;)F
intermediary method_49485
Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1309;)F
named getSaddledSpeed
Lnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/LivingEntity;)F
-
getControlledRotation
- Overrides:
getControlledRotation
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official m
Lbti;m(Lbfx;)Ledd;
intermediary method_49489
Lnet/minecraft/class_1496;method_49489(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;
named getControlledRotation
Lnet/minecraft/entity/passive/AbstractHorseEntity;getControlledRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;
-
getControlledMovementInput
- Overrides:
getControlledMovementInput
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbfx;b(Lbfx;Lede;)Lede;
intermediary method_49482
Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1309;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
named getControlledMovementInput
Lnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
canJump
public boolean canJump()- Specified by:
canJump
in interfaceJumpingMount
- Overrides:
canJump
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official a
Lbgi;a()Z
intermediary method_6153
Lnet/minecraft/class_1316;method_6153()Z
named canJump
Lnet/minecraft/entity/JumpingMount;canJump()Z
-
setJumpStrength
public void setJumpStrength(int strength) - Specified by:
setJumpStrength
in interfaceJumpingMount
- Overrides:
setJumpStrength
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbgi;b(I)V
intermediary method_6154
Lnet/minecraft/class_1316;method_6154(I)V
named setJumpStrength
Lnet/minecraft/entity/JumpingMount;setJumpStrength(I)V
-
canSprintAsVehicle
public boolean canSprintAsVehicle()- Overrides:
canSprintAsVehicle
in classEntity
- Mappings:
Namespace Name Mixin selector official dz
Lbfh;dz()Z
intermediary method_48155
Lnet/minecraft/class_1297;method_48155()Z
named canSprintAsVehicle
Lnet/minecraft/entity/Entity;canSprintAsVehicle()Z
-
jump
- Overrides:
jump
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbti;b(FLede;)V
intermediary method_45343
Lnet/minecraft/class_1496;method_45343(FLnet/minecraft/class_243;)V
named jump
Lnet/minecraft/entity/passive/AbstractHorseEntity;jump(FLnet/minecraft/util/math/Vec3d;)V
-
isDashing
public boolean isDashing()- Mappings:
Namespace Name Mixin selector official w
Lbsv;w()Z
intermediary method_45361
Lnet/minecraft/class_7689;method_45361()Z
named isDashing
Lnet/minecraft/entity/passive/CamelEntity;isDashing()Z
-
setDashing
public void setDashing(boolean dashing) - Mappings:
Namespace Name Mixin selector official w
Lbsv;w(Z)V
intermediary method_45362
Lnet/minecraft/class_7689;method_45362(Z)V
named setDashing
Lnet/minecraft/entity/passive/CamelEntity;setDashing(Z)V
-
isPanicking
public boolean isPanicking()- Mappings:
Namespace Name Mixin selector official fS
Lbsv;fS()Z
intermediary method_45348
Lnet/minecraft/class_7689;method_45348()Z
named isPanicking
Lnet/minecraft/entity/passive/CamelEntity;isPanicking()Z
-
startJumping
public void startJumping(int height) - Specified by:
startJumping
in interfaceJumpingMount
- Overrides:
startJumping
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official c
Lbgi;c(I)V
intermediary method_6155
Lnet/minecraft/class_1316;method_6155(I)V
named startJumping
Lnet/minecraft/entity/JumpingMount;startJumping(I)V
-
stopJumping
public void stopJumping()- Specified by:
stopJumping
in interfaceJumpingMount
- Overrides:
stopJumping
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbgi;b()V
intermediary method_6156
Lnet/minecraft/class_1316;method_6156()V
named stopJumping
Lnet/minecraft/entity/JumpingMount;stopJumping()V
-
getJumpCooldown
public int getJumpCooldown()- Specified by:
getJumpCooldown
in interfaceJumpingMount
- Mappings:
Namespace Name Mixin selector official V_
Lbgi;V_()I
intermediary method_45327
Lnet/minecraft/class_1316;method_45327()I
named getJumpCooldown
Lnet/minecraft/entity/JumpingMount;getJumpCooldown()I
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official s
Lbfz;s()Lamq;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official x_
Lbfx;x_()Lamq;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official d
Lbfx;d(Lbem;)Lamq;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSound
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbfh;b(Lgt;Ldbq;)V
intermediary method_5712
Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named playStepSound
Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
isBreedingItem
- Overrides:
isBreedingItem
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official m
Lbrj;m(Lcfv;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
interactMob
- Overrides:
interactMob
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbfz;b(Lbym;Lbdx;)Lbdy;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactMob
Lnet/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:
updateForLeashLength
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official B
Lbgg;B(F)V
intermediary method_6142
Lnet/minecraft/class_1314;method_6142(F)V
named updateForLeashLength
Lnet/minecraft/entity/mob/PathAwareEntity;updateForLeashLength(F)V
-
receiveFood
- Overrides:
receiveFood
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official a
Lbti;a(Lbym;Lcfv;)Z
intermediary method_6742
Lnet/minecraft/class_1496;method_6742(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Z
named receiveFood
Lnet/minecraft/entity/passive/AbstractHorseEntity;receiveFood(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
shouldAmbientStand
protected boolean shouldAmbientStand()- Overrides:
shouldAmbientStand
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official fY
Lbti;fY()Z
intermediary method_45349
Lnet/minecraft/class_1496;method_45349()Z
named shouldAmbientStand
Lnet/minecraft/entity/passive/AbstractHorseEntity;shouldAmbientStand()Z
-
canBreedWith
- Overrides:
canBreedWith
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official a
Lbrj;a(Lbrj;)Z
intermediary method_6474
Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z
named canBreedWith
Lnet/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:
createChild
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbsv;b(Laip;Lbfc;)Lbsv;
intermediary method_45347
Lnet/minecraft/class_7689;method_45347(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_7689;
named createChild
Lnet/minecraft/entity/passive/CamelEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/CamelEntity;
-
getEatSound
- Overrides:
getEatSound
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official fZ
Lbti;fZ()Lamq;
intermediary method_28368
Lnet/minecraft/class_1496;method_28368()Lnet/minecraft/class_3414;
named getEatSound
Lnet/minecraft/entity/passive/AbstractHorseEntity;getEatSound()Lnet/minecraft/sound/SoundEvent;
-
applyDamage
- Overrides:
applyDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official f
Lbfx;f(Lbem;F)V
intermediary method_6074
Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)V
named applyDamage
Lnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
updatePassengerPosition
- Overrides:
updatePassengerPosition
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official i
Lbfh;i(Lbfh;)V
intermediary method_5865
Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;)V
named updatePassengerPosition
Lnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
-
method_45346
private double method_45346(boolean bool, float float2) - Mappings:
Namespace Name Mixin selector official a
Lbsv;a(ZF)D
intermediary method_45346
Lnet/minecraft/class_7689;method_45346(ZF)D
named method_45346
Lnet/minecraft/entity/passive/CamelEntity;method_45346(ZF)D
-
getLeashOffset
- Overrides:
getLeashOffset
in classEntity
- Mappings:
Namespace Name Mixin selector official t
Lbfh;t(F)Lede;
intermediary method_45321
Lnet/minecraft/class_1297;method_45321(F)Lnet/minecraft/class_243;
named getLeashOffset
Lnet/minecraft/entity/Entity;getLeashOffset(F)Lnet/minecraft/util/math/Vec3d;
-
getMountedHeightOffset
public double getMountedHeightOffset()- Overrides:
getMountedHeightOffset
in classEntity
- Mappings:
Namespace Name Mixin selector official bv
Lbfh;bv()D
intermediary method_5621
Lnet/minecraft/class_1297;method_5621()D
named getMountedHeightOffset
Lnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
onPassengerLookAround
- Overrides:
onPassengerLookAround
in classEntity
- Mappings:
Namespace Name Mixin selector official j
Lbfh;j(Lbfh;)V
intermediary method_5644
Lnet/minecraft/class_1297;method_5644(Lnet/minecraft/class_1297;)V
named onPassengerLookAround
Lnet/minecraft/entity/Entity;onPassengerLookAround(Lnet/minecraft/entity/Entity;)V
-
clampPassengerYaw
- Mappings:
Namespace Name Mixin selector official a
Lbsv;a(Lbfh;)V
intermediary method_45345
Lnet/minecraft/class_7689;method_45345(Lnet/minecraft/class_1297;)V
named clampPassengerYaw
Lnet/minecraft/entity/passive/CamelEntity;clampPassengerYaw(Lnet/minecraft/entity/Entity;)V
-
clampHeadYaw
- Mappings:
Namespace Name Mixin selector official a
Lbsv;a(Lbfh;F)V
intermediary method_48159
Lnet/minecraft/class_7689;method_48159(Lnet/minecraft/class_1297;F)V
named clampHeadYaw
Lnet/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
1
for entities that can hardly rotate their head, like axolotls or dolphins, or180
for entities that can freely rotate their head, like shulkers. The default return value is75
.- Overrides:
getMaxHeadRotation
in classMobEntity
- Returns:
- the maximum degrees which the head yaw can differ from the body yaw
- Mappings:
Namespace Name Mixin selector official W
Lbfz;W()I
intermediary method_5986
Lnet/minecraft/class_1308;method_5986()I
named getMaxHeadRotation
Lnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
-
canAddPassenger
Returns whetherentity
can ride this entity.Returning
false
causes other entities to be unable to ride this entity. For example,BoatEntity
uses 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:
canAddPassenger
in classEntity
- Returns:
- whether
entity
can ride this entity - See Also:
- Mappings:
Namespace Name Mixin selector official o
Lbfh;o(Lbfh;)Z
intermediary method_5818
Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Z
named canAddPassenger
Lnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
-
getControllingPassenger
Returns the passenger in control of this entity, ornull
if there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger
.- Overrides:
getControllingPassenger
in classAbstractHorseEntity
- Returns:
- the passenger in control of this entity, or
null
if there is none - See Also:
- Mappings:
Namespace Name Mixin selector official cK
Lbfh;cK()Lbfx;
intermediary method_5642
Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;
named getControllingPassenger
Lnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugData
in classMobEntity
- Mappings:
Namespace Name Mixin selector official T
Lbfz;T()V
intermediary method_18409
Lnet/minecraft/class_1308;method_18409()V
named sendAiDebugData
Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector official ga
Lbsv;ga()Z
intermediary method_45350
Lnet/minecraft/class_7689;method_45350()Z
named isSitting
Lnet/minecraft/entity/passive/CamelEntity;isSitting()Z
-
shouldUpdateSittingAnimations
public boolean shouldUpdateSittingAnimations()- Mappings:
Namespace Name Mixin selector official gb
Lbsv;gb()Z
intermediary method_48573
Lnet/minecraft/class_7689;method_48573()Z
named shouldUpdateSittingAnimations
Lnet/minecraft/entity/passive/CamelEntity;shouldUpdateSittingAnimations()Z
-
isChangingPose
public boolean isChangingPose()- Mappings:
Namespace Name Mixin selector official gc
Lbsv;gc()Z
intermediary method_45351
Lnet/minecraft/class_7689;method_45351()Z
named isChangingPose
Lnet/minecraft/entity/passive/CamelEntity;isChangingPose()Z
-
shouldPlaySittingTransitionAnimation
private boolean shouldPlaySittingTransitionAnimation()- Mappings:
Namespace Name Mixin selector official gF
Lbsv;gF()Z
intermediary method_46398
Lnet/minecraft/class_7689;method_46398()Z
named shouldPlaySittingTransitionAnimation
Lnet/minecraft/entity/passive/CamelEntity;shouldPlaySittingTransitionAnimation()Z
-
startSitting
public void startSitting()- Mappings:
Namespace Name Mixin selector official gd
Lbsv;gd()V
intermediary method_45352
Lnet/minecraft/class_7689;method_45352()V
named startSitting
Lnet/minecraft/entity/passive/CamelEntity;startSitting()V
-
startStanding
public void startStanding()- Mappings:
Namespace Name Mixin selector official ge
Lbsv;ge()V
intermediary method_45353
Lnet/minecraft/class_7689;method_45353()V
named startStanding
Lnet/minecraft/entity/passive/CamelEntity;startStanding()V
-
setStanding
public void setStanding()- Mappings:
Namespace Name Mixin selector official gf
Lbsv;gf()V
intermediary method_45354
Lnet/minecraft/class_7689;method_45354()V
named setStanding
Lnet/minecraft/entity/passive/CamelEntity;setStanding()V
-
setLastPoseTick
public void setLastPoseTick(long lastPoseTick) - Mappings:
Namespace Name Mixin selector official a
Lbsv;a(J)V
intermediary method_45344
Lnet/minecraft/class_7689;method_45344(J)V
named setLastPoseTick
Lnet/minecraft/entity/passive/CamelEntity;setLastPoseTick(J)V
-
initLastPoseTick
private void initLastPoseTick(long time) - Mappings:
Namespace Name Mixin selector official b
Lbsv;b(J)V
intermediary method_48160
Lnet/minecraft/class_7689;method_48160(J)V
named initLastPoseTick
Lnet/minecraft/entity/passive/CamelEntity;initLastPoseTick(J)V
-
getLastPoseTickDelta
public long getLastPoseTickDelta()- Mappings:
Namespace Name Mixin selector official gg
Lbsv;gg()J
intermediary method_45355
Lnet/minecraft/class_7689;method_45355()J
named getLastPoseTickDelta
Lnet/minecraft/entity/passive/CamelEntity;getLastPoseTickDelta()J
-
getSaddleSound
- Specified by:
getSaddleSound
in interfaceSaddleable
- Mappings:
Namespace Name Mixin selector official Q_
Lbgo;Q_()Lamq;
intermediary method_45328
Lnet/minecraft/class_5146;method_45328()Lnet/minecraft/class_3414;
named getSaddleSound
Lnet/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:
onTrackedDataSet
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Lbfh;a(Lacl;)V
intermediary method_5674
Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
named onTrackedDataSet
Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
createBodyControl
- Overrides:
createBodyControl
in classMobEntity
- Mappings:
Namespace Name Mixin selector official A
Lbfz;A()Lblr;
intermediary method_5963
Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
named createBodyControl
Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
-
isTame
public boolean isTame()- Overrides:
isTame
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official gh
Lbti;gh()Z
intermediary method_6727
Lnet/minecraft/class_1496;method_6727()Z
named isTame
Lnet/minecraft/entity/passive/AbstractHorseEntity;isTame()Z
-
openInventory
- Specified by:
openInventory
in interfaceRideableInventory
- Overrides:
openInventory
in classAbstractHorseEntity
- Mappings:
Namespace Name Mixin selector official b
Lbfq;b(Lbym;)V
intermediary method_6722
Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)V
named openInventory
Lnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
-