Class FoxEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,EquipmentHolder,Leashable,Targeter,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/passive/FoxEntityintermediary net/minecraft/class_4019official cjf
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classprivate classprivate classprivate classclassprivate classprivate static classstatic classclassprivate classprivate classprivate classclassprivate classprivate classprivate classprivate classprivate classprivate classstatic enumclassNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.LeashData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final EntityDimensionsstatic final intstatic final intprivate static final intprivate int(package private) floatprivate Goalprivate Goalprivate Goalprivate static final TrackedData<Byte> private float(package private) floatprivate floatprivate static final TrackedData<Optional<LazyEntityReference<LivingEntity>>> private static final TrackedData<Optional<LazyEntityReference<LivingEntity>>> (package private) static final Predicate<ItemEntity> static final intprivate static final intprivate static final intprivate static final TrackedData<Integer> private static final intFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, experiencePoints, field_35039, goalSelector, jumpControl, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_NBT_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, EQUIPMENT_SLOT_ID, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, interpolator, itemUseTimeLeft, jumping, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.Leashable
LEASH_NBT_KEY, MAX_LEASH_LENGTH, SHORT_LEASH_LENGTHFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprotected booleanprivate booleanstatic booleancanJumpChase(FoxEntity fox, LivingEntity chasedEntity) booleancanPickupItem(ItemStack stack) static booleancanSpawn(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) (package private) booleancanTrust(LivingEntity entity) protected voidcreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity) protected voiddrop(ServerWorld world, DamageSource damageSource) private void<T> Tget(ComponentType<? extends T> type) protected @Nullable SoundEventgetBaseDimensions(EntityPose pose) floatgetBodyRotationHeightOffset(float tickProgress) protected @Nullable SoundEventprivate booleangetFoxFlag(int bitmask) floatgetHeadRoll(float tickProgress) protected @Nullable SoundEventgetHurtSound(DamageSource source) Returns the offset from the entity's position where the leash is attached to.(package private) Stream<LazyEntityReference<LivingEntity>> voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected voidinitEquipment(Random random, LocalDifficulty localDifficulty) protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) (package private) booleanbooleanisBreedingItem(ItemStack stack) booleanbooleanprotected booleanbooleanReturns whether the entity is in a crouching pose.booleanbooleanbooleanbooleanbooleanprotected voidloot(ServerWorld world, ItemEntity itemEntity) protected voidonPlayerSpawnedChild(PlayerEntity player, MobEntity child) voidprotected voidvoidReads custom data fromnbt.(package private) voidsetAggressive(boolean aggressive) protected <T> booleansetApplicableComponent(ComponentType<T> type, T value) voidsetChasing(boolean chasing) voidsetCrouching(boolean crouching) private voidsetFoxFlag(int mask, boolean value) voidsetRollingHead(boolean rollingHead) voidsetSitting(boolean sitting) (package private) voidsetSleeping(boolean sleeping) voidsetTarget(@Nullable LivingEntity target) private voidsetVariant(FoxEntity.Variant variant) (package private) voidsetWalking(boolean walking) private void(package private) void(package private) voidvoidtick()Ticks this entity.voidprivate voidtrust(LazyEntityReference<LivingEntity> entity) (package private) voidtrust(LivingEntity entity) (package private) booleanvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canBreedWith, canEat, canImmediatelyDespawn, createAnimalAttributes, eat, getExperienceToDrop, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, interactMob, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
baseTick, breakLongLeash, canActVoluntarily, canBeLeashed, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createEquipmentInventory, createMobAttributes, createNavigation, dropAllEquipment, dropEquipment, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, equipStack, getAttackBox, getBodyArmor, getControllingPassenger, getEquipmentDropChances, getEquipmentForSlot, getEquippedStack, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLimitPerChunk, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onStartPathfinding, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canUseSlot, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damage, damageArmor, damageEquipment, damageHelmet, deserializeBrain, disableExperienceDropping, dropExperience, dropInventory, endCombat, enterCombat, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEquipSound, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isMobOrPlayer, isPartOfGame, isPushable, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, clientDamage, collidesWith, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, queueBlockCollisionCheck, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, setAngles, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, tickBlockCollision, tickPortalCooldown, tickPortalTeleportation, toNbtList, toNbtList, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.entity.EquipmentHolder
getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTableMethods inherited from interface net.minecraft.entity.Leashable
applyLeashElasticity, attachLeash, canLeashAttachTo, detachLeash, detachLeashWithoutDrop, getLeashHolder, isLeashed, mightBeLeashed, readLeashDataFromNbt, setUnresolvedLeashHolderId, writeLeashDataToNbtMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
VARIANT
- Mappings:
Namespace Name Mixin selector named VARIANTLnet/minecraft/entity/passive/FoxEntity;VARIANT:Lnet/minecraft/entity/data/TrackedData;intermediary field_17949Lnet/minecraft/class_4019;field_17949:Lnet/minecraft/class_2940;official bJLcjf;bJ:Lakj;
-
FOX_FLAGS
- Mappings:
Namespace Name Mixin selector named FOX_FLAGSLnet/minecraft/entity/passive/FoxEntity;FOX_FLAGS:Lnet/minecraft/entity/data/TrackedData;intermediary field_17950Lnet/minecraft/class_4019;field_17950:Lnet/minecraft/class_2940;official bKLcjf;bK:Lakj;
-
SITTING_FLAG
private static final int SITTING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SITTING_FLAGLnet/minecraft/entity/passive/FoxEntity;SITTING_FLAG:Iintermediary field_30331Lnet/minecraft/class_4019;field_30331:Iofficial bLLcjf;bL:I
-
CROUCHING_FLAG
public static final int CROUCHING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named CROUCHING_FLAGLnet/minecraft/entity/passive/FoxEntity;CROUCHING_FLAG:Iintermediary field_30328Lnet/minecraft/class_4019;field_30328:Iofficial bFLcjf;bF:I
-
ROLLING_HEAD_FLAG
public static final int ROLLING_HEAD_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named ROLLING_HEAD_FLAGLnet/minecraft/entity/passive/FoxEntity;ROLLING_HEAD_FLAG:Iintermediary field_30329Lnet/minecraft/class_4019;field_30329:Iofficial bGLcjf;bG:I
-
CHASING_FLAG
public static final int CHASING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named CHASING_FLAGLnet/minecraft/entity/passive/FoxEntity;CHASING_FLAG:Iintermediary field_30330Lnet/minecraft/class_4019;field_30330:Iofficial bHLcjf;bH:I
-
SLEEPING_FLAG
private static final int SLEEPING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SLEEPING_FLAGLnet/minecraft/entity/passive/FoxEntity;SLEEPING_FLAG:Iintermediary field_30332Lnet/minecraft/class_4019;field_30332:Iofficial bMLcjf;bM:I
-
WALKING_FLAG
private static final int WALKING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named WALKING_FLAGLnet/minecraft/entity/passive/FoxEntity;WALKING_FLAG:Iintermediary field_30333Lnet/minecraft/class_4019;field_30333:Iofficial bNLcjf;bN:I
-
AGGRESSIVE_FLAG
private static final int AGGRESSIVE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named AGGRESSIVE_FLAGLnet/minecraft/entity/passive/FoxEntity;AGGRESSIVE_FLAG:Iintermediary field_30334Lnet/minecraft/class_4019;field_30334:Iofficial bOLcjf;bO:I
-
OWNER
- Mappings:
Namespace Name Mixin selector named OWNERLnet/minecraft/entity/passive/FoxEntity;OWNER:Lnet/minecraft/entity/data/TrackedData;intermediary field_17951Lnet/minecraft/class_4019;field_17951:Lnet/minecraft/class_2940;official bPLcjf;bP:Lakj;
-
OTHER_TRUSTED
- Mappings:
Namespace Name Mixin selector named OTHER_TRUSTEDLnet/minecraft/entity/passive/FoxEntity;OTHER_TRUSTED:Lnet/minecraft/entity/data/TrackedData;intermediary field_17952Lnet/minecraft/class_4019;field_17952:Lnet/minecraft/class_2940;official bQLcjf;bQ:Lakj;
-
PICKABLE_DROP_FILTER
- Mappings:
Namespace Name Mixin selector named PICKABLE_DROP_FILTERLnet/minecraft/entity/passive/FoxEntity;PICKABLE_DROP_FILTER:Ljava/util/function/Predicate;intermediary field_17953Lnet/minecraft/class_4019;field_17953:Ljava/util/function/Predicate;official bRLcjf;bR:Ljava/util/function/Predicate;
-
JUST_ATTACKED_SOMETHING_FILTER
- Mappings:
Namespace Name Mixin selector named JUST_ATTACKED_SOMETHING_FILTERLnet/minecraft/entity/passive/FoxEntity;JUST_ATTACKED_SOMETHING_FILTER:Ljava/util/function/Predicate;intermediary field_17954Lnet/minecraft/class_4019;field_17954:Ljava/util/function/Predicate;official bSLcjf;bS:Ljava/util/function/Predicate;
-
CHICKEN_AND_RABBIT_FILTER
- Mappings:
Namespace Name Mixin selector named CHICKEN_AND_RABBIT_FILTERLnet/minecraft/entity/passive/FoxEntity;CHICKEN_AND_RABBIT_FILTER:Ljava/util/function/Predicate;intermediary field_17955Lnet/minecraft/class_4019;field_17955:Ljava/util/function/Predicate;official bTLcjf;bT:Ljava/util/function/Predicate;
-
NOTICEABLE_PLAYER_FILTER
- Mappings:
Namespace Name Mixin selector named NOTICEABLE_PLAYER_FILTERLnet/minecraft/entity/passive/FoxEntity;NOTICEABLE_PLAYER_FILTER:Ljava/util/function/Predicate;intermediary field_17956Lnet/minecraft/class_4019;field_17956:Ljava/util/function/Predicate;official bULcjf;bU:Ljava/util/function/Predicate;
-
EATING_DURATION
private static final int EATING_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named EATING_DURATIONLnet/minecraft/entity/passive/FoxEntity;EATING_DURATION:Iintermediary field_30335Lnet/minecraft/class_4019;field_30335:Iofficial bVLcjf;bV:I
-
BABY_BASE_DIMENSIONS
- Mappings:
Namespace Name Mixin selector named BABY_BASE_DIMENSIONSLnet/minecraft/entity/passive/FoxEntity;BABY_BASE_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;intermediary field_47772Lnet/minecraft/class_4019;field_47772:Lnet/minecraft/class_4048;official bWLcjf;bW:Lbwg;
-
followChickenAndRabbitGoal
- Mappings:
Namespace Name Mixin selector named followChickenAndRabbitGoalLnet/minecraft/entity/passive/FoxEntity;followChickenAndRabbitGoal:Lnet/minecraft/entity/ai/goal/Goal;intermediary field_17957Lnet/minecraft/class_4019;field_17957:Lnet/minecraft/class_1352;official bXLcjf;bX:Lcdy;
-
followBabyTurtleGoal
- Mappings:
Namespace Name Mixin selector named followBabyTurtleGoalLnet/minecraft/entity/passive/FoxEntity;followBabyTurtleGoal:Lnet/minecraft/entity/ai/goal/Goal;intermediary field_17958Lnet/minecraft/class_4019;field_17958:Lnet/minecraft/class_1352;official bYLcjf;bY:Lcdy;
-
followFishGoal
- Mappings:
Namespace Name Mixin selector named followFishGoalLnet/minecraft/entity/passive/FoxEntity;followFishGoal:Lnet/minecraft/entity/ai/goal/Goal;intermediary field_17959Lnet/minecraft/class_4019;field_17959:Lnet/minecraft/class_1352;official bZLcjf;bZ:Lcdy;
-
headRollProgress
private float headRollProgress- Mappings:
Namespace Name Mixin selector named headRollProgressLnet/minecraft/entity/passive/FoxEntity;headRollProgress:Fintermediary field_17960Lnet/minecraft/class_4019;field_17960:Fofficial caLcjf;ca:F
-
lastHeadRollProgress
private float lastHeadRollProgress- Mappings:
Namespace Name Mixin selector named lastHeadRollProgressLnet/minecraft/entity/passive/FoxEntity;lastHeadRollProgress:Fintermediary field_17961Lnet/minecraft/class_4019;field_17961:Fofficial cbLcjf;cb:F
-
extraRollingHeight
float extraRollingHeight- Mappings:
Namespace Name Mixin selector named extraRollingHeightLnet/minecraft/entity/passive/FoxEntity;extraRollingHeight:Fintermediary field_17962Lnet/minecraft/class_4019;field_17962:Fofficial ccLcjf;cc:F
-
lastExtraRollingHeight
float lastExtraRollingHeight- Mappings:
Namespace Name Mixin selector named lastExtraRollingHeightLnet/minecraft/entity/passive/FoxEntity;lastExtraRollingHeight:Fintermediary field_17963Lnet/minecraft/class_4019;field_17963:Fofficial cdLcjf;cd:F
-
eatingTime
private int eatingTime- Mappings:
Namespace Name Mixin selector named eatingTimeLnet/minecraft/entity/passive/FoxEntity;eatingTime:Iintermediary field_17964Lnet/minecraft/class_4019;field_17964:Iofficial ceLcjf;ce:I
-
-
Constructor Details
-
FoxEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lbwd;<init>(Lbwm;Ldiv;)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classPassiveEntity- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLbwd;a(Lakn$a;)V
-
initGoals
protected void initGoals() -
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial k_Lbxc;k_()V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobilein classLivingEntity- Mappings:
Namespace Name Mixin selector named isImmobileLnet/minecraft/entity/LivingEntity;isImmobile()Zintermediary method_6062Lnet/minecraft/class_1309;method_6062()Zofficial ffLbxc;ff()Z
-
canEat
- Mappings:
Namespace Name Mixin selector named canEatLnet/minecraft/entity/passive/FoxEntity;canEat(Lnet/minecraft/item/ItemStack;)Zintermediary method_18430Lnet/minecraft/class_4019;method_18430(Lnet/minecraft/class_1799;)Zofficial kLcjf;k(Lcyy;)Z
-
initEquipment
- Overrides:
initEquipmentin classMobEntity- Mappings:
Namespace Name Mixin selector named initEquipmentLnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/LocalDifficulty;)Vintermediary method_5964Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_5819;Lnet/minecraft/class_1266;)Vofficial aLbxe;a(Lazv;Lbtz;)V
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatusin classAnimalEntity- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte). - Mappings:
Namespace Name Mixin selector named handleStatusLnet/minecraft/entity/Entity;handleStatus(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vofficial bLbwd;b(B)V
-
createFoxAttributes
- Mappings:
Namespace Name Mixin selector named createFoxAttributesLnet/minecraft/entity/passive/FoxEntity;createFoxAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_26885Lnet/minecraft/class_4019;method_26885()Lnet/minecraft/class_5132$class_5133;official qLcjf;q()Lbyh$a;
-
createChild
@Nullable public @Nullable FoxEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) - Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector named createChildLnet/minecraft/entity/passive/FoxEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/FoxEntity;intermediary method_18260Lnet/minecraft/class_4019;method_18260(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4019;official bLcjf;b(Larq;Lbvt;)Lcjf;
-
canSpawn
public static boolean canSpawn(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector named canSpawnLnet/minecraft/entity/passive/FoxEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Zintermediary method_39449Lnet/minecraft/class_4019;method_39449(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Zofficial cLcjf;c(Lbwm;Ldiw;Lbwl;Liu;Lazv;)Z
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector 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/entity/EntityData;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_1315;official aLbxe;a(Ldjm;Lbtz;Lbwl;Lbxu;)Lbxu;
-
addTypeSpecificGoals
private void addTypeSpecificGoals()- Mappings:
Namespace Name Mixin selector named addTypeSpecificGoalsLnet/minecraft/entity/passive/FoxEntity;addTypeSpecificGoals()Vintermediary method_18280Lnet/minecraft/class_4019;method_18280()Vofficial gCLcjf;gC()V
-
playEatSound
protected void playEatSound()- Overrides:
playEatSoundin classAnimalEntity- Mappings:
Namespace Name Mixin selector named playEatSoundLnet/minecraft/entity/passive/AnimalEntity;playEatSound()Vintermediary method_61458Lnet/minecraft/class_1429;method_61458()Vofficial gwLcis;gw()V
-
getBaseDimensions
- Overrides:
getBaseDimensionsin classLivingEntity- Mappings:
Namespace Name Mixin selector named getBaseDimensionsLnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;intermediary method_55694Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;official eLbxc;e(Lbxo;)Lbwg;
-
getVariant
- Mappings:
Namespace Name Mixin selector named getVariantLnet/minecraft/entity/passive/FoxEntity;getVariant()Lnet/minecraft/entity/passive/FoxEntity$Variant;intermediary method_47845Lnet/minecraft/class_4019;method_47845()Lnet/minecraft/class_4019$class_4039;official tLcjf;t()Lcjf$v;
-
setVariant
- Mappings:
Namespace Name Mixin selector named setVariantLnet/minecraft/entity/passive/FoxEntity;setVariant(Lnet/minecraft/entity/passive/FoxEntity$Variant;)Vintermediary method_47844Lnet/minecraft/class_4019;method_47844(Lnet/minecraft/class_4019$class_4039;)Vofficial aLcjf;a(Lcjf$v;)V
-
get
- Specified by:
getin interfaceComponentsAccess- Overrides:
getin classEntity- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/component/ComponentsAccess;get(Lnet/minecraft/component/ComponentType;)Ljava/lang/Object;intermediary method_58694Lnet/minecraft/class_9473;method_58694(Lnet/minecraft/class_9331;)Ljava/lang/Object;official aLke;a(Lki;)Ljava/lang/Object;
-
copyComponentsFrom
- Overrides:
copyComponentsFromin classEntity- Mappings:
Namespace Name Mixin selector named copyComponentsFromLnet/minecraft/entity/Entity;copyComponentsFrom(Lnet/minecraft/component/ComponentsAccess;)Vintermediary method_66649Lnet/minecraft/class_1297;method_66649(Lnet/minecraft/class_9473;)Vofficial aLbwd;a(Lke;)V
-
setApplicableComponent
- Overrides:
setApplicableComponentin classEntity- Mappings:
Namespace Name Mixin selector named setApplicableComponentLnet/minecraft/entity/Entity;setApplicableComponent(Lnet/minecraft/component/ComponentType;Ljava/lang/Object;)Zintermediary method_66654Lnet/minecraft/class_1297;method_66654(Lnet/minecraft/class_9331;Ljava/lang/Object;)Zofficial bLbwd;b(Lki;Ljava/lang/Object;)Z
-
getTrustedEntities
Stream<LazyEntityReference<LivingEntity>> getTrustedEntities()- Mappings:
Namespace Name Mixin selector named getTrustedEntitiesLnet/minecraft/entity/passive/FoxEntity;getTrustedEntities()Ljava/util/stream/Stream;intermediary method_66293Lnet/minecraft/class_4019;method_66293()Ljava/util/stream/Stream;official gDLcjf;gD()Ljava/util/stream/Stream;
-
trust
- Mappings:
Namespace Name Mixin selector named trustLnet/minecraft/entity/passive/FoxEntity;trust(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_66294Lnet/minecraft/class_4019;method_66294(Lnet/minecraft/class_1309;)Vofficial iLcjf;i(Lbxc;)V
-
trust
- Mappings:
Namespace Name Mixin selector named trustLnet/minecraft/entity/passive/FoxEntity;trust(Lnet/minecraft/entity/LazyEntityReference;)Vintermediary method_66290Lnet/minecraft/class_4019;method_66290(Lnet/minecraft/class_10583;)Vofficial aLcjf;a(Lbwj;)V
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbtin classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vofficial bLbwd;b(Ltz;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbtin classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vofficial aLbwd;a(Ltz;)V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector named isSittingLnet/minecraft/entity/passive/FoxEntity;isSitting()Zintermediary method_18272Lnet/minecraft/class_4019;method_18272()Zofficial xLcjf;x()Z
-
setSitting
public void setSitting(boolean sitting) - Mappings:
Namespace Name Mixin selector named setSittingLnet/minecraft/entity/passive/FoxEntity;setSitting(Z)Vintermediary method_18294Lnet/minecraft/class_4019;method_18294(Z)Vofficial wLcjf;w(Z)V
-
isWalking
public boolean isWalking()- Mappings:
Namespace Name Mixin selector named isWalkingLnet/minecraft/entity/passive/FoxEntity;isWalking()Zintermediary method_18273Lnet/minecraft/class_4019;method_18273()Zofficial gqLcjf;gq()Z
-
setWalking
void setWalking(boolean walking) - Mappings:
Namespace Name Mixin selector named setWalkingLnet/minecraft/entity/passive/FoxEntity;setWalking(Z)Vintermediary method_18295Lnet/minecraft/class_4019;method_18295(Z)Vofficial ALcjf;A(Z)V
-
isAggressive
boolean isAggressive()- Mappings:
Namespace Name Mixin selector named isAggressiveLnet/minecraft/entity/passive/FoxEntity;isAggressive()Zintermediary method_18282Lnet/minecraft/class_4019;method_18282()Zofficial gELcjf;gE()Z
-
setAggressive
void setAggressive(boolean aggressive) - Mappings:
Namespace Name Mixin selector named setAggressiveLnet/minecraft/entity/passive/FoxEntity;setAggressive(Z)Vintermediary method_18301Lnet/minecraft/class_4019;method_18301(Z)Vofficial BLcjf;B(Z)V
-
isSleeping
public boolean isSleeping()- Overrides:
isSleepingin classLivingEntity- Mappings:
Namespace Name Mixin selector named isSleepingLnet/minecraft/entity/LivingEntity;isSleeping()Zintermediary method_6113Lnet/minecraft/class_1309;method_6113()Zofficial fQLbxc;fQ()Z
-
setSleeping
void setSleeping(boolean sleeping) - Mappings:
Namespace Name Mixin selector named setSleepingLnet/minecraft/entity/passive/FoxEntity;setSleeping(Z)Vintermediary method_18302Lnet/minecraft/class_4019;method_18302(Z)Vofficial CLcjf;C(Z)V
-
setFoxFlag
private void setFoxFlag(int mask, boolean value) - Mappings:
Namespace Name Mixin selector named setFoxFlagLnet/minecraft/entity/passive/FoxEntity;setFoxFlag(IZ)Vintermediary method_18269Lnet/minecraft/class_4019;method_18269(IZ)Vofficial dLcjf;d(IZ)V
-
getFoxFlag
private boolean getFoxFlag(int bitmask) - Mappings:
Namespace Name Mixin selector named getFoxFlagLnet/minecraft/entity/passive/FoxEntity;getFoxFlag(I)Zintermediary method_18293Lnet/minecraft/class_4019;method_18293(I)Zofficial sLcjf;s(I)Z
-
canDispenserEquipSlot
- Overrides:
canDispenserEquipSlotin classMobEntity- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlotLnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_63626Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Zofficial fLbxc;f(Lbwn;)Z
-
canPickupItem
- Overrides:
canPickupItemin classMobEntity- Mappings:
Namespace Name Mixin selector named canPickupItemLnet/minecraft/entity/mob/MobEntity;canPickupItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_5939Lnet/minecraft/class_1308;method_5939(Lnet/minecraft/class_1799;)Zofficial hLbxe;h(Lcyy;)Z
-
spit
- Mappings:
Namespace Name Mixin selector named spitLnet/minecraft/entity/passive/FoxEntity;spit(Lnet/minecraft/item/ItemStack;)Vintermediary method_18289Lnet/minecraft/class_4019;method_18289(Lnet/minecraft/class_1799;)Vofficial lLcjf;l(Lcyy;)V
-
dropItem
- Mappings:
Namespace Name Mixin selector named dropItemLnet/minecraft/entity/passive/FoxEntity;dropItem(Lnet/minecraft/item/ItemStack;)Vintermediary method_18291Lnet/minecraft/class_4019;method_18291(Lnet/minecraft/class_1799;)Vofficial mLcjf;m(Lcyy;)V
-
loot
- Overrides:
lootin classMobEntity- Mappings:
Namespace Name Mixin selector named lootLnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/ItemEntity;)Vintermediary method_5949Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_3218;Lnet/minecraft/class_1542;)Vofficial aLbxe;a(Larq;Lcnd;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classMobEntity- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
MobEntity.baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial hLbwd;h()V
-
isBreedingItem
- Specified by:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector named isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Zofficial jLcis;j(Lcyy;)Z
-
onPlayerSpawnedChild
- Overrides:
onPlayerSpawnedChildin classMobEntity- Mappings:
Namespace Name Mixin selector named onPlayerSpawnedChildLnet/minecraft/entity/mob/MobEntity;onPlayerSpawnedChild(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/mob/MobEntity;)Vintermediary method_18249Lnet/minecraft/class_1308;method_18249(Lnet/minecraft/class_1657;Lnet/minecraft/class_1308;)Vofficial aLbxe;a(Lcqy;Lbxe;)V
-
isChasing
public boolean isChasing()- Mappings:
Namespace Name Mixin selector named isChasingLnet/minecraft/entity/passive/FoxEntity;isChasing()Zintermediary method_18274Lnet/minecraft/class_4019;method_18274()Zofficial grLcjf;gr()Z
-
setChasing
public void setChasing(boolean chasing) - Mappings:
Namespace Name Mixin selector named setChasingLnet/minecraft/entity/passive/FoxEntity;setChasing(Z)Vintermediary method_18296Lnet/minecraft/class_4019;method_18296(Z)Vofficial xLcjf;x(Z)V
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector named isJumpingLnet/minecraft/entity/passive/FoxEntity;isJumping()Zintermediary method_35172Lnet/minecraft/class_4019;method_35172()Zofficial gsLcjf;gs()Z
-
isFullyCrouched
public boolean isFullyCrouched()- Mappings:
Namespace Name Mixin selector named isFullyCrouchedLnet/minecraft/entity/passive/FoxEntity;isFullyCrouched()Zintermediary method_18275Lnet/minecraft/class_4019;method_18275()Zofficial gtLcjf;gt()Z
-
setCrouching
public void setCrouching(boolean crouching) - Mappings:
Namespace Name Mixin selector named setCrouchingLnet/minecraft/entity/passive/FoxEntity;setCrouching(Z)Vintermediary method_18297Lnet/minecraft/class_4019;method_18297(Z)Vofficial yLcjf;y(Z)V
-
isInSneakingPose
public boolean isInSneakingPose()Returns whether the entity is in a crouching pose.Compared to
Entity.isSneaking(), it only makes the entity appear crouching and does not bring other effects of sneaking, such as no less obvious name label rendering, no dismounting while riding, etc.This is used by vanilla for non-player entities to crouch, such as for foxes and cats. This is also used when the entity is a player and the player would otherwise collide with blocks (for example, when the player is in a 1.5 blocks tall tunnel).
- Overrides:
isInSneakingPosein classEntity- Returns:
- whether the entity is in a crouching pose
- Mappings:
Namespace Name Mixin selector named isInSneakingPoseLnet/minecraft/entity/Entity;isInSneakingPose()Zintermediary method_18276Lnet/minecraft/class_1297;method_18276()Zofficial ciLbwd;ci()Z
-
setRollingHead
public void setRollingHead(boolean rollingHead) - Mappings:
Namespace Name Mixin selector named setRollingHeadLnet/minecraft/entity/passive/FoxEntity;setRollingHead(Z)Vintermediary method_18299Lnet/minecraft/class_4019;method_18299(Z)Vofficial zLcjf;z(Z)V
-
isRollingHead
public boolean isRollingHead()- Mappings:
Namespace Name Mixin selector named isRollingHeadLnet/minecraft/entity/passive/FoxEntity;isRollingHead()Zintermediary method_18277Lnet/minecraft/class_4019;method_18277()Zofficial guLcjf;gu()Z
-
getHeadRoll
public float getHeadRoll(float tickProgress) - Mappings:
Namespace Name Mixin selector named getHeadRollLnet/minecraft/entity/passive/FoxEntity;getHeadRoll(F)Fintermediary method_18298Lnet/minecraft/class_4019;method_18298(F)Fofficial JLcjf;J(F)F
-
getBodyRotationHeightOffset
public float getBodyRotationHeightOffset(float tickProgress) - Mappings:
Namespace Name Mixin selector named getBodyRotationHeightOffsetLnet/minecraft/entity/passive/FoxEntity;getBodyRotationHeightOffset(F)Fintermediary method_18300Lnet/minecraft/class_4019;method_18300(F)Fofficial KLcjf;K(F)F
-
setTarget
-
stopSleeping
void stopSleeping()- Mappings:
Namespace Name Mixin selector named stopSleepingLnet/minecraft/entity/passive/FoxEntity;stopSleeping()Vintermediary method_18283Lnet/minecraft/class_4019;method_18283()Vofficial gFLcjf;gF()V
-
stopActions
void stopActions()- Mappings:
Namespace Name Mixin selector named stopActionsLnet/minecraft/entity/passive/FoxEntity;stopActions()Vintermediary method_18284Lnet/minecraft/class_4019;method_18284()Vofficial gGLcjf;gG()V
-
wantsToPickupItem
boolean wantsToPickupItem()- Mappings:
Namespace Name Mixin selector named wantsToPickupItemLnet/minecraft/entity/passive/FoxEntity;wantsToPickupItem()Zintermediary method_18285Lnet/minecraft/class_4019;method_18285()Zofficial gHLcjf;gH()Z
-
playAmbientSound
public void playAmbientSound()- Overrides:
playAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector named playAmbientSoundLnet/minecraft/entity/mob/MobEntity;playAmbientSound()Vintermediary method_5966Lnet/minecraft/class_1308;method_5966()Vofficial TLbxe;T()V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;official uLbxe;u()Lawm;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official eLbxc;e(Lbus;)Lawm;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official l_Lbxc;l_()Lawm;
-
canTrust
- Mappings:
Namespace Name Mixin selector named canTrustLnet/minecraft/entity/passive/FoxEntity;canTrust(Lnet/minecraft/entity/LivingEntity;)Zintermediary method_18428Lnet/minecraft/class_4019;method_18428(Lnet/minecraft/class_1309;)Zofficial jLcjf;j(Lbxc;)Z
-
drop
- Overrides:
dropin classLivingEntity- Mappings:
Namespace Name Mixin selector named dropLnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_16080Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Vofficial bLbxc;b(Larq;Lbus;)V
-
canJumpChase
- Mappings:
Namespace Name Mixin selector named canJumpChaseLnet/minecraft/entity/passive/FoxEntity;canJumpChase(Lnet/minecraft/entity/passive/FoxEntity;Lnet/minecraft/entity/LivingEntity;)Zintermediary method_18257Lnet/minecraft/class_4019;method_18257(Lnet/minecraft/class_4019;Lnet/minecraft/class_1309;)Zofficial aLcjf;a(Lcjf;Lbxc;)Z
-
getLeashOffset
Returns the offset from the entity's position where the leash is attached to.This is different from
Entity.getLeashPos(float); this method is called on the entity which a leash is attached to.- Overrides:
getLeashOffsetin classEntity- Returns:
- the offset from the entity's position where the leash is attached to
- See Also:
- Mappings:
Namespace Name Mixin selector named getLeashOffsetLnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;official cTLbwd;cT()Lfei;
-