Package net.minecraft.entity.passive
Class FoxEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
public class FoxEntity extends AnimalEntity
- Mappings:
Namespace Name official bbs
intermediary net/minecraft/class_4019
named net/minecraft/entity/passive/FoxEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields Modifier and Type Field Description private static Predicate<Entity>
CHICKEN_AND_RABBIT_FILTER
private int
eatingTime
private float
extraRollingHeight
private Goal
followBabyTurtleGoal
private Goal
followChickenAndRabbitGoal
private Goal
followFishGoal
private static TrackedData<Byte>
FOX_FLAGS
private float
headRollProgress
private static Predicate<Entity>
JUST_ATTACKED_SOMETHING_FILTER
private float
lastExtraRollingHeight
private float
lastHeadRollProgress
private static Predicate<Entity>
NOTICEABLE_PLAYER_FILTER
private static TrackedData<Optional<UUID>>
OTHER_TRUSTED
private static TrackedData<Optional<UUID>>
OWNER
private static Predicate<ItemEntity>
PICKABLE_DROP_FILTER
private static TrackedData<Integer>
TYPE
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
breedingAge, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description FoxEntity(EntityType<? extends FoxEntity> type, World world)
-
Method Summary
Modifier and Type Method Description private void
addTrustedUuid(UUID uuid)
private void
addTypeSpecificGoals()
private boolean
canEat(ItemStack stack)
boolean
canEquip(ItemStack stack)
static boolean
canJumpChase(FoxEntity fox, LivingEntity chasedEntity)
boolean
canPickupItem(ItemStack stack)
private boolean
canTrust(UUID uuid)
protected int
computeFallDamage(float fallDistance, float damageMultiplier)
FoxEntity
createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
static DefaultAttributeContainer.Builder
createFoxAttributes()
protected void
drop(DamageSource source)
private void
dropItem(ItemStack stack)
protected void
eat(PlayerEntity player, Hand hand, ItemStack stack)
protected float
getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
protected SoundEvent
getAmbientSound()
float
getBodyRotationHeightOffset(float tickDelta)
protected SoundEvent
getDeathSound()
SoundEvent
getEatSound(ItemStack stack)
private boolean
getFoxFlag(int bitmask)
FoxEntity.Type
getFoxType()
float
getHeadRoll(float tickDelta)
protected SoundEvent
getHurtSound(DamageSource source)
private List<UUID>
getTrustedUuids()
void
handleStatus(byte status)
protected void
initDataTracker()
protected void
initEquipment(LocalDifficulty difficulty)
protected void
initGoals()
EntityData
initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, EntityData entityData, CompoundTag entityTag)
private boolean
isAggressive()
boolean
isBreedingItem(ItemStack stack)
boolean
isChasing()
boolean
isFullyCrouched()
protected boolean
isImmobile()
boolean
isInSneakingPose()
Returns whether the entity is in a crouching pose.boolean
isRollingHead()
boolean
isSitting()
boolean
isSleeping()
boolean
isWalking()
protected void
loot(ItemEntity item)
Vec3d
method_29919()
protected void
onPlayerSpawnedChild(PlayerEntity player, MobEntity child)
void
playAmbientSound()
void
readCustomDataFromTag(CompoundTag tag)
private void
setAggressive(boolean aggressive)
void
setChasing(boolean chasing)
void
setCrouching(boolean crouching)
private void
setFoxFlag(int mask, boolean value)
void
setRollingHead(boolean rollingHead)
void
setSitting(boolean sitting)
private void
setSleeping(boolean sleeping)
void
setTarget(LivingEntity target)
private void
setType(FoxEntity.Type type)
private void
setWalking(boolean walking)
private void
spit(ItemStack stack)
private void
stopActions()
private void
stopSleeping()
void
tick()
void
tickMovement()
private boolean
wantsToPickupItem()
void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, canImmediatelyDespawn, damage, getCurrentExperience, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, interactMob, isInLove, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, method_29243, method_29244, method_33191, movesIndependently, onEatingGrass, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_29500, method_30633, method_31079, method_32318, method_33579, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canFly, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, fromTag, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_30330, method_30951, method_31744, method_32877, method_33332, method_33567, method_33568, method_33569, method_33570, method_33571, method_33573, method_33574, method_33575, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengers, streamPassengersRecursively, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
TYPE
- Mappings:
Namespace Name Mixin selector official bm
Lbbs;bm:Lvk;
intermediary field_17949
Lnet/minecraft/class_4019;field_17949:Lnet/minecraft/class_2940;
named TYPE
Lnet/minecraft/entity/passive/FoxEntity;TYPE:Lnet/minecraft/entity/data/TrackedData;
-
FOX_FLAGS
- Mappings:
Namespace Name Mixin selector official bn
Lbbs;bn:Lvk;
intermediary field_17950
Lnet/minecraft/class_4019;field_17950:Lnet/minecraft/class_2940;
named FOX_FLAGS
Lnet/minecraft/entity/passive/FoxEntity;FOX_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
OWNER
- Mappings:
Namespace Name Mixin selector official bo
Lbbs;bo:Lvk;
intermediary field_17951
Lnet/minecraft/class_4019;field_17951:Lnet/minecraft/class_2940;
named OWNER
Lnet/minecraft/entity/passive/FoxEntity;OWNER:Lnet/minecraft/entity/data/TrackedData;
-
OTHER_TRUSTED
- Mappings:
Namespace Name Mixin selector official bp
Lbbs;bp:Lvk;
intermediary field_17952
Lnet/minecraft/class_4019;field_17952:Lnet/minecraft/class_2940;
named OTHER_TRUSTED
Lnet/minecraft/entity/passive/FoxEntity;OTHER_TRUSTED:Lnet/minecraft/entity/data/TrackedData;
-
PICKABLE_DROP_FILTER
- Mappings:
Namespace Name Mixin selector official bq
Lbbs;bq:Ljava/util/function/Predicate;
intermediary field_17953
Lnet/minecraft/class_4019;field_17953:Ljava/util/function/Predicate;
named PICKABLE_DROP_FILTER
Lnet/minecraft/entity/passive/FoxEntity;PICKABLE_DROP_FILTER:Ljava/util/function/Predicate;
-
JUST_ATTACKED_SOMETHING_FILTER
- Mappings:
Namespace Name Mixin selector official br
Lbbs;br:Ljava/util/function/Predicate;
intermediary field_17954
Lnet/minecraft/class_4019;field_17954:Ljava/util/function/Predicate;
named JUST_ATTACKED_SOMETHING_FILTER
Lnet/minecraft/entity/passive/FoxEntity;JUST_ATTACKED_SOMETHING_FILTER:Ljava/util/function/Predicate;
-
CHICKEN_AND_RABBIT_FILTER
- Mappings:
Namespace Name Mixin selector official bs
Lbbs;bs:Ljava/util/function/Predicate;
intermediary field_17955
Lnet/minecraft/class_4019;field_17955:Ljava/util/function/Predicate;
named CHICKEN_AND_RABBIT_FILTER
Lnet/minecraft/entity/passive/FoxEntity;CHICKEN_AND_RABBIT_FILTER:Ljava/util/function/Predicate;
-
NOTICEABLE_PLAYER_FILTER
- Mappings:
Namespace Name Mixin selector official bt
Lbbs;bt:Ljava/util/function/Predicate;
intermediary field_17956
Lnet/minecraft/class_4019;field_17956:Ljava/util/function/Predicate;
named NOTICEABLE_PLAYER_FILTER
Lnet/minecraft/entity/passive/FoxEntity;NOTICEABLE_PLAYER_FILTER:Ljava/util/function/Predicate;
-
followChickenAndRabbitGoal
- Mappings:
Namespace Name Mixin selector official bu
Lbbs;bu:Lawx;
intermediary field_17957
Lnet/minecraft/class_4019;field_17957:Lnet/minecraft/class_1352;
named followChickenAndRabbitGoal
Lnet/minecraft/entity/passive/FoxEntity;followChickenAndRabbitGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
followBabyTurtleGoal
- Mappings:
Namespace Name Mixin selector official bv
Lbbs;bv:Lawx;
intermediary field_17958
Lnet/minecraft/class_4019;field_17958:Lnet/minecraft/class_1352;
named followBabyTurtleGoal
Lnet/minecraft/entity/passive/FoxEntity;followBabyTurtleGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
followFishGoal
- Mappings:
Namespace Name Mixin selector official bw
Lbbs;bw:Lawx;
intermediary field_17959
Lnet/minecraft/class_4019;field_17959:Lnet/minecraft/class_1352;
named followFishGoal
Lnet/minecraft/entity/passive/FoxEntity;followFishGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
headRollProgress
private float headRollProgress- Mappings:
Namespace Name Mixin selector official bx
Lbbs;bx:F
intermediary field_17960
Lnet/minecraft/class_4019;field_17960:F
named headRollProgress
Lnet/minecraft/entity/passive/FoxEntity;headRollProgress:F
-
lastHeadRollProgress
private float lastHeadRollProgress- Mappings:
Namespace Name Mixin selector official by
Lbbs;by:F
intermediary field_17961
Lnet/minecraft/class_4019;field_17961:F
named lastHeadRollProgress
Lnet/minecraft/entity/passive/FoxEntity;lastHeadRollProgress:F
-
extraRollingHeight
private float extraRollingHeight- Mappings:
Namespace Name Mixin selector official bz
Lbbs;bz:F
intermediary field_17962
Lnet/minecraft/class_4019;field_17962:F
named extraRollingHeight
Lnet/minecraft/entity/passive/FoxEntity;extraRollingHeight:F
-
lastExtraRollingHeight
private float lastExtraRollingHeight- Mappings:
Namespace Name Mixin selector official bA
Lbbs;bA:F
intermediary field_17963
Lnet/minecraft/class_4019;field_17963:F
named lastExtraRollingHeight
Lnet/minecraft/entity/passive/FoxEntity;lastExtraRollingHeight:F
-
eatingTime
private int eatingTime- Mappings:
Namespace Name Mixin selector official bB
Lbbs;bB:I
intermediary field_17964
Lnet/minecraft/class_4019;field_17964:I
named eatingTime
Lnet/minecraft/entity/passive/FoxEntity;eatingTime:I
-
-
Constructor Details
-
FoxEntity
- Mappings:
Namespace Name Mixin selector official <init>
Laqv;<init>(Laqz;Lbtv;)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
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official e
Laqv;e()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
initGoals
protected void initGoals() -
getEatSound
- Overrides:
getEatSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official d
Lari;d(Lbnv;)Laef;
intermediary method_18869
Lnet/minecraft/class_1309;method_18869(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
named getEatSound
Lnet/minecraft/entity/LivingEntity;getEatSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official k
Lari;k()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eg
Lari;eg()Z
intermediary method_6062
Lnet/minecraft/class_1309;method_6062()Z
named isImmobile
Lnet/minecraft/entity/LivingEntity;isImmobile()Z
-
canEat
- Mappings:
Namespace Name Mixin selector official l
Lbbs;l(Lbnv;)Z
intermediary method_18430
Lnet/minecraft/class_4019;method_18430(Lnet/minecraft/class_1799;)Z
named canEat
Lnet/minecraft/entity/passive/FoxEntity;canEat(Lnet/minecraft/item/ItemStack;)Z
-
initEquipment
- Overrides:
initEquipment
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Larj;a(Lapo;)V
intermediary method_5964
Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_1266;)V
named initEquipment
Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
-
handleStatus
- Overrides:
handleStatus
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
createFoxAttributes
- Mappings:
Namespace Name Mixin selector official o
Lbbs;o()Lash$a;
intermediary method_26885
Lnet/minecraft/class_4019;method_26885()Lnet/minecraft/class_5132$class_5133;
named createFoxAttributes
Lnet/minecraft/entity/passive/FoxEntity;createFoxAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
createChild
- Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official b
Lbbs;b(Laav;Laqt;)Lbbs;
intermediary method_18260
Lnet/minecraft/class_4019;method_18260(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4019;
named createChild
Lnet/minecraft/entity/passive/FoxEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/FoxEntity;
-
initialize
@Nullable public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable CompoundTag entityTag)- Overrides:
initialize
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Larj;a(Lbuj;Lapo;Larl;Larz;Lmq;)Larz;
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/CompoundTag;)Lnet/minecraft/entity/EntityData;
-
addTypeSpecificGoals
private void addTypeSpecificGoals()- Mappings:
Namespace Name Mixin selector official fy
Lbbs;fy()V
intermediary method_18280
Lnet/minecraft/class_4019;method_18280()V
named addTypeSpecificGoals
Lnet/minecraft/entity/passive/FoxEntity;addTypeSpecificGoals()V
-
eat
- Overrides:
eat
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbj;a(Lbhl;Lapp;Lbnv;)V
intermediary method_6475
Lnet/minecraft/class_1429;method_6475(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)V
named eat
Lnet/minecraft/entity/passive/AnimalEntity;eat(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)V
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeight
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lari;b(Lart;Laqw;)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
-
getFoxType
- Mappings:
Namespace Name Mixin selector official r
Lbbs;r()Lbbs$v;
intermediary method_18271
Lnet/minecraft/class_4019;method_18271()Lnet/minecraft/class_4019$class_4039;
named getFoxType
Lnet/minecraft/entity/passive/FoxEntity;getFoxType()Lnet/minecraft/entity/passive/FoxEntity$Type;
-
setType
- Mappings:
Namespace Name Mixin selector official a
Lbbs;a(Lbbs$v;)V
intermediary method_18255
Lnet/minecraft/class_4019;method_18255(Lnet/minecraft/class_4019$class_4039;)V
named setType
Lnet/minecraft/entity/passive/FoxEntity;setType(Lnet/minecraft/entity/passive/FoxEntity$Type;)V
-
getTrustedUuids
- Mappings:
Namespace Name Mixin selector official fz
Lbbs;fz()Ljava/util/List;
intermediary method_18281
Lnet/minecraft/class_4019;method_18281()Ljava/util/List;
named getTrustedUuids
Lnet/minecraft/entity/passive/FoxEntity;getTrustedUuids()Ljava/util/List;
-
addTrustedUuid
- Mappings:
Namespace Name Mixin selector official b
Lbbs;b(Ljava/util/UUID;)V
intermediary method_18266
Lnet/minecraft/class_4019;method_18266(Ljava/util/UUID;)V
named addTrustedUuid
Lnet/minecraft/entity/passive/FoxEntity;addTrustedUuid(Ljava/util/UUID;)V
-
writeCustomDataToTag
- Overrides:
writeCustomDataToTag
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Overrides:
readCustomDataFromTag
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector official fl
Lbbs;fl()Z
intermediary method_18272
Lnet/minecraft/class_4019;method_18272()Z
named isSitting
Lnet/minecraft/entity/passive/FoxEntity;isSitting()Z
-
setSitting
public void setSitting(boolean sitting)- Mappings:
Namespace Name Mixin selector official u
Lbbs;u(Z)V
intermediary method_18294
Lnet/minecraft/class_4019;method_18294(Z)V
named setSitting
Lnet/minecraft/entity/passive/FoxEntity;setSitting(Z)V
-
isWalking
public boolean isWalking()- Mappings:
Namespace Name Mixin selector official fm
Lbbs;fm()Z
intermediary method_18273
Lnet/minecraft/class_4019;method_18273()Z
named isWalking
Lnet/minecraft/entity/passive/FoxEntity;isWalking()Z
-
setWalking
private void setWalking(boolean walking)- Mappings:
Namespace Name Mixin selector official y
Lbbs;y(Z)V
intermediary method_18295
Lnet/minecraft/class_4019;method_18295(Z)V
named setWalking
Lnet/minecraft/entity/passive/FoxEntity;setWalking(Z)V
-
isAggressive
private boolean isAggressive()- Mappings:
Namespace Name Mixin selector official fA
Lbbs;fA()Z
intermediary method_18282
Lnet/minecraft/class_4019;method_18282()Z
named isAggressive
Lnet/minecraft/entity/passive/FoxEntity;isAggressive()Z
-
setAggressive
private void setAggressive(boolean aggressive)- Mappings:
Namespace Name Mixin selector official z
Lbbs;z(Z)V
intermediary method_18301
Lnet/minecraft/class_4019;method_18301(Z)V
named setAggressive
Lnet/minecraft/entity/passive/FoxEntity;setAggressive(Z)V
-
isSleeping
public boolean isSleeping()- Overrides:
isSleeping
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eK
Lari;eK()Z
intermediary method_6113
Lnet/minecraft/class_1309;method_6113()Z
named isSleeping
Lnet/minecraft/entity/LivingEntity;isSleeping()Z
-
setSleeping
private void setSleeping(boolean sleeping)- Mappings:
Namespace Name Mixin selector official A
Lbbs;A(Z)V
intermediary method_18302
Lnet/minecraft/class_4019;method_18302(Z)V
named setSleeping
Lnet/minecraft/entity/passive/FoxEntity;setSleeping(Z)V
-
setFoxFlag
private void setFoxFlag(int mask, boolean value)- Mappings:
Namespace Name Mixin selector official d
Lbbs;d(IZ)V
intermediary method_18269
Lnet/minecraft/class_4019;method_18269(IZ)V
named setFoxFlag
Lnet/minecraft/entity/passive/FoxEntity;setFoxFlag(IZ)V
-
getFoxFlag
private boolean getFoxFlag(int bitmask)- Mappings:
Namespace Name Mixin selector official u
Lbbs;u(I)Z
intermediary method_18293
Lnet/minecraft/class_4019;method_18293(I)Z
named getFoxFlag
Lnet/minecraft/entity/passive/FoxEntity;getFoxFlag(I)Z
-
canEquip
-
canPickupItem
- Overrides:
canPickupItem
in classMobEntity
- Mappings:
Namespace Name Mixin selector official i
Larj;i(Lbnv;)Z
intermediary method_5939
Lnet/minecraft/class_1308;method_5939(Lnet/minecraft/class_1799;)Z
named canPickupItem
Lnet/minecraft/entity/mob/MobEntity;canPickupItem(Lnet/minecraft/item/ItemStack;)Z
-
spit
- Mappings:
Namespace Name Mixin selector official m
Lbbs;m(Lbnv;)V
intermediary method_18289
Lnet/minecraft/class_4019;method_18289(Lnet/minecraft/class_1799;)V
named spit
Lnet/minecraft/entity/passive/FoxEntity;spit(Lnet/minecraft/item/ItemStack;)V
-
dropItem
- Mappings:
Namespace Name Mixin selector official n
Lbbs;n(Lbnv;)V
intermediary method_18291
Lnet/minecraft/class_4019;method_18291(Lnet/minecraft/class_1799;)V
named dropItem
Lnet/minecraft/entity/passive/FoxEntity;dropItem(Lnet/minecraft/item/ItemStack;)V
-
loot
-
tick
public void tick() -
isBreedingItem
- Overrides:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official k
Lbbj;k(Lbnv;)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
-
onPlayerSpawnedChild
- Overrides:
onPlayerSpawnedChild
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Larj;a(Lbhl;Larj;)V
intermediary method_18249
Lnet/minecraft/class_1308;method_18249(Lnet/minecraft/class_1657;Lnet/minecraft/class_1308;)V
named onPlayerSpawnedChild
Lnet/minecraft/entity/mob/MobEntity;onPlayerSpawnedChild(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/mob/MobEntity;)V
-
isChasing
public boolean isChasing()- Mappings:
Namespace Name Mixin selector official fn
Lbbs;fn()Z
intermediary method_18274
Lnet/minecraft/class_4019;method_18274()Z
named isChasing
Lnet/minecraft/entity/passive/FoxEntity;isChasing()Z
-
setChasing
public void setChasing(boolean chasing)- Mappings:
Namespace Name Mixin selector official v
Lbbs;v(Z)V
intermediary method_18296
Lnet/minecraft/class_4019;method_18296(Z)V
named setChasing
Lnet/minecraft/entity/passive/FoxEntity;setChasing(Z)V
-
isFullyCrouched
public boolean isFullyCrouched()- Mappings:
Namespace Name Mixin selector official fu
Lbbs;fu()Z
intermediary method_18275
Lnet/minecraft/class_4019;method_18275()Z
named isFullyCrouched
Lnet/minecraft/entity/passive/FoxEntity;isFullyCrouched()Z
-
setCrouching
public void setCrouching(boolean crouching)- Mappings:
Namespace Name Mixin selector official w
Lbbs;w(Z)V
intermediary method_18297
Lnet/minecraft/class_4019;method_18297(Z)V
named setCrouching
Lnet/minecraft/entity/passive/FoxEntity;setCrouching(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.
- Overrides:
isInSneakingPose
in classEntity
- Mappings:
Namespace Name Mixin selector official bE
Laqv;bE()Z
intermediary method_18276
Lnet/minecraft/class_1297;method_18276()Z
named isInSneakingPose
Lnet/minecraft/entity/Entity;isInSneakingPose()Z
-
setRollingHead
public void setRollingHead(boolean rollingHead)- Mappings:
Namespace Name Mixin selector official x
Lbbs;x(Z)V
intermediary method_18299
Lnet/minecraft/class_4019;method_18299(Z)V
named setRollingHead
Lnet/minecraft/entity/passive/FoxEntity;setRollingHead(Z)V
-
isRollingHead
public boolean isRollingHead()- Mappings:
Namespace Name Mixin selector official fv
Lbbs;fv()Z
intermediary method_18277
Lnet/minecraft/class_4019;method_18277()Z
named isRollingHead
Lnet/minecraft/entity/passive/FoxEntity;isRollingHead()Z
-
getHeadRoll
- Mappings:
Namespace Name Mixin selector official x
Lbbs;x(F)F
intermediary method_18298
Lnet/minecraft/class_4019;method_18298(F)F
named getHeadRoll
Lnet/minecraft/entity/passive/FoxEntity;getHeadRoll(F)F
-
getBodyRotationHeightOffset
- Mappings:
Namespace Name Mixin selector official y
Lbbs;y(F)F
intermediary method_18300
Lnet/minecraft/class_4019;method_18300(F)F
named getBodyRotationHeightOffset
Lnet/minecraft/entity/passive/FoxEntity;getBodyRotationHeightOffset(F)F
-
setTarget
-
computeFallDamage
protected int computeFallDamage(float fallDistance, float damageMultiplier)- Overrides:
computeFallDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official d
Lari;d(FF)I
intermediary method_23329
Lnet/minecraft/class_1309;method_23329(FF)I
named computeFallDamage
Lnet/minecraft/entity/LivingEntity;computeFallDamage(FF)I
-
stopSleeping
private void stopSleeping()- Mappings:
Namespace Name Mixin selector official fB
Lbbs;fB()V
intermediary method_18283
Lnet/minecraft/class_4019;method_18283()V
named stopSleeping
Lnet/minecraft/entity/passive/FoxEntity;stopSleeping()V
-
stopActions
private void stopActions()- Mappings:
Namespace Name Mixin selector official fC
Lbbs;fC()V
intermediary method_18284
Lnet/minecraft/class_4019;method_18284()V
named stopActions
Lnet/minecraft/entity/passive/FoxEntity;stopActions()V
-
wantsToPickupItem
private boolean wantsToPickupItem()- Mappings:
Namespace Name Mixin selector official fD
Lbbs;fD()Z
intermediary method_18285
Lnet/minecraft/class_4019;method_18285()Z
named wantsToPickupItem
Lnet/minecraft/entity/passive/FoxEntity;wantsToPickupItem()Z
-
playAmbientSound
public void playAmbientSound()- Overrides:
playAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official J
Larj;J()V
intermediary method_5966
Lnet/minecraft/class_1308;method_5966()V
named playAmbientSound
Lnet/minecraft/entity/mob/MobEntity;playAmbientSound()V
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official p
Larj;p()Laef;
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;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lari;c(Laqf;)Laef;
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;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official q
Lari;q()Laef;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
canTrust
- Mappings:
Namespace Name Mixin selector official c
Lbbs;c(Ljava/util/UUID;)Z
intermediary method_18428
Lnet/minecraft/class_4019;method_18428(Ljava/util/UUID;)Z
named canTrust
Lnet/minecraft/entity/passive/FoxEntity;canTrust(Ljava/util/UUID;)Z
-
drop
- Overrides:
drop
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official e
Lari;e(Laqf;)V
intermediary method_16080
Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_1282;)V
named drop
Lnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/entity/damage/DamageSource;)V
-
canJumpChase
- Mappings:
Namespace Name Mixin selector official a
Lbbs;a(Lbbs;Lari;)Z
intermediary method_18257
Lnet/minecraft/class_4019;method_18257(Lnet/minecraft/class_4019;Lnet/minecraft/class_1309;)Z
named canJumpChase
Lnet/minecraft/entity/passive/FoxEntity;canJumpChase(Lnet/minecraft/entity/passive/FoxEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
method_29919
- Overrides:
method_29919
in classEntity
- Mappings:
Namespace Name Mixin selector official cp
Laqv;cp()Ldiu;
intermediary method_29919
Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
named method_29919
Lnet/minecraft/entity/Entity;method_29919()Lnet/minecraft/util/math/Vec3d;
-