Class Fox
- All Implemented Interfaces:
- CommandSource,- Attackable,- Targeting,- VariantHolder<Fox.Type>,- EntityAccess,- Nameable,- ICapabilityProvider,- ICapabilityProviderImpl<Entity>,- ICapabilitySerializable<CompoundTag>,- IForgeEntity,- IForgeLivingEntity,- INBTSerializable<CompoundTag>
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) class(package private) classclass(package private) class(package private) classclass(package private) class(package private) classstatic class(package private) classclass(package private) class(package private) class(package private) classclass(package private) class(package private) class(package private) class(package private) class(package private) class(package private) classstatic enumNested classes/interfaces inherited from class net.minecraft.world.entity.AgeableMobAgeableMob.AgeableMobGroupDataNested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntityLivingEntity.FallsoundsNested classes/interfaces inherited from class net.minecraft.world.entity.EntityEntity.MoveFunction, Entity.MovementEmission, Entity.RemovalReasonNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProviderCapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) static final Predicate<ItemEntity>(package private) float(package private) floatprivate static final EntityDataAccessor<Byte>private static final EntityDataAccessor<Optional<UUID>>private static final EntityDataAccessor<Optional<UUID>>private static final EntityDataAccessor<Integer>private Goalstatic final intprivate static final intprivate static final intstatic final intstatic final intprivate static final intprivate static final intprivate floatprivate floatprivate Goalprivate static final intprivate intprivate GoalFields inherited from class net.minecraft.world.entity.animal.AnimalPARENT_AGE_AFTER_BREEDINGFields inherited from class net.minecraft.world.entity.AgeableMobage, BABY_START_AGE, forcedAge, forcedAgeTimerFields inherited from class net.minecraft.world.entity.PathfinderMobDEFAULT_WALK_TARGET_VALUEFields inherited from class net.minecraft.world.entity.MobambientSoundTime, armorDropChances, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, LEASH_TAG, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, PRESERVE_ITEM_DROP_CHANCE, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpRewardFields inherited from class net.minecraft.world.entity.LivingEntityanimStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYHeadRot, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zzaFields inherited from class net.minecraft.world.entity.EntityBASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOldFields inherited from interface net.minecraft.commands.CommandSourceNULL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAdditionalSaveData(CompoundTag p_28518_) (package private) voidaddTrustedUUID(UUID p_28516_) voidaiStep()protected intcalculateFallDamage(float p_28545_, float p_28546_) private booleanbooleancanHoldItem(ItemStack p_28578_) (package private) booleancanMove()booleancanTakeItem(ItemStack p_28552_) static booleancheckFoxSpawnRules(EntityType<Fox> p_218176_, LevelAccessor p_218177_, MobSpawnType p_218178_, BlockPos p_218179_, RandomSource p_218180_) (package private) voidstatic AttributeSupplier.Builderprotected voidprotected voiddropAllDeathLoot(DamageSource p_28536_) protected voidprivate voiddropItemStack(ItemStack p_28606_) finalizeSpawn(ServerLevelAccessor p_28487_, DifficultyInstance p_28488_, MobSpawnType p_28489_, SpawnGroupData p_28490_, CompoundTag p_28491_) Forge: Override-Only, call via ForgeEventFactory.onFinalizeSpawn.
 Overrides are allowed.protected SoundEventgetBreedOffspring(ServerLevel p_148912_, AgeableMob p_148913_) floatgetCrouchAmount(float p_28625_) protected SoundEventgetEatingSound(ItemStack p_28540_) private booleangetFlag(int p_28609_) floatgetHeadRollAngle(float p_28621_) protected SoundEventgetHurtSound(DamageSource p_28548_) protected org.joml.Vector3fgetPassengerAttachmentPoint(Entity p_301360_, EntityDimensions p_299584_, float p_299082_) protected floatgetStandingEyeHeight(Pose p_28500_, EntityDimensions p_28501_) voidhandleEntityEvent(byte p_28456_) boolean(package private) booleanbooleanbooleanbooleanprotected booleanbooleanbooleanstatic booleanisPathClear(Fox p_28472_, LivingEntity p_28473_) booleanbooleanbooleanprotected voidonOffspringSpawnedFromEgg(Player p_28481_, Mob p_28482_) protected voidpickUpItem(ItemEntity p_28514_) voidprotected voidpopulateDefaultEquipmentSlots(RandomSource p_218171_, DifficultyInstance p_218172_) voidreadAdditionalSaveData(CompoundTag p_28493_) protected void(package private) voidsetDefending(boolean p_28623_) (package private) voidsetFaceplanted(boolean p_28619_) private voidsetFlag(int p_28533_, boolean p_28534_) voidsetIsCrouching(boolean p_28615_) voidsetIsInterested(boolean p_28617_) voidsetIsPouncing(boolean p_28613_) voidsetSitting(boolean p_28611_) (package private) voidsetSleeping(boolean p_28627_) voidsetTarget(LivingEntity p_28574_) private voidvoidsetVariant(Fox.Type p_28465_) private voidspitOutItem(ItemStack p_28602_) voidtick()(package private) booleanprotected voidusePlayerItem(Player p_148908_, InteractionHand p_148909_, ItemStack p_148910_) (package private) voidwakeUp()Methods inherited from class net.minecraft.world.entity.animal.AnimalcanFallInLove, canMate, checkAnimalSpawnRules, customServerAiStep, finalizeSpawnChildFromBreeding, getAmbientSoundInterval, getExperienceReward, getInLoveTime, getLoveCause, getWalkTargetValue, hurt, isBrightEnoughToSpawn, isInLove, mobInteract, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreedingMethods inherited from class net.minecraft.world.entity.AgeableMobageBoundaryReached, ageUp, ageUp, canBreed, getAge, getSpeedUpSecondsWhenFeeding, isBaby, onSyncedDataUpdated, setAge, setBabyMethods inherited from class net.minecraft.world.entity.PathfinderMobcheckSpawnRules, followLeashSpeed, getWalkTargetValue, isPanicking, isPathFinding, onLeashDistance, shouldStayCloseToLeashHolder, tickLeashMethods inherited from class net.minecraft.world.entity.Mobate, baseTick, canAttackType, canBeLeashed, canFireProjectileWeapon, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clearRestriction, convertTo, createBodyControl, createMobAttributes, createNavigation, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getArmorSlots, getAttackBoundingBox, getControllingPassenger, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getSpawnType, getTarget, hasRestriction, interact, isAggressive, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSpawnCancelled, isSunBurnTick, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInFluid, jumpInLiquid, lookAt, onPathfindingDone, onPathfindingStart, playHurtSound, populateDefaultEquipmentEnchantments, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, restrictTo, sendDebugPackets, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUpMethods inherited from class net.minecraft.world.entity.LivingEntityactuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doPush, dropExperience, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxAbsorption, getMaxHealth, getMobType, getMyRidingOffset, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getProjectile, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makeBrain, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPoseMethods inherited from class net.minecraft.world.entity.EntityabsMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, ridingOffset, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSoundMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProviderareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCapsMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSourcealwaysAcceptsMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeEntitycanBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeHeightForge, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoatingMethods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntitycanDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluid
- 
Field Details- 
DATA_TYPE_ID
- 
DATA_FLAGS_ID
- 
FLAG_SITTINGprivate static final int FLAG_SITTING- See Also:
 
- 
FLAG_CROUCHINGpublic static final int FLAG_CROUCHING- See Also:
 
- 
FLAG_INTERESTEDpublic static final int FLAG_INTERESTED- See Also:
 
- 
FLAG_POUNCINGpublic static final int FLAG_POUNCING- See Also:
 
- 
FLAG_SLEEPINGprivate static final int FLAG_SLEEPING- See Also:
 
- 
FLAG_FACEPLANTEDprivate static final int FLAG_FACEPLANTED- See Also:
 
- 
FLAG_DEFENDINGprivate static final int FLAG_DEFENDING- See Also:
 
- 
DATA_TRUSTED_ID_0
- 
DATA_TRUSTED_ID_1
- 
ALLOWED_ITEMS
- 
TRUSTED_TARGET_SELECTOR
- 
STALKABLE_PREY
- 
AVOID_PLAYERS
- 
MIN_TICKS_BEFORE_EATprivate static final int MIN_TICKS_BEFORE_EAT- See Also:
 
- 
landTargetGoal
- 
turtleEggTargetGoal
- 
fishTargetGoal
- 
interestedAngleprivate float interestedAngle
- 
interestedAngleOprivate float interestedAngleO
- 
crouchAmountfloat crouchAmount
- 
crouchAmountOfloat crouchAmountO
- 
ticksSinceEatenprivate int ticksSinceEaten
 
- 
- 
Constructor Details- 
Fox
 
- 
- 
Method Details- 
defineSynchedDataprotected void defineSynchedData()- Overrides:
- defineSynchedDatain class- AgeableMob
 
- 
registerGoalsprotected void registerGoals()- Overrides:
- registerGoalsin class- Mob
 
- 
getEatingSound- Overrides:
- getEatingSoundin class- LivingEntity
 
- 
aiSteppublic void aiStep()
- 
isImmobileprotected boolean isImmobile()- Overrides:
- isImmobilein class- LivingEntity
 
- 
canEat
- 
populateDefaultEquipmentSlots- Overrides:
- populateDefaultEquipmentSlotsin class- Mob
 
- 
handleEntityEventpublic void handleEntityEvent(byte p_28456_) - Overrides:
- handleEntityEventin class- Animal
 
- 
createAttributes
- 
getBreedOffspring- Specified by:
- getBreedOffspringin class- AgeableMob
 
- 
checkFoxSpawnRulespublic static boolean checkFoxSpawnRules(EntityType<Fox> p_218176_, LevelAccessor p_218177_, MobSpawnType p_218178_, BlockPos p_218179_, RandomSource p_218180_) 
- 
finalizeSpawn@Nullable public SpawnGroupData finalizeSpawn(ServerLevelAccessor p_28487_, DifficultyInstance p_28488_, MobSpawnType p_28489_, @Nullable SpawnGroupData p_28490_, @Nullable CompoundTag p_28491_) Description copied from class:MobForge: Override-Only, call via ForgeEventFactory.onFinalizeSpawn.
 Overrides are allowed. Do not wrap super calls within override (as that will cause stack overflows).
 Vanilla calls are replaced with a transformer, and are not visible in source.
 Be certain to either call super.finalizeSpawn or set the Mob.spawnTypefield from within your override.- Overrides:
- finalizeSpawnin class- AgeableMob
 
- 
setTargetGoalsprivate void setTargetGoals()
- 
usePlayerItem- Overrides:
- usePlayerItemin class- Animal
 
- 
getStandingEyeHeight- Overrides:
- getStandingEyeHeightin class- LivingEntity
 
- 
getVariant- Specified by:
- getVariantin interface- VariantHolder<Fox.Type>
 
- 
setVariant- Specified by:
- setVariantin interface- VariantHolder<Fox.Type>
 
- 
getTrustedUUIDs
- 
addTrustedUUID
- 
addAdditionalSaveData- Overrides:
- addAdditionalSaveDatain class- Animal
 
- 
readAdditionalSaveData- Overrides:
- readAdditionalSaveDatain class- Animal
 
- 
isSittingpublic boolean isSitting()
- 
setSittingpublic void setSitting(boolean p_28611_) 
- 
isFaceplantedpublic boolean isFaceplanted()
- 
setFaceplantedvoid setFaceplanted(boolean p_28619_) 
- 
isDefendingboolean isDefending()
- 
setDefendingvoid setDefending(boolean p_28623_) 
- 
isSleepingpublic boolean isSleeping()- Overrides:
- isSleepingin class- LivingEntity
 
- 
setSleepingvoid setSleeping(boolean p_28627_) 
- 
setFlagprivate void setFlag(int p_28533_, boolean p_28534_) 
- 
getFlagprivate boolean getFlag(int p_28609_) 
- 
canTakeItem- Overrides:
- canTakeItemin class- Mob
 
- 
canHoldItem- Overrides:
- canHoldItemin class- Mob
 
- 
spitOutItem
- 
dropItemStack
- 
pickUpItem- Overrides:
- pickUpItemin class- Mob
 
- 
tickpublic void tick()
- 
isFood
- 
onOffspringSpawnedFromEgg- Overrides:
- onOffspringSpawnedFromEggin class- Mob
 
- 
isPouncingpublic boolean isPouncing()
- 
setIsPouncingpublic void setIsPouncing(boolean p_28613_) 
- 
isJumpingpublic boolean isJumping()
- 
isFullyCrouchedpublic boolean isFullyCrouched()
- 
setIsCrouchingpublic void setIsCrouching(boolean p_28615_) 
- 
isCrouchingpublic boolean isCrouching()- Overrides:
- isCrouchingin class- Entity
 
- 
setIsInterestedpublic void setIsInterested(boolean p_28617_) 
- 
isInterestedpublic boolean isInterested()
- 
getHeadRollAnglepublic float getHeadRollAngle(float p_28621_) 
- 
getCrouchAmountpublic float getCrouchAmount(float p_28625_) 
- 
setTarget
- 
calculateFallDamageprotected int calculateFallDamage(float p_28545_, float p_28546_) - Overrides:
- calculateFallDamagein class- LivingEntity
 
- 
wakeUpvoid wakeUp()
- 
clearStatesvoid clearStates()
- 
canMoveboolean canMove()
- 
playAmbientSoundpublic void playAmbientSound()- Overrides:
- playAmbientSoundin class- Mob
 
- 
getAmbientSound- Overrides:
- getAmbientSoundin class- Mob
 
- 
getHurtSound- Overrides:
- getHurtSoundin class- LivingEntity
 
- 
getDeathSound- Overrides:
- getDeathSoundin class- LivingEntity
 
- 
trusts
- 
dropAllDeathLoot- Overrides:
- dropAllDeathLootin class- LivingEntity
 
- 
dropEquipmentprotected void dropEquipment()- Overrides:
- dropEquipmentin class- LivingEntity
 
- 
getPassengerAttachmentPointprotected org.joml.Vector3f getPassengerAttachmentPoint(Entity p_301360_, EntityDimensions p_299584_, float p_299082_) - Overrides:
- getPassengerAttachmentPointin class- Entity
 
- 
isPathClear
- 
getLeashOffset- Overrides:
- getLeashOffsetin class- Entity
 
 
-