Package net.minecraft.entity.passive
Class FoxEntity
- All Implemented Interfaces:
ComponentsAccess
,Attackable
,DataTracked
,EquipmentHolder
,Leashable
,Targeter
,ScoreHolder
,Nameable
,EntityLike
,UniquelyIdentifiable
,ServerWaypoint
,Waypoint
- Mappings:
Namespace Name named net/minecraft/entity/passive/FoxEntity
intermediary net/minecraft/class_4019
official cms
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
private class
private class
private class
class
private class
private static class
static class
class
private class
private class
private class
class
private class
private class
private class
private class
private class
private class
static enum
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
Nested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashData
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTracker
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final EntityDimensions
static final int
static final int
private static final boolean
private static final boolean
private static final boolean
private static final int
private int
(package private) float
private Goal
private Goal
private Goal
private static final TrackedData
<Byte> private float
(package private) float
private float
private static final TrackedData
<Optional<LazyEntityReference<LivingEntity>>> private static final TrackedData
<Optional<LazyEntityReference<LivingEntity>>> (package private) static final Predicate
<ItemEntity> static final int
private static final int
private static final int
private static final com.mojang.serialization.Codec
<List<LazyEntityReference<LivingEntity>>> private static final TrackedData
<Integer> private static final int
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, CAN_PICK_UP_LOOT_KEY, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DROP_CHANCES_KEY, experiencePoints, field_35039, goalSelector, jumpControl, LEFT_HANDED_KEY, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, NO_AI_KEY, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow
Fields inherited from interface net.minecraft.entity.Leashable
DEFAULT_ELASTIC_DISTANCE, DEFAULT_SNAPPING_DISTANCE, ELASTICITY_MULTIPLIER, field_59997, field_59998, field_59999, field_60003, HELD_ENTITY_ATTACHMENT_POINT, LEASH_HOLDER_ATTACHMENT_POINT, LEASH_NBT_KEY, QUAD_LEASH_ATTACHMENT_POINTS
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
Fields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLD
Fields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
protected boolean
private boolean
static boolean
canJumpChase
(FoxEntity fox, LivingEntity chasedEntity) boolean
canPickupItem
(ItemStack stack) static boolean
canSpawn
(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) (package private) boolean
canTrust
(LivingEntity entity) private void
protected void
createChild
(ServerWorld serverWorld, PassiveEntity passiveEntity) protected void
drop
(ServerWorld world, DamageSource damageSource) private void
<T> T
get
(ComponentType<? extends T> type) protected @Nullable SoundEvent
getBaseDimensions
(EntityPose pose) float
getBodyRotationHeightOffset
(float tickProgress) protected @Nullable SoundEvent
private boolean
getFoxFlag
(int bitmask) float
getHeadRoll
(float tickProgress) protected @Nullable SoundEvent
getHurtSound
(DamageSource source) (package private) Stream
<LazyEntityReference<LivingEntity>> void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.protected void
initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) (package private) boolean
boolean
isBreedingItem
(ItemStack stack) boolean
boolean
protected boolean
boolean
Returns whether the entity is in a crouching pose.boolean
boolean
boolean
boolean
protected void
loot
(ServerWorld world, ItemEntity itemEntity) protected void
onPlayerSpawnedChild
(PlayerEntity player, MobEntity child) void
protected void
protected void
readCustomData
(ReadView view) (package private) void
setAggressive
(boolean aggressive) protected <T> boolean
setApplicableComponent
(ComponentType<T> type, T value) void
setChasing
(boolean chasing) void
setCrouching
(boolean crouching) private void
setFoxFlag
(int mask, boolean value) void
setRollingHead
(boolean rollingHead) void
setSitting
(boolean sitting) (package private) void
setSleeping
(boolean sleeping) void
setTarget
(@Nullable LivingEntity target) private void
setVariant
(FoxEntity.Variant variant) (package private) void
setWalking
(boolean walking) private void
(package private) void
(package private) void
void
tick()
Ticks this entity.void
private void
trust
(LazyEntityReference<LivingEntity> entity) (package private) void
trust
(LivingEntity entity) (package private) boolean
protected void
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canBreedWith, canEat, canImmediatelyDespawn, createAnimalAttributes, eat, getExperienceToDrop, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, interactMob, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
baseTick, canActVoluntarily, canBeLeashed, canGather, canMobSpawn, cannotDespawn, canPickUpLoot, canRemoveSaddle, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createEquipmentInventory, createMobAttributes, createNavigation, dropAllForeignEquipment, dropEquipment, dropForeignEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAttackBox, getBodyArmor, getControllingPassenger, getEquipmentDropChances, getEquipmentForSlot, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLimitPerChunk, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onStartPathfinding, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setUpwardSpeed, snapLongLeash, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canUseSlot, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createEquipment, createLivingAttributes, createTracker, damage, damageArmor, damageEquipment, damageHelmet, deserializeBrain, disableExperienceDropping, dropExperience, dropInventory, dropItem, endCombat, enterCombat, equipStack, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEquippedStack, getEquipSound, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWaypointConfig, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, travelFlying, travelFlying, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, wakeUp, wouldNotSuffocateInPose
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTyped
Methods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTable
Methods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, canUseQuadLeashAttachmentPoint, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashSnappingDistance, getQuadLeashOffsets, isLeashed, mightBeLeashed, onLongLeashTick, readLeashData, setUnresolvedLeashHolderId, writeLeashData
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
VARIANT
- Mappings:
Namespace Name Mixin selector named VARIANT
Lnet/minecraft/entity/passive/FoxEntity;VARIANT:Lnet/minecraft/entity/data/TrackedData;
intermediary field_17949
Lnet/minecraft/class_4019;field_17949:Lnet/minecraft/class_2940;
official co
Lcms;co:Lalh;
-
FOX_FLAGS
- Mappings:
Namespace Name Mixin selector named FOX_FLAGS
Lnet/minecraft/entity/passive/FoxEntity;FOX_FLAGS:Lnet/minecraft/entity/data/TrackedData;
intermediary field_17950
Lnet/minecraft/class_4019;field_17950:Lnet/minecraft/class_2940;
official cp
Lcms;cp:Lalh;
-
SITTING_FLAG
private static final int SITTING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SITTING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;SITTING_FLAG:I
intermediary field_30331
Lnet/minecraft/class_4019;field_30331:I
official cq
Lcms;cq:I
-
CROUCHING_FLAG
public static final int CROUCHING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named CROUCHING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;CROUCHING_FLAG:I
intermediary field_30328
Lnet/minecraft/class_4019;field_30328:I
official ck
Lcms;ck:I
-
ROLLING_HEAD_FLAG
public static final int ROLLING_HEAD_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named ROLLING_HEAD_FLAG
Lnet/minecraft/entity/passive/FoxEntity;ROLLING_HEAD_FLAG:I
intermediary field_30329
Lnet/minecraft/class_4019;field_30329:I
official cl
Lcms;cl:I
-
CHASING_FLAG
public static final int CHASING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named CHASING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;CHASING_FLAG:I
intermediary field_30330
Lnet/minecraft/class_4019;field_30330:I
official cm
Lcms;cm:I
-
SLEEPING_FLAG
private static final int SLEEPING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SLEEPING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;SLEEPING_FLAG:I
intermediary field_30332
Lnet/minecraft/class_4019;field_30332:I
official cr
Lcms;cr:I
-
WALKING_FLAG
private static final int WALKING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named WALKING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;WALKING_FLAG:I
intermediary field_30333
Lnet/minecraft/class_4019;field_30333:I
official cs
Lcms;cs:I
-
AGGRESSIVE_FLAG
private static final int AGGRESSIVE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named AGGRESSIVE_FLAG
Lnet/minecraft/entity/passive/FoxEntity;AGGRESSIVE_FLAG:I
intermediary field_30334
Lnet/minecraft/class_4019;field_30334:I
official ct
Lcms;ct:I
-
OWNER
- Mappings:
Namespace Name Mixin selector named OWNER
Lnet/minecraft/entity/passive/FoxEntity;OWNER:Lnet/minecraft/entity/data/TrackedData;
intermediary field_17951
Lnet/minecraft/class_4019;field_17951:Lnet/minecraft/class_2940;
official cu
Lcms;cu:Lalh;
-
OTHER_TRUSTED
- Mappings:
Namespace Name Mixin selector named OTHER_TRUSTED
Lnet/minecraft/entity/passive/FoxEntity;OTHER_TRUSTED:Lnet/minecraft/entity/data/TrackedData;
intermediary field_17952
Lnet/minecraft/class_4019;field_17952:Lnet/minecraft/class_2940;
official cv
Lcms;cv:Lalh;
-
PICKABLE_DROP_FILTER
- Mappings:
Namespace Name Mixin selector named PICKABLE_DROP_FILTER
Lnet/minecraft/entity/passive/FoxEntity;PICKABLE_DROP_FILTER:Ljava/util/function/Predicate;
intermediary field_17953
Lnet/minecraft/class_4019;field_17953:Ljava/util/function/Predicate;
official cw
Lcms;cw:Ljava/util/function/Predicate;
-
JUST_ATTACKED_SOMETHING_FILTER
- Mappings:
Namespace Name Mixin selector named JUST_ATTACKED_SOMETHING_FILTER
Lnet/minecraft/entity/passive/FoxEntity;JUST_ATTACKED_SOMETHING_FILTER:Ljava/util/function/Predicate;
intermediary field_17954
Lnet/minecraft/class_4019;field_17954:Ljava/util/function/Predicate;
official cx
Lcms;cx:Ljava/util/function/Predicate;
-
CHICKEN_AND_RABBIT_FILTER
- Mappings:
Namespace Name Mixin selector named CHICKEN_AND_RABBIT_FILTER
Lnet/minecraft/entity/passive/FoxEntity;CHICKEN_AND_RABBIT_FILTER:Ljava/util/function/Predicate;
intermediary field_17955
Lnet/minecraft/class_4019;field_17955:Ljava/util/function/Predicate;
official cy
Lcms;cy:Ljava/util/function/Predicate;
-
NOTICEABLE_PLAYER_FILTER
- Mappings:
Namespace Name Mixin selector named NOTICEABLE_PLAYER_FILTER
Lnet/minecraft/entity/passive/FoxEntity;NOTICEABLE_PLAYER_FILTER:Ljava/util/function/Predicate;
intermediary field_17956
Lnet/minecraft/class_4019;field_17956:Ljava/util/function/Predicate;
official cz
Lcms;cz:Ljava/util/function/Predicate;
-
EATING_DURATION
private static final int EATING_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named EATING_DURATION
Lnet/minecraft/entity/passive/FoxEntity;EATING_DURATION:I
intermediary field_30335
Lnet/minecraft/class_4019;field_30335:I
official cA
Lcms;cA:I
-
BABY_BASE_DIMENSIONS
- Mappings:
Namespace Name Mixin selector named BABY_BASE_DIMENSIONS
Lnet/minecraft/entity/passive/FoxEntity;BABY_BASE_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
intermediary field_47772
Lnet/minecraft/class_4019;field_47772:Lnet/minecraft/class_4048;
official cB
Lcms;cB:Lbzp;
-
TRUSTED_ENTITIES_CODEC
private static final com.mojang.serialization.Codec<List<LazyEntityReference<LivingEntity>>> TRUSTED_ENTITIES_CODEC- Mappings:
Namespace Name Mixin selector named TRUSTED_ENTITIES_CODEC
Lnet/minecraft/entity/passive/FoxEntity;TRUSTED_ENTITIES_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_56652
Lnet/minecraft/class_4019;field_56652:Lcom/mojang/serialization/Codec;
official cC
Lcms;cC:Lcom/mojang/serialization/Codec;
-
DEFAULT_SLEEPING
private static final boolean DEFAULT_SLEEPING- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_SLEEPING
Lnet/minecraft/entity/passive/FoxEntity;DEFAULT_SLEEPING:Z
intermediary field_57607
Lnet/minecraft/class_4019;field_57607:Z
official cD
Lcms;cD:Z
-
DEFAULT_SITTING
private static final boolean DEFAULT_SITTING- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_SITTING
Lnet/minecraft/entity/passive/FoxEntity;DEFAULT_SITTING:Z
intermediary field_57608
Lnet/minecraft/class_4019;field_57608:Z
official cE
Lcms;cE:Z
-
DEFAULT_CROUCHING
private static final boolean DEFAULT_CROUCHING- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_CROUCHING
Lnet/minecraft/entity/passive/FoxEntity;DEFAULT_CROUCHING:Z
intermediary field_57609
Lnet/minecraft/class_4019;field_57609:Z
official cF
Lcms;cF:Z
-
followChickenAndRabbitGoal
- Mappings:
Namespace Name Mixin selector named followChickenAndRabbitGoal
Lnet/minecraft/entity/passive/FoxEntity;followChickenAndRabbitGoal:Lnet/minecraft/entity/ai/goal/Goal;
intermediary field_17957
Lnet/minecraft/class_4019;field_17957:Lnet/minecraft/class_1352;
official cG
Lcms;cG:Lchi;
-
followBabyTurtleGoal
- Mappings:
Namespace Name Mixin selector named followBabyTurtleGoal
Lnet/minecraft/entity/passive/FoxEntity;followBabyTurtleGoal:Lnet/minecraft/entity/ai/goal/Goal;
intermediary field_17958
Lnet/minecraft/class_4019;field_17958:Lnet/minecraft/class_1352;
official cH
Lcms;cH:Lchi;
-
followFishGoal
- Mappings:
Namespace Name Mixin selector named followFishGoal
Lnet/minecraft/entity/passive/FoxEntity;followFishGoal:Lnet/minecraft/entity/ai/goal/Goal;
intermediary field_17959
Lnet/minecraft/class_4019;field_17959:Lnet/minecraft/class_1352;
official cI
Lcms;cI:Lchi;
-
headRollProgress
private float headRollProgress- Mappings:
Namespace Name Mixin selector named headRollProgress
Lnet/minecraft/entity/passive/FoxEntity;headRollProgress:F
intermediary field_17960
Lnet/minecraft/class_4019;field_17960:F
official cJ
Lcms;cJ:F
-
lastHeadRollProgress
private float lastHeadRollProgress- Mappings:
Namespace Name Mixin selector named lastHeadRollProgress
Lnet/minecraft/entity/passive/FoxEntity;lastHeadRollProgress:F
intermediary field_17961
Lnet/minecraft/class_4019;field_17961:F
official cM
Lcms;cM:F
-
extraRollingHeight
float extraRollingHeight- Mappings:
Namespace Name Mixin selector named extraRollingHeight
Lnet/minecraft/entity/passive/FoxEntity;extraRollingHeight:F
intermediary field_17962
Lnet/minecraft/class_4019;field_17962:F
official cN
Lcms;cN:F
-
lastExtraRollingHeight
float lastExtraRollingHeight- Mappings:
Namespace Name Mixin selector named lastExtraRollingHeight
Lnet/minecraft/entity/passive/FoxEntity;lastExtraRollingHeight:F
intermediary field_17963
Lnet/minecraft/class_4019;field_17963:F
official cO
Lcms;cO:F
-
eatingTime
private int eatingTime- Mappings:
Namespace Name Mixin selector named eatingTime
Lnet/minecraft/entity/passive/FoxEntity;eatingTime:I
intermediary field_17964
Lnet/minecraft/class_4019;field_17964:I
official cP
Lcms;cP:I
-
-
Constructor Details
-
FoxEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
official <init>
Lbzm;<init>(Lbzv;Ldmu;)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTracker
in classPassiveEntity
- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbzm;a(Lall$a;)V
-
initGoals
protected void initGoals() -
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
official e_
Lcam;e_()V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named isImmobile
Lnet/minecraft/entity/LivingEntity;isImmobile()Z
intermediary method_6062
Lnet/minecraft/class_1309;method_6062()Z
official fm
Lcam;fm()Z
-
canEat
- Mappings:
Namespace Name Mixin selector named canEat
Lnet/minecraft/entity/passive/FoxEntity;canEat(Lnet/minecraft/item/ItemStack;)Z
intermediary method_18430
Lnet/minecraft/class_4019;method_18430(Lnet/minecraft/class_1799;)Z
official j
Lcms;j(Ldcv;)Z
-
initEquipment
- Overrides:
initEquipment
in classMobEntity
- Mappings:
Namespace Name Mixin selector named initEquipment
Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/LocalDifficulty;)V
intermediary method_5964
Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_5819;Lnet/minecraft/class_1266;)V
official a
Lcao;a(Lbck;Lbxh;)V
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatus
in classAnimalEntity
- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte)
. - Mappings:
Namespace Name Mixin selector named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
official b
Lbzm;b(B)V
-
createFoxAttributes
- Mappings:
Namespace Name Mixin selector named createFoxAttributes
Lnet/minecraft/entity/passive/FoxEntity;createFoxAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
intermediary method_26885
Lnet/minecraft/class_4019;method_26885()Lnet/minecraft/class_5132$class_5133;
official m
Lcms;m()Lcbr$a;
-
createChild
@Nullable public @Nullable FoxEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) - Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector named createChild
Lnet/minecraft/entity/passive/FoxEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/FoxEntity;
intermediary method_18260
Lnet/minecraft/class_4019;method_18260(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4019;
official b
Lcms;b(Laub;Lbzc;)Lcms;
-
canSpawn
public static boolean canSpawn(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector named canSpawn
Lnet/minecraft/entity/passive/FoxEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
intermediary method_39449
Lnet/minecraft/class_4019;method_39449(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
official c
Lcms;c(Lbzv;Ldmv;Lbzu;Ljb;Lbck;)Z
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initialize
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector 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/entity/EntityData;
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_1315;
official a
Lcao;a(Ldnl;Lbxh;Lbzu;Lcbe;)Lcbe;
-
addTypeSpecificGoals
private void addTypeSpecificGoals()- Mappings:
Namespace Name Mixin selector named addTypeSpecificGoals
Lnet/minecraft/entity/passive/FoxEntity;addTypeSpecificGoals()V
intermediary method_18280
Lnet/minecraft/class_4019;method_18280()V
official gL
Lcms;gL()V
-
playEatSound
protected void playEatSound()- Overrides:
playEatSound
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named playEatSound
Lnet/minecraft/entity/passive/AnimalEntity;playEatSound()V
intermediary method_61458
Lnet/minecraft/class_1429;method_61458()V
official gN
Lcmd;gN()V
-
getBaseDimensions
- Overrides:
getBaseDimensions
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getBaseDimensions
Lnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
intermediary method_55694
Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
official e
Lcam;e(Lcay;)Lbzp;
-
getVariant
- Mappings:
Namespace Name Mixin selector named getVariant
Lnet/minecraft/entity/passive/FoxEntity;getVariant()Lnet/minecraft/entity/passive/FoxEntity$Variant;
intermediary method_47845
Lnet/minecraft/class_4019;method_47845()Lnet/minecraft/class_4019$class_4039;
official n
Lcms;n()Lcms$v;
-
setVariant
- Mappings:
Namespace Name Mixin selector named setVariant
Lnet/minecraft/entity/passive/FoxEntity;setVariant(Lnet/minecraft/entity/passive/FoxEntity$Variant;)V
intermediary method_47844
Lnet/minecraft/class_4019;method_47844(Lnet/minecraft/class_4019$class_4039;)V
official a
Lcms;a(Lcms$v;)V
-
get
- Specified by:
get
in interfaceComponentsAccess
- Overrides:
get
in classEntity
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/component/ComponentsAccess;get(Lnet/minecraft/component/ComponentType;)Ljava/lang/Object;
intermediary method_58694
Lnet/minecraft/class_9473;method_58694(Lnet/minecraft/class_9331;)Ljava/lang/Object;
official a
Lkl;a(Lkp;)Ljava/lang/Object;
-
copyComponentsFrom
- Overrides:
copyComponentsFrom
in classEntity
- Mappings:
Namespace Name Mixin selector named copyComponentsFrom
Lnet/minecraft/entity/Entity;copyComponentsFrom(Lnet/minecraft/component/ComponentsAccess;)V
intermediary method_66649
Lnet/minecraft/class_1297;method_66649(Lnet/minecraft/class_9473;)V
official a
Lbzm;a(Lkl;)V
-
setApplicableComponent
- Overrides:
setApplicableComponent
in classEntity
- Mappings:
Namespace Name Mixin selector named setApplicableComponent
Lnet/minecraft/entity/Entity;setApplicableComponent(Lnet/minecraft/component/ComponentType;Ljava/lang/Object;)Z
intermediary method_66654
Lnet/minecraft/class_1297;method_66654(Lnet/minecraft/class_9331;Ljava/lang/Object;)Z
official b
Lbzm;b(Lkp;Ljava/lang/Object;)Z
-
getTrustedEntities
Stream<LazyEntityReference<LivingEntity>> getTrustedEntities()- Mappings:
Namespace Name Mixin selector named getTrustedEntities
Lnet/minecraft/entity/passive/FoxEntity;getTrustedEntities()Ljava/util/stream/Stream;
intermediary method_66293
Lnet/minecraft/class_4019;method_66293()Ljava/util/stream/Stream;
official gT
Lcms;gT()Ljava/util/stream/Stream;
-
trust
- Mappings:
Namespace Name Mixin selector named trust
Lnet/minecraft/entity/passive/FoxEntity;trust(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_66294
Lnet/minecraft/class_4019;method_66294(Lnet/minecraft/class_1309;)V
official i
Lcms;i(Lcam;)V
-
trust
- Mappings:
Namespace Name Mixin selector named trust
Lnet/minecraft/entity/passive/FoxEntity;trust(Lnet/minecraft/entity/LazyEntityReference;)V
intermediary method_66290
Lnet/minecraft/class_4019;method_66290(Lnet/minecraft/class_10583;)V
official a
Lcms;a(Lbzs;)V
-
writeCustomData
- Overrides:
writeCustomData
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named writeCustomData
Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
official a
Lbzm;a(Lfdc;)V
-
readCustomData
- Overrides:
readCustomData
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named readCustomData
Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
official a
Lbzm;a(Lfda;)V
-
clearTrusted
private void clearTrusted()- Mappings:
Namespace Name Mixin selector named clearTrusted
Lnet/minecraft/entity/passive/FoxEntity;clearTrusted()V
intermediary method_67659
Lnet/minecraft/class_4019;method_67659()V
official gU
Lcms;gU()V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector named isSitting
Lnet/minecraft/entity/passive/FoxEntity;isSitting()Z
intermediary method_18272
Lnet/minecraft/class_4019;method_18272()Z
official t
Lcms;t()Z
-
setSitting
public void setSitting(boolean sitting) - Mappings:
Namespace Name Mixin selector named setSitting
Lnet/minecraft/entity/passive/FoxEntity;setSitting(Z)V
intermediary method_18294
Lnet/minecraft/class_4019;method_18294(Z)V
official x
Lcms;x(Z)V
-
isWalking
public boolean isWalking()- Mappings:
Namespace Name Mixin selector named isWalking
Lnet/minecraft/entity/passive/FoxEntity;isWalking()Z
intermediary method_18273
Lnet/minecraft/class_4019;method_18273()Z
official gH
Lcms;gH()Z
-
setWalking
void setWalking(boolean walking) - Mappings:
Namespace Name Mixin selector named setWalking
Lnet/minecraft/entity/passive/FoxEntity;setWalking(Z)V
intermediary method_18295
Lnet/minecraft/class_4019;method_18295(Z)V
official B
Lcms;B(Z)V
-
isAggressive
boolean isAggressive()- Mappings:
Namespace Name Mixin selector named isAggressive
Lnet/minecraft/entity/passive/FoxEntity;isAggressive()Z
intermediary method_18282
Lnet/minecraft/class_4019;method_18282()Z
official gV
Lcms;gV()Z
-
setAggressive
void setAggressive(boolean aggressive) - Mappings:
Namespace Name Mixin selector named setAggressive
Lnet/minecraft/entity/passive/FoxEntity;setAggressive(Z)V
intermediary method_18301
Lnet/minecraft/class_4019;method_18301(Z)V
official C
Lcms;C(Z)V
-
isSleeping
public boolean isSleeping()- Overrides:
isSleeping
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named isSleeping
Lnet/minecraft/entity/LivingEntity;isSleeping()Z
intermediary method_6113
Lnet/minecraft/class_1309;method_6113()Z
official fY
Lcam;fY()Z
-
setSleeping
void setSleeping(boolean sleeping) - Mappings:
Namespace Name Mixin selector named setSleeping
Lnet/minecraft/entity/passive/FoxEntity;setSleeping(Z)V
intermediary method_18302
Lnet/minecraft/class_4019;method_18302(Z)V
official D
Lcms;D(Z)V
-
setFoxFlag
private void setFoxFlag(int mask, boolean value) - Mappings:
Namespace Name Mixin selector named setFoxFlag
Lnet/minecraft/entity/passive/FoxEntity;setFoxFlag(IZ)V
intermediary method_18269
Lnet/minecraft/class_4019;method_18269(IZ)V
official d
Lcms;d(IZ)V
-
getFoxFlag
private boolean getFoxFlag(int bitmask) - Mappings:
Namespace Name Mixin selector named getFoxFlag
Lnet/minecraft/entity/passive/FoxEntity;getFoxFlag(I)Z
intermediary method_18293
Lnet/minecraft/class_4019;method_18293(I)Z
official s
Lcms;s(I)Z
-
canDispenserEquipSlot
- Overrides:
canDispenserEquipSlot
in classMobEntity
- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlot
Lnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_63626
Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Z
official f
Lcam;f(Lbzw;)Z
-
canPickupItem
- Overrides:
canPickupItem
in classMobEntity
- Mappings:
Namespace Name Mixin selector named canPickupItem
Lnet/minecraft/entity/mob/MobEntity;canPickupItem(Lnet/minecraft/item/ItemStack;)Z
intermediary method_5939
Lnet/minecraft/class_1308;method_5939(Lnet/minecraft/class_1799;)Z
official g
Lcao;g(Ldcv;)Z
-
spit
- Mappings:
Namespace Name Mixin selector named spit
Lnet/minecraft/entity/passive/FoxEntity;spit(Lnet/minecraft/item/ItemStack;)V
intermediary method_18289
Lnet/minecraft/class_4019;method_18289(Lnet/minecraft/class_1799;)V
official k
Lcms;k(Ldcv;)V
-
dropItem
- Mappings:
Namespace Name Mixin selector named dropItem
Lnet/minecraft/entity/passive/FoxEntity;dropItem(Lnet/minecraft/item/ItemStack;)V
intermediary method_18291
Lnet/minecraft/class_4019;method_18291(Lnet/minecraft/class_1799;)V
official l
Lcms;l(Ldcv;)V
-
loot
- Overrides:
loot
in classMobEntity
- Mappings:
Namespace Name Mixin selector named loot
Lnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/ItemEntity;)V
intermediary method_5949
Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_3218;Lnet/minecraft/class_1542;)V
official a
Lcao;a(Laub;Lcqz;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classMobEntity
- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();
should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
MobEntity.baseTick()
. - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official g
Lbzm;g()V
-
isBreedingItem
- Specified by:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
official i
Lcmd;i(Ldcv;)Z
-
onPlayerSpawnedChild
- Overrides:
onPlayerSpawnedChild
in classMobEntity
- Mappings:
Namespace Name Mixin selector named onPlayerSpawnedChild
Lnet/minecraft/entity/mob/MobEntity;onPlayerSpawnedChild(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/mob/MobEntity;)V
intermediary method_18249
Lnet/minecraft/class_1308;method_18249(Lnet/minecraft/class_1657;Lnet/minecraft/class_1308;)V
official a
Lcao;a(Lcut;Lcao;)V
-
isChasing
public boolean isChasing()- Mappings:
Namespace Name Mixin selector named isChasing
Lnet/minecraft/entity/passive/FoxEntity;isChasing()Z
intermediary method_18274
Lnet/minecraft/class_4019;method_18274()Z
official gI
Lcms;gI()Z
-
setChasing
public void setChasing(boolean chasing) - Mappings:
Namespace Name Mixin selector named setChasing
Lnet/minecraft/entity/passive/FoxEntity;setChasing(Z)V
intermediary method_18296
Lnet/minecraft/class_4019;method_18296(Z)V
official y
Lcms;y(Z)V
-
isFullyCrouched
public boolean isFullyCrouched()- Mappings:
Namespace Name Mixin selector named isFullyCrouched
Lnet/minecraft/entity/passive/FoxEntity;isFullyCrouched()Z
intermediary method_18275
Lnet/minecraft/class_4019;method_18275()Z
official gJ
Lcms;gJ()Z
-
setCrouching
public void setCrouching(boolean crouching) - Mappings:
Namespace Name Mixin selector named setCrouching
Lnet/minecraft/entity/passive/FoxEntity;setCrouching(Z)V
intermediary method_18297
Lnet/minecraft/class_4019;method_18297(Z)V
official z
Lcms;z(Z)V
-
isInSneakingPose
public boolean isInSneakingPose()Returns whether the entity is in a crouching pose.Compared to
Entity.isSneaking()
, it only makes the entity appear crouching and does not bring other effects of sneaking, such as no less obvious name label rendering, no dismounting while riding, etc.This is used by vanilla for non-player entities to crouch, such as for foxes and cats. This is also used when the entity is a player and the player would otherwise collide with blocks (for example, when the player is in a 1.5 blocks tall tunnel).
- Overrides:
isInSneakingPose
in classEntity
- Returns:
- whether the entity is in a crouching pose
- Mappings:
Namespace Name Mixin selector named isInSneakingPose
Lnet/minecraft/entity/Entity;isInSneakingPose()Z
intermediary method_18276
Lnet/minecraft/class_1297;method_18276()Z
official cl
Lbzm;cl()Z
-
setRollingHead
public void setRollingHead(boolean rollingHead) - Mappings:
Namespace Name Mixin selector named setRollingHead
Lnet/minecraft/entity/passive/FoxEntity;setRollingHead(Z)V
intermediary method_18299
Lnet/minecraft/class_4019;method_18299(Z)V
official A
Lcms;A(Z)V
-
isRollingHead
public boolean isRollingHead()- Mappings:
Namespace Name Mixin selector named isRollingHead
Lnet/minecraft/entity/passive/FoxEntity;isRollingHead()Z
intermediary method_18277
Lnet/minecraft/class_4019;method_18277()Z
official gK
Lcms;gK()Z
-
getHeadRoll
public float getHeadRoll(float tickProgress) - Mappings:
Namespace Name Mixin selector named getHeadRoll
Lnet/minecraft/entity/passive/FoxEntity;getHeadRoll(F)F
intermediary method_18298
Lnet/minecraft/class_4019;method_18298(F)F
official J
Lcms;J(F)F
-
getBodyRotationHeightOffset
public float getBodyRotationHeightOffset(float tickProgress) - Mappings:
Namespace Name Mixin selector named getBodyRotationHeightOffset
Lnet/minecraft/entity/passive/FoxEntity;getBodyRotationHeightOffset(F)F
intermediary method_18300
Lnet/minecraft/class_4019;method_18300(F)F
official K
Lcms;K(F)F
-
setTarget
-
stopSleeping
void stopSleeping()- Mappings:
Namespace Name Mixin selector named stopSleeping
Lnet/minecraft/entity/passive/FoxEntity;stopSleeping()V
intermediary method_18283
Lnet/minecraft/class_4019;method_18283()V
official gW
Lcms;gW()V
-
stopActions
void stopActions()- Mappings:
Namespace Name Mixin selector named stopActions
Lnet/minecraft/entity/passive/FoxEntity;stopActions()V
intermediary method_18284
Lnet/minecraft/class_4019;method_18284()V
official gX
Lcms;gX()V
-
wantsToPickupItem
boolean wantsToPickupItem()- Mappings:
Namespace Name Mixin selector named wantsToPickupItem
Lnet/minecraft/entity/passive/FoxEntity;wantsToPickupItem()Z
intermediary method_18285
Lnet/minecraft/class_4019;method_18285()Z
official gY
Lcms;gY()Z
-
playAmbientSound
public void playAmbientSound()- Overrides:
playAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector named playAmbientSound
Lnet/minecraft/entity/mob/MobEntity;playAmbientSound()V
intermediary method_5966
Lnet/minecraft/class_1308;method_5966()V
official X
Lcao;X()V
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
official p
Lcao;p()Layy;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
official e
Lcam;e(Lbyb;)Layy;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
official f_
Lcam;f_()Layy;
-
canTrust
- Mappings:
Namespace Name Mixin selector named canTrust
Lnet/minecraft/entity/passive/FoxEntity;canTrust(Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_18428
Lnet/minecraft/class_4019;method_18428(Lnet/minecraft/class_1309;)Z
official j
Lcms;j(Lcam;)Z
-
drop
- Overrides:
drop
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named drop
Lnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)V
intermediary method_16080
Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)V
official b
Lcam;b(Laub;Lbyb;)V
-
canJumpChase
- Mappings:
Namespace Name Mixin selector named canJumpChase
Lnet/minecraft/entity/passive/FoxEntity;canJumpChase(Lnet/minecraft/entity/passive/FoxEntity;Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_18257
Lnet/minecraft/class_4019;method_18257(Lnet/minecraft/class_4019;Lnet/minecraft/class_1309;)Z
official a
Lcms;a(Lcms;Lcam;)Z
-
getLeashOffset
- Mappings:
Namespace Name Mixin selector named getLeashOffset
Lnet/minecraft/entity/Leashable;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
intermediary method_29919
Lnet/minecraft/class_9817;method_29919()Lnet/minecraft/class_243;
official F
Lcak;F()Lfis;
-