Package net.minecraft.entity.passive
Class FoxEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
public class FoxEntity extends AnimalEntity
- Mappings:
Namespace Name official bcuintermediary net/minecraft/class_4019named net/minecraft/entity/passive/FoxEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields Modifier and Type Field Description private static Predicate<Entity>CHICKEN_AND_RABBIT_FILTERprivate inteatingTimeprivate floatextraRollingHeightprivate GoalfollowBabyTurtleGoalprivate GoalfollowChickenAndRabbitGoalprivate GoalfollowFishGoalprivate static TrackedData<Byte>FOX_FLAGSprivate floatheadRollProgressprivate static Predicate<Entity>JUST_ATTACKED_SOMETHING_FILTERprivate floatlastExtraRollingHeightprivate floatlastHeadRollProgressprivate static Predicate<Entity>NOTICEABLE_PLAYER_FILTERprivate static TrackedData<Optional<UUID>>OTHER_TRUSTEDprivate static TrackedData<Optional<UUID>>OWNERprivate static Predicate<ItemEntity>PICKABLE_DROP_FILTERprivate static TrackedData<Integer>TYPEFields inherited from class net.minecraft.entity.passive.PassiveEntity
breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelectorFields 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, upwardSpeedFields 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, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yawFields 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 voidaddTrustedUuid(@Nullable UUID uuid)private voidaddTypeSpecificGoals()private booleancanEat(ItemStack stack)booleancanEquip(ItemStack stack)static booleancanJumpChase(FoxEntity fox, LivingEntity chasedEntity)booleancanPickupItem(ItemStack stack)private booleancanTrust(UUID uuid)protected intcomputeFallDamage(float fallDistance, float damageMultiplier)FoxEntitycreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity)static DefaultAttributeContainer.BuildercreateFoxAttributes()protected voiddrop(DamageSource source)private voiddropItem(ItemStack stack)protected voideat(PlayerEntity player, Hand hand, ItemStack stack)protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)protected @Nullable SoundEventgetAmbientSound()floatgetBodyRotationHeightOffset(float tickDelta)protected @Nullable SoundEventgetDeathSound()SoundEventgetEatSound(ItemStack stack)private booleangetFoxFlag(int bitmask)FoxEntity.TypegetFoxType()floatgetHeadRoll(float tickDelta)protected @Nullable SoundEventgetHurtSound(DamageSource source)private List<UUID>getTrustedUuids()voidhandleStatus(byte status)protected voidinitDataTracker()protected voidinitEquipment(LocalDifficulty difficulty)protected voidinitGoals()@Nullable EntityDatainitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityTag)private booleanisAggressive()booleanisBreedingItem(ItemStack stack)booleanisChasing()booleanisFullyCrouched()protected booleanisImmobile()booleanisInSneakingPose()Returns whether the entity is in a crouching pose.booleanisRollingHead()booleanisSitting()booleanisSleeping()booleanisWalking()protected voidloot(ItemEntity item)Vec3dmethod_29919()protected voidonPlayerSpawnedChild(PlayerEntity player, MobEntity child)voidplayAmbientSound()voidreadCustomDataFromNbt(NbtCompound tag)private voidsetAggressive(boolean aggressive)voidsetChasing(boolean chasing)voidsetCrouching(boolean crouching)private voidsetFoxFlag(int mask, boolean value)voidsetRollingHead(boolean rollingHead)voidsetSitting(boolean sitting)private voidsetSleeping(boolean sleeping)voidsetTarget(@Nullable LivingEntity target)private voidsetType(FoxEntity.Type type)private voidsetWalking(boolean walking)private voidspit(ItemStack stack)private voidstopActions()private voidstopSleeping()voidtick()voidtickMovement()private booleanwantsToPickupItem()voidwriteCustomDataToNbt(NbtCompound tag)Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, canImmediatelyDespawn, damage, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, getXpToDrop, interactMob, isInLove, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, convertTo, 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_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, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, 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, getCommandItemSlot, 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_31079, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, pushAway, pushAwayFrom, readFromPacket, 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, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, 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, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, method_33332, method_33574, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, 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, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
Field Details
-
TYPE
- Mappings:
Namespace Name Mixin selector official blLbcu;bl:Lvu;intermediary field_17949Lnet/minecraft/class_4019;field_17949:Lnet/minecraft/class_2940;named TYPELnet/minecraft/entity/passive/FoxEntity;TYPE:Lnet/minecraft/entity/data/TrackedData;
-
FOX_FLAGS
- Mappings:
Namespace Name Mixin selector official bmLbcu;bm:Lvu;intermediary field_17950Lnet/minecraft/class_4019;field_17950:Lnet/minecraft/class_2940;named FOX_FLAGSLnet/minecraft/entity/passive/FoxEntity;FOX_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
OWNER
- Mappings:
Namespace Name Mixin selector official bnLbcu;bn:Lvu;intermediary field_17951Lnet/minecraft/class_4019;field_17951:Lnet/minecraft/class_2940;named OWNERLnet/minecraft/entity/passive/FoxEntity;OWNER:Lnet/minecraft/entity/data/TrackedData;
-
OTHER_TRUSTED
- Mappings:
Namespace Name Mixin selector official boLbcu;bo:Lvu;intermediary field_17952Lnet/minecraft/class_4019;field_17952:Lnet/minecraft/class_2940;named OTHER_TRUSTEDLnet/minecraft/entity/passive/FoxEntity;OTHER_TRUSTED:Lnet/minecraft/entity/data/TrackedData;
-
PICKABLE_DROP_FILTER
- Mappings:
Namespace Name Mixin selector official bpLbcu;bp:Ljava/util/function/Predicate;intermediary field_17953Lnet/minecraft/class_4019;field_17953:Ljava/util/function/Predicate;named PICKABLE_DROP_FILTERLnet/minecraft/entity/passive/FoxEntity;PICKABLE_DROP_FILTER:Ljava/util/function/Predicate;
-
JUST_ATTACKED_SOMETHING_FILTER
- Mappings:
Namespace Name Mixin selector official bqLbcu;bq:Ljava/util/function/Predicate;intermediary field_17954Lnet/minecraft/class_4019;field_17954:Ljava/util/function/Predicate;named JUST_ATTACKED_SOMETHING_FILTERLnet/minecraft/entity/passive/FoxEntity;JUST_ATTACKED_SOMETHING_FILTER:Ljava/util/function/Predicate;
-
CHICKEN_AND_RABBIT_FILTER
- Mappings:
Namespace Name Mixin selector official brLbcu;br:Ljava/util/function/Predicate;intermediary field_17955Lnet/minecraft/class_4019;field_17955:Ljava/util/function/Predicate;named CHICKEN_AND_RABBIT_FILTERLnet/minecraft/entity/passive/FoxEntity;CHICKEN_AND_RABBIT_FILTER:Ljava/util/function/Predicate;
-
NOTICEABLE_PLAYER_FILTER
- Mappings:
Namespace Name Mixin selector official bsLbcu;bs:Ljava/util/function/Predicate;intermediary field_17956Lnet/minecraft/class_4019;field_17956:Ljava/util/function/Predicate;named NOTICEABLE_PLAYER_FILTERLnet/minecraft/entity/passive/FoxEntity;NOTICEABLE_PLAYER_FILTER:Ljava/util/function/Predicate;
-
followChickenAndRabbitGoal
- Mappings:
Namespace Name Mixin selector official btLbcu;bt:Laxz;intermediary field_17957Lnet/minecraft/class_4019;field_17957:Lnet/minecraft/class_1352;named followChickenAndRabbitGoalLnet/minecraft/entity/passive/FoxEntity;followChickenAndRabbitGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
followBabyTurtleGoal
- Mappings:
Namespace Name Mixin selector official buLbcu;bu:Laxz;intermediary field_17958Lnet/minecraft/class_4019;field_17958:Lnet/minecraft/class_1352;named followBabyTurtleGoalLnet/minecraft/entity/passive/FoxEntity;followBabyTurtleGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
followFishGoal
- Mappings:
Namespace Name Mixin selector official bvLbcu;bv:Laxz;intermediary field_17959Lnet/minecraft/class_4019;field_17959:Lnet/minecraft/class_1352;named followFishGoalLnet/minecraft/entity/passive/FoxEntity;followFishGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
headRollProgress
private float headRollProgress- Mappings:
Namespace Name Mixin selector official bwLbcu;bw:Fintermediary field_17960Lnet/minecraft/class_4019;field_17960:Fnamed headRollProgressLnet/minecraft/entity/passive/FoxEntity;headRollProgress:F
-
lastHeadRollProgress
private float lastHeadRollProgress- Mappings:
Namespace Name Mixin selector official bxLbcu;bx:Fintermediary field_17961Lnet/minecraft/class_4019;field_17961:Fnamed lastHeadRollProgressLnet/minecraft/entity/passive/FoxEntity;lastHeadRollProgress:F
-
extraRollingHeight
private float extraRollingHeight- Mappings:
Namespace Name Mixin selector official byLbcu;by:Fintermediary field_17962Lnet/minecraft/class_4019;field_17962:Fnamed extraRollingHeightLnet/minecraft/entity/passive/FoxEntity;extraRollingHeight:F
-
lastExtraRollingHeight
private float lastExtraRollingHeight- Mappings:
Namespace Name Mixin selector official bzLbcu;bz:Fintermediary field_17963Lnet/minecraft/class_4019;field_17963:Fnamed lastExtraRollingHeightLnet/minecraft/entity/passive/FoxEntity;lastExtraRollingHeight:F
-
eatingTime
private int eatingTime- Mappings:
Namespace Name Mixin selector official bALbcu;bA:Iintermediary field_17964Lnet/minecraft/class_4019;field_17964:Inamed eatingTimeLnet/minecraft/entity/passive/FoxEntity;eatingTime:I
-
-
Constructor Details
-
FoxEntity
- Mappings:
Namespace Name Mixin selector official <init>Larx;<init>(Lasb;Lbva;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official eLarx;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
initGoals
protected void initGoals() -
getEatSound
- Overrides:
getEatSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLask;d(Lbpa;)Laer;intermediary method_18869Lnet/minecraft/class_1309;method_18869(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;named getEatSoundLnet/minecraft/entity/LivingEntity;getEatSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector official kLask;k()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobilein classLivingEntity- Mappings:
Namespace Name Mixin selector official ehLask;eh()Zintermediary method_6062Lnet/minecraft/class_1309;method_6062()Znamed isImmobileLnet/minecraft/entity/LivingEntity;isImmobile()Z
-
canEat
- Mappings:
Namespace Name Mixin selector official lLbcu;l(Lbpa;)Zintermediary method_18430Lnet/minecraft/class_4019;method_18430(Lnet/minecraft/class_1799;)Znamed canEatLnet/minecraft/entity/passive/FoxEntity;canEat(Lnet/minecraft/item/ItemStack;)Z
-
initEquipment
- Overrides:
initEquipmentin classMobEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Laqq;)Vintermediary method_5964Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_1266;)Vnamed initEquipmentLnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
-
handleStatus
- Overrides:
handleStatusin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLarx;a(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
createFoxAttributes
- Mappings:
Namespace Name Mixin selector official oLbcu;o()Latj$a;intermediary method_26885Lnet/minecraft/class_4019;method_26885()Lnet/minecraft/class_5132$class_5133;named createFoxAttributesLnet/minecraft/entity/passive/FoxEntity;createFoxAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLbcu;b(Labf;Larv;)Lbcu;intermediary method_18260Lnet/minecraft/class_4019;method_18260(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4019;named createChildLnet/minecraft/entity/passive/FoxEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/FoxEntity;
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityTag)- Overrides:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lbvo;Laqq;Lasn;Latb;Lmr;)Latb;intermediary method_5943Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
addTypeSpecificGoals
private void addTypeSpecificGoals()- Mappings:
Namespace Name Mixin selector official fzLbcu;fz()Vintermediary method_18280Lnet/minecraft/class_4019;method_18280()Vnamed addTypeSpecificGoalsLnet/minecraft/entity/passive/FoxEntity;addTypeSpecificGoals()V
-
eat
- Overrides:
eatin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLbcl;a(Lbio;Laqr;Lbpa;)Vintermediary method_6475Lnet/minecraft/class_1429;method_6475(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Vnamed eatLnet/minecraft/entity/passive/AnimalEntity;eat(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)V
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLask;b(Lasv;Lary;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
getFoxType
- Mappings:
Namespace Name Mixin selector official sLbcu;s()Lbcu$v;intermediary method_18271Lnet/minecraft/class_4019;method_18271()Lnet/minecraft/class_4019$class_4039;named getFoxTypeLnet/minecraft/entity/passive/FoxEntity;getFoxType()Lnet/minecraft/entity/passive/FoxEntity$Type;
-
setType
- Mappings:
Namespace Name Mixin selector official aLbcu;a(Lbcu$v;)Vintermediary method_18255Lnet/minecraft/class_4019;method_18255(Lnet/minecraft/class_4019$class_4039;)Vnamed setTypeLnet/minecraft/entity/passive/FoxEntity;setType(Lnet/minecraft/entity/passive/FoxEntity$Type;)V
-
getTrustedUuids
- Mappings:
Namespace Name Mixin selector official fALbcu;fA()Ljava/util/List;intermediary method_18281Lnet/minecraft/class_4019;method_18281()Ljava/util/List;named getTrustedUuidsLnet/minecraft/entity/passive/FoxEntity;getTrustedUuids()Ljava/util/List;
-
addTrustedUuid
- Mappings:
Namespace Name Mixin selector official bLbcu;b(Ljava/util/UUID;)Vintermediary method_18266Lnet/minecraft/class_4019;method_18266(Ljava/util/UUID;)Vnamed addTrustedUuidLnet/minecraft/entity/passive/FoxEntity;addTrustedUuid(Ljava/util/UUID;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLarx;b(Lmr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLarx;a(Lmr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector official fmLbcu;fm()Zintermediary method_18272Lnet/minecraft/class_4019;method_18272()Znamed isSittingLnet/minecraft/entity/passive/FoxEntity;isSitting()Z
-
setSitting
public void setSitting(boolean sitting)- Mappings:
Namespace Name Mixin selector official uLbcu;u(Z)Vintermediary method_18294Lnet/minecraft/class_4019;method_18294(Z)Vnamed setSittingLnet/minecraft/entity/passive/FoxEntity;setSitting(Z)V
-
isWalking
public boolean isWalking()- Mappings:
Namespace Name Mixin selector official fnLbcu;fn()Zintermediary method_18273Lnet/minecraft/class_4019;method_18273()Znamed isWalkingLnet/minecraft/entity/passive/FoxEntity;isWalking()Z
-
setWalking
private void setWalking(boolean walking)- Mappings:
Namespace Name Mixin selector official yLbcu;y(Z)Vintermediary method_18295Lnet/minecraft/class_4019;method_18295(Z)Vnamed setWalkingLnet/minecraft/entity/passive/FoxEntity;setWalking(Z)V
-
isAggressive
private boolean isAggressive()- Mappings:
Namespace Name Mixin selector official fBLbcu;fB()Zintermediary method_18282Lnet/minecraft/class_4019;method_18282()Znamed isAggressiveLnet/minecraft/entity/passive/FoxEntity;isAggressive()Z
-
setAggressive
private void setAggressive(boolean aggressive)- Mappings:
Namespace Name Mixin selector official zLbcu;z(Z)Vintermediary method_18301Lnet/minecraft/class_4019;method_18301(Z)Vnamed setAggressiveLnet/minecraft/entity/passive/FoxEntity;setAggressive(Z)V
-
isSleeping
public boolean isSleeping()- Overrides:
isSleepingin classLivingEntity- Mappings:
Namespace Name Mixin selector official eLLask;eL()Zintermediary method_6113Lnet/minecraft/class_1309;method_6113()Znamed isSleepingLnet/minecraft/entity/LivingEntity;isSleeping()Z
-
setSleeping
private void setSleeping(boolean sleeping)- Mappings:
Namespace Name Mixin selector official ALbcu;A(Z)Vintermediary method_18302Lnet/minecraft/class_4019;method_18302(Z)Vnamed setSleepingLnet/minecraft/entity/passive/FoxEntity;setSleeping(Z)V
-
setFoxFlag
private void setFoxFlag(int mask, boolean value)- Mappings:
Namespace Name Mixin selector official dLbcu;d(IZ)Vintermediary method_18269Lnet/minecraft/class_4019;method_18269(IZ)Vnamed setFoxFlagLnet/minecraft/entity/passive/FoxEntity;setFoxFlag(IZ)V
-
getFoxFlag
private boolean getFoxFlag(int bitmask)- Mappings:
Namespace Name Mixin selector official uLbcu;u(I)Zintermediary method_18293Lnet/minecraft/class_4019;method_18293(I)Znamed getFoxFlagLnet/minecraft/entity/passive/FoxEntity;getFoxFlag(I)Z
-
canEquip
-
canPickupItem
- Overrides:
canPickupItemin classMobEntity- Mappings:
Namespace Name Mixin selector official iLasl;i(Lbpa;)Zintermediary method_5939Lnet/minecraft/class_1308;method_5939(Lnet/minecraft/class_1799;)Znamed canPickupItemLnet/minecraft/entity/mob/MobEntity;canPickupItem(Lnet/minecraft/item/ItemStack;)Z
-
spit
- Mappings:
Namespace Name Mixin selector official mLbcu;m(Lbpa;)Vintermediary method_18289Lnet/minecraft/class_4019;method_18289(Lnet/minecraft/class_1799;)Vnamed spitLnet/minecraft/entity/passive/FoxEntity;spit(Lnet/minecraft/item/ItemStack;)V
-
dropItem
- Mappings:
Namespace Name Mixin selector official nLbcu;n(Lbpa;)Vintermediary method_18291Lnet/minecraft/class_4019;method_18291(Lnet/minecraft/class_1799;)Vnamed dropItemLnet/minecraft/entity/passive/FoxEntity;dropItem(Lnet/minecraft/item/ItemStack;)V
-
loot
-
tick
public void tick() -
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official kLbcl;k(Lbpa;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
onPlayerSpawnedChild
- Overrides:
onPlayerSpawnedChildin classMobEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lbio;Lasl;)Vintermediary method_18249Lnet/minecraft/class_1308;method_18249(Lnet/minecraft/class_1657;Lnet/minecraft/class_1308;)Vnamed onPlayerSpawnedChildLnet/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 foLbcu;fo()Zintermediary method_18274Lnet/minecraft/class_4019;method_18274()Znamed isChasingLnet/minecraft/entity/passive/FoxEntity;isChasing()Z
-
setChasing
public void setChasing(boolean chasing)- Mappings:
Namespace Name Mixin selector official vLbcu;v(Z)Vintermediary method_18296Lnet/minecraft/class_4019;method_18296(Z)Vnamed setChasingLnet/minecraft/entity/passive/FoxEntity;setChasing(Z)V
-
isFullyCrouched
public boolean isFullyCrouched()- Mappings:
Namespace Name Mixin selector official fvLbcu;fv()Zintermediary method_18275Lnet/minecraft/class_4019;method_18275()Znamed isFullyCrouchedLnet/minecraft/entity/passive/FoxEntity;isFullyCrouched()Z
-
setCrouching
public void setCrouching(boolean crouching)- Mappings:
Namespace Name Mixin selector official wLbcu;w(Z)Vintermediary method_18297Lnet/minecraft/class_4019;method_18297(Z)Vnamed setCrouchingLnet/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:
isInSneakingPosein classEntity- Mappings:
Namespace Name Mixin selector official bELarx;bE()Zintermediary method_18276Lnet/minecraft/class_1297;method_18276()Znamed isInSneakingPoseLnet/minecraft/entity/Entity;isInSneakingPose()Z
-
setRollingHead
public void setRollingHead(boolean rollingHead)- Mappings:
Namespace Name Mixin selector official xLbcu;x(Z)Vintermediary method_18299Lnet/minecraft/class_4019;method_18299(Z)Vnamed setRollingHeadLnet/minecraft/entity/passive/FoxEntity;setRollingHead(Z)V
-
isRollingHead
public boolean isRollingHead()- Mappings:
Namespace Name Mixin selector official fwLbcu;fw()Zintermediary method_18277Lnet/minecraft/class_4019;method_18277()Znamed isRollingHeadLnet/minecraft/entity/passive/FoxEntity;isRollingHead()Z
-
getHeadRoll
- Mappings:
Namespace Name Mixin selector official xLbcu;x(F)Fintermediary method_18298Lnet/minecraft/class_4019;method_18298(F)Fnamed getHeadRollLnet/minecraft/entity/passive/FoxEntity;getHeadRoll(F)F
-
getBodyRotationHeightOffset
- Mappings:
Namespace Name Mixin selector official yLbcu;y(F)Fintermediary method_18300Lnet/minecraft/class_4019;method_18300(F)Fnamed getBodyRotationHeightOffsetLnet/minecraft/entity/passive/FoxEntity;getBodyRotationHeightOffset(F)F
-
setTarget
-
computeFallDamage
protected int computeFallDamage(float fallDistance, float damageMultiplier)- Overrides:
computeFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official dLask;d(FF)Iintermediary method_23329Lnet/minecraft/class_1309;method_23329(FF)Inamed computeFallDamageLnet/minecraft/entity/LivingEntity;computeFallDamage(FF)I
-
stopSleeping
private void stopSleeping()- Mappings:
Namespace Name Mixin selector official fCLbcu;fC()Vintermediary method_18283Lnet/minecraft/class_4019;method_18283()Vnamed stopSleepingLnet/minecraft/entity/passive/FoxEntity;stopSleeping()V
-
stopActions
private void stopActions()- Mappings:
Namespace Name Mixin selector official fDLbcu;fD()Vintermediary method_18284Lnet/minecraft/class_4019;method_18284()Vnamed stopActionsLnet/minecraft/entity/passive/FoxEntity;stopActions()V
-
wantsToPickupItem
private boolean wantsToPickupItem()- Mappings:
Namespace Name Mixin selector official fELbcu;fE()Zintermediary method_18285Lnet/minecraft/class_4019;method_18285()Znamed wantsToPickupItemLnet/minecraft/entity/passive/FoxEntity;wantsToPickupItem()Z
-
playAmbientSound
public void playAmbientSound()- Overrides:
playAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official JLasl;J()Vintermediary method_5966Lnet/minecraft/class_1308;method_5966()Vnamed playAmbientSoundLnet/minecraft/entity/mob/MobEntity;playAmbientSound()V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official pLasl;p()Laer;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLask;c(Larh;)Laer;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official qLask;q()Laer;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
canTrust
- Mappings:
Namespace Name Mixin selector official cLbcu;c(Ljava/util/UUID;)Zintermediary method_18428Lnet/minecraft/class_4019;method_18428(Ljava/util/UUID;)Znamed canTrustLnet/minecraft/entity/passive/FoxEntity;canTrust(Ljava/util/UUID;)Z
-
drop
- Overrides:
dropin classLivingEntity- Mappings:
Namespace Name Mixin selector official eLask;e(Larh;)Vintermediary method_16080Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_1282;)Vnamed dropLnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/entity/damage/DamageSource;)V
-
canJumpChase
- Mappings:
Namespace Name Mixin selector official aLbcu;a(Lbcu;Lask;)Zintermediary method_18257Lnet/minecraft/class_4019;method_18257(Lnet/minecraft/class_4019;Lnet/minecraft/class_1309;)Znamed canJumpChaseLnet/minecraft/entity/passive/FoxEntity;canJumpChase(Lnet/minecraft/entity/passive/FoxEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
method_29919
- Overrides:
method_29919in classEntity- Mappings:
Namespace Name Mixin selector official cpLarx;cp()Ldky;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;named method_29919Lnet/minecraft/entity/Entity;method_29919()Lnet/minecraft/util/math/Vec3d;
-