Class FoxEntity
- All Implemented Interfaces:
VariantHolder<FoxEntity.Type>
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bpy
intermediary net/minecraft/class_4019
named net/minecraft/entity/passive/FoxEntity
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
private class
private class
private class
class
private class
private class
static class
class
private class
private class
private class
class
private class
private class
private class
private class
private class
private class
static enum
class
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
static final int
static final int
private static final int
private int
(package private) float
private Goal
private Goal
private Goal
private static final TrackedData<Byte>
private float
(package private) float
private float
private static final TrackedData<Optional<UUID>>
private static final TrackedData<Optional<UUID>>
(package private) static final Predicate<ItemEntity>
static final int
private static final int
private static final int
private static final TrackedData<Integer>
private static final int
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
addTrustedUuid
(@Nullable UUID uuid) private void
private boolean
boolean
static boolean
canJumpChase
(FoxEntity fox, LivingEntity chasedEntity) boolean
canPickupItem
(ItemStack stack) static boolean
canSpawn
(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) (package private) boolean
protected int
computeFallDamage
(float fallDistance, float damageMultiplier) createChild
(ServerWorld serverWorld, PassiveEntity passiveEntity) protected void
drop
(DamageSource source) private void
protected void
eat
(PlayerEntity player, Hand hand, ItemStack stack) protected float
getActiveEyeHeight
(EntityPose pose, EntityDimensions dimensions) protected @Nullable SoundEvent
float
getBodyRotationHeightOffset
(float tickDelta) protected @Nullable SoundEvent
getEatSound
(ItemStack stack) private boolean
getFoxFlag
(int bitmask) float
getHeadRoll
(float tickDelta) protected @Nullable SoundEvent
getHurtSound
(DamageSource source) Returns the offset from the entity's position where the leash is attached to.void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.protected void
Initializes data tracker.protected void
initEquipment
(Random random, LocalDifficulty localDifficulty) protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) (package private) boolean
boolean
isBreedingItem
(ItemStack stack) boolean
boolean
protected boolean
boolean
Returns whether the entity is in a crouching pose.boolean
boolean
boolean
boolean
boolean
protected void
loot
(ItemEntity item) protected void
onPlayerSpawnedChild
(PlayerEntity player, MobEntity child) void
void
Reads custom data fromnbt
.(package private) void
setAggressive
(boolean aggressive) void
setChasing
(boolean chasing) void
setCrouching
(boolean crouching) private void
setFoxFlag
(int mask, boolean value) void
setRollingHead
(boolean rollingHead) void
setSitting
(boolean sitting) (package private) void
setSleeping
(boolean sleeping) void
setTarget
(@Nullable LivingEntity target) void
setVariant
(FoxEntity.Type type) (package private) void
setWalking
(boolean walking) private void
(package private) void
(package private) void
void
tick()
Ticks this entity.void
(package private) boolean
void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, canImmediatelyDespawn, damage, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, getXpToDrop, interactMob, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getSquaredDistanceToAttackPosOf, getTarget, getVisibilityCache, hasPositionTarget, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, movesIndependently, onEatingGrass, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasPrimaryPassenger, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, 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, limitFallDistance, method_45320, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
TYPE
- Mappings:
Namespace Name Mixin selector official cb
Lbpy;cb:Labn;
intermediary field_17949
Lnet/minecraft/class_4019;field_17949:Lnet/minecraft/class_2940;
named TYPE
Lnet/minecraft/entity/passive/FoxEntity;TYPE:Lnet/minecraft/entity/data/TrackedData;
-
FOX_FLAGS
- Mappings:
Namespace Name Mixin selector official cc
Lbpy;cc:Labn;
intermediary field_17950
Lnet/minecraft/class_4019;field_17950:Lnet/minecraft/class_2940;
named FOX_FLAGS
Lnet/minecraft/entity/passive/FoxEntity;FOX_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
SITTING_FLAG
private static final int SITTING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cd
Lbpy;cd:I
intermediary field_30331
Lnet/minecraft/class_4019;field_30331:I
named SITTING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;SITTING_FLAG:I
-
CROUCHING_FLAG
public static final int CROUCHING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official bX
Lbpy;bX:I
intermediary field_30328
Lnet/minecraft/class_4019;field_30328:I
named CROUCHING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;CROUCHING_FLAG:I
-
ROLLING_HEAD_FLAG
public static final int ROLLING_HEAD_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official bY
Lbpy;bY:I
intermediary field_30329
Lnet/minecraft/class_4019;field_30329:I
named ROLLING_HEAD_FLAG
Lnet/minecraft/entity/passive/FoxEntity;ROLLING_HEAD_FLAG:I
-
CHASING_FLAG
public static final int CHASING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official ca
Lbpy;ca:I
intermediary field_30330
Lnet/minecraft/class_4019;field_30330:I
named CHASING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;CHASING_FLAG:I
-
SLEEPING_FLAG
private static final int SLEEPING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official ce
Lbpy;ce:I
intermediary field_30332
Lnet/minecraft/class_4019;field_30332:I
named SLEEPING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;SLEEPING_FLAG:I
-
WALKING_FLAG
private static final int WALKING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cf
Lbpy;cf:I
intermediary field_30333
Lnet/minecraft/class_4019;field_30333:I
named WALKING_FLAG
Lnet/minecraft/entity/passive/FoxEntity;WALKING_FLAG:I
-
AGGRESSIVE_FLAG
private static final int AGGRESSIVE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official cg
Lbpy;cg:I
intermediary field_30334
Lnet/minecraft/class_4019;field_30334:I
named AGGRESSIVE_FLAG
Lnet/minecraft/entity/passive/FoxEntity;AGGRESSIVE_FLAG:I
-
OWNER
- Mappings:
Namespace Name Mixin selector official ch
Lbpy;ch:Labn;
intermediary field_17951
Lnet/minecraft/class_4019;field_17951:Lnet/minecraft/class_2940;
named OWNER
Lnet/minecraft/entity/passive/FoxEntity;OWNER:Lnet/minecraft/entity/data/TrackedData;
-
OTHER_TRUSTED
- Mappings:
Namespace Name Mixin selector official ci
Lbpy;ci:Labn;
intermediary field_17952
Lnet/minecraft/class_4019;field_17952:Lnet/minecraft/class_2940;
named OTHER_TRUSTED
Lnet/minecraft/entity/passive/FoxEntity;OTHER_TRUSTED:Lnet/minecraft/entity/data/TrackedData;
-
PICKABLE_DROP_FILTER
- Mappings:
Namespace Name Mixin selector official cj
Lbpy;cj:Ljava/util/function/Predicate;
intermediary field_17953
Lnet/minecraft/class_4019;field_17953:Ljava/util/function/Predicate;
named PICKABLE_DROP_FILTER
Lnet/minecraft/entity/passive/FoxEntity;PICKABLE_DROP_FILTER:Ljava/util/function/Predicate;
-
JUST_ATTACKED_SOMETHING_FILTER
- Mappings:
Namespace Name Mixin selector official ck
Lbpy;ck:Ljava/util/function/Predicate;
intermediary field_17954
Lnet/minecraft/class_4019;field_17954:Ljava/util/function/Predicate;
named JUST_ATTACKED_SOMETHING_FILTER
Lnet/minecraft/entity/passive/FoxEntity;JUST_ATTACKED_SOMETHING_FILTER:Ljava/util/function/Predicate;
-
CHICKEN_AND_RABBIT_FILTER
- Mappings:
Namespace Name Mixin selector official cl
Lbpy;cl:Ljava/util/function/Predicate;
intermediary field_17955
Lnet/minecraft/class_4019;field_17955:Ljava/util/function/Predicate;
named CHICKEN_AND_RABBIT_FILTER
Lnet/minecraft/entity/passive/FoxEntity;CHICKEN_AND_RABBIT_FILTER:Ljava/util/function/Predicate;
-
NOTICEABLE_PLAYER_FILTER
- Mappings:
Namespace Name Mixin selector official cm
Lbpy;cm:Ljava/util/function/Predicate;
intermediary field_17956
Lnet/minecraft/class_4019;field_17956:Ljava/util/function/Predicate;
named NOTICEABLE_PLAYER_FILTER
Lnet/minecraft/entity/passive/FoxEntity;NOTICEABLE_PLAYER_FILTER:Ljava/util/function/Predicate;
-
EATING_DURATION
private static final int EATING_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector official cn
Lbpy;cn:I
intermediary field_30335
Lnet/minecraft/class_4019;field_30335:I
named EATING_DURATION
Lnet/minecraft/entity/passive/FoxEntity;EATING_DURATION:I
-
followChickenAndRabbitGoal
- Mappings:
Namespace Name Mixin selector official co
Lbpy;co:Lbky;
intermediary field_17957
Lnet/minecraft/class_4019;field_17957:Lnet/minecraft/class_1352;
named followChickenAndRabbitGoal
Lnet/minecraft/entity/passive/FoxEntity;followChickenAndRabbitGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
followBabyTurtleGoal
- Mappings:
Namespace Name Mixin selector official cp
Lbpy;cp:Lbky;
intermediary field_17958
Lnet/minecraft/class_4019;field_17958:Lnet/minecraft/class_1352;
named followBabyTurtleGoal
Lnet/minecraft/entity/passive/FoxEntity;followBabyTurtleGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
followFishGoal
- Mappings:
Namespace Name Mixin selector official cq
Lbpy;cq:Lbky;
intermediary field_17959
Lnet/minecraft/class_4019;field_17959:Lnet/minecraft/class_1352;
named followFishGoal
Lnet/minecraft/entity/passive/FoxEntity;followFishGoal:Lnet/minecraft/entity/ai/goal/Goal;
-
headRollProgress
private float headRollProgress- Mappings:
Namespace Name Mixin selector official cr
Lbpy;cr:F
intermediary field_17960
Lnet/minecraft/class_4019;field_17960:F
named headRollProgress
Lnet/minecraft/entity/passive/FoxEntity;headRollProgress:F
-
lastHeadRollProgress
private float lastHeadRollProgress- Mappings:
Namespace Name Mixin selector official cs
Lbpy;cs:F
intermediary field_17961
Lnet/minecraft/class_4019;field_17961:F
named lastHeadRollProgress
Lnet/minecraft/entity/passive/FoxEntity;lastHeadRollProgress:F
-
extraRollingHeight
float extraRollingHeight- Mappings:
Namespace Name Mixin selector official ct
Lbpy;ct:F
intermediary field_17962
Lnet/minecraft/class_4019;field_17962:F
named extraRollingHeight
Lnet/minecraft/entity/passive/FoxEntity;extraRollingHeight:F
-
lastExtraRollingHeight
float lastExtraRollingHeight- Mappings:
Namespace Name Mixin selector official cu
Lbpy;cu:F
intermediary field_17963
Lnet/minecraft/class_4019;field_17963:F
named lastExtraRollingHeight
Lnet/minecraft/entity/passive/FoxEntity;lastExtraRollingHeight:F
-
eatingTime
private int eatingTime- Mappings:
Namespace Name Mixin selector official cv
Lbpy;cv:I
intermediary field_17964
Lnet/minecraft/class_4019;field_17964:I
named eatingTime
Lnet/minecraft/entity/passive/FoxEntity;eatingTime:I
-
-
Constructor Details
-
FoxEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbdr;<init>(Lbdv;Lcjw;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTracker
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbdr;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
initGoals
protected void initGoals() -
getEatSound
- Overrides:
getEatSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official e
Lbeg;e(Lcdt;)Laln;
intermediary method_18869
Lnet/minecraft/class_1309;method_18869(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
named getEatSound
Lnet/minecraft/entity/LivingEntity;getEatSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official b_
Lbeg;b_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eK
Lbeg;eK()Z
intermediary method_6062
Lnet/minecraft/class_1309;method_6062()Z
named isImmobile
Lnet/minecraft/entity/LivingEntity;isImmobile()Z
-
canEat
- Mappings:
Namespace Name Mixin selector official m
Lbpy;m(Lcdt;)Z
intermediary method_18430
Lnet/minecraft/class_4019;method_18430(Lnet/minecraft/class_1799;)Z
named canEat
Lnet/minecraft/entity/passive/FoxEntity;canEat(Lnet/minecraft/item/ItemStack;)Z
-
initEquipment
- Overrides:
initEquipment
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Lbei;a(Laoh;Lbck;)V
intermediary method_5964
Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_5819;Lnet/minecraft/class_1266;)V
named initEquipment
Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/LocalDifficulty;)V
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatus
in classAnimalEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbdr;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
createFoxAttributes
- Mappings:
Namespace Name Mixin selector official p
Lbpy;p()Lbfi$a;
intermediary method_26885
Lnet/minecraft/class_4019;method_26885()Lnet/minecraft/class_5132$class_5133;
named createFoxAttributes
Lnet/minecraft/entity/passive/FoxEntity;createFoxAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
createChild
@Nullable public @Nullable FoxEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) - Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official b
Lbpy;b(Lahm;Lbdo;)Lbpy;
intermediary method_18260
Lnet/minecraft/class_4019;method_18260(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4019;
named createChild
Lnet/minecraft/entity/passive/FoxEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/FoxEntity;
-
canSpawn
public static boolean canSpawn(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official c
Lbpy;c(Lbdv;Lcjx;Lbek;Lgp;Laoh;)Z
intermediary method_39449
Lnet/minecraft/class_4019;method_39449(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
named canSpawn
Lnet/minecraft/entity/passive/FoxEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initialize
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Lbei;a(Lckl;Lbck;Lbek;Lbez;Lqp;)Lbez;
intermediary method_5943
Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
named initialize
Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
addTypeSpecificGoals
private void addTypeSpecificGoals()- Mappings:
Namespace Name Mixin selector official fX
Lbpy;fX()V
intermediary method_18280
Lnet/minecraft/class_4019;method_18280()V
named addTypeSpecificGoals
Lnet/minecraft/entity/passive/FoxEntity;addTypeSpecificGoals()V
-
eat
- Overrides:
eat
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Lbpo;a(Lbwp;Lbcl;Lcdt;)V
intermediary method_6475
Lnet/minecraft/class_1429;method_6475(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)V
named eat
Lnet/minecraft/entity/passive/AnimalEntity;eat(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)V
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeight
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbeg;b(Lbes;Lbds;)F
intermediary method_18394
Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getActiveEyeHeight
Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
getVariant
- Specified by:
getVariant
in interfaceVariantHolder<FoxEntity.Type>
- Mappings:
Namespace Name Mixin selector official t
Lbpy;t()Lbpy$v;
intermediary method_47845
Lnet/minecraft/class_4019;method_47845()Lnet/minecraft/class_4019$class_4039;
named getVariant
Lnet/minecraft/entity/passive/FoxEntity;getVariant()Lnet/minecraft/entity/passive/FoxEntity$Type;
-
setVariant
- Specified by:
setVariant
in interfaceVariantHolder<FoxEntity.Type>
- Mappings:
Namespace Name Mixin selector official a
Lbpy;a(Lbpy$v;)V
intermediary method_47844
Lnet/minecraft/class_4019;method_47844(Lnet/minecraft/class_4019$class_4039;)V
named setVariant
Lnet/minecraft/entity/passive/FoxEntity;setVariant(Lnet/minecraft/entity/passive/FoxEntity$Type;)V
-
getTrustedUuids
- Mappings:
Namespace Name Mixin selector official fY
Lbpy;fY()Ljava/util/List;
intermediary method_18281
Lnet/minecraft/class_4019;method_18281()Ljava/util/List;
named getTrustedUuids
Lnet/minecraft/entity/passive/FoxEntity;getTrustedUuids()Ljava/util/List;
-
addTrustedUuid
- Mappings:
Namespace Name Mixin selector official b
Lbpy;b(Ljava/util/UUID;)V
intermediary method_18266
Lnet/minecraft/class_4019;method_18266(Ljava/util/UUID;)V
named addTrustedUuid
Lnet/minecraft/entity/passive/FoxEntity;addTrustedUuid(Ljava/util/UUID;)V
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses has 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:
writeCustomDataToNbt
in classAnimalEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbdr;b(Lqp;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses has 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.
nbt
might 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:
readCustomDataFromNbt
in classAnimalEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbdr;a(Lqp;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
isSitting
public boolean isSitting()- Mappings:
Namespace Name Mixin selector official fM
Lbpy;fM()Z
intermediary method_18272
Lnet/minecraft/class_4019;method_18272()Z
named isSitting
Lnet/minecraft/entity/passive/FoxEntity;isSitting()Z
-
setSitting
public void setSitting(boolean sitting) - Mappings:
Namespace Name Mixin selector official v
Lbpy;v(Z)V
intermediary method_18294
Lnet/minecraft/class_4019;method_18294(Z)V
named setSitting
Lnet/minecraft/entity/passive/FoxEntity;setSitting(Z)V
-
isWalking
public boolean isWalking()- Mappings:
Namespace Name Mixin selector official fN
Lbpy;fN()Z
intermediary method_18273
Lnet/minecraft/class_4019;method_18273()Z
named isWalking
Lnet/minecraft/entity/passive/FoxEntity;isWalking()Z
-
setWalking
void setWalking(boolean walking) - Mappings:
Namespace Name Mixin selector official z
Lbpy;z(Z)V
intermediary method_18295
Lnet/minecraft/class_4019;method_18295(Z)V
named setWalking
Lnet/minecraft/entity/passive/FoxEntity;setWalking(Z)V
-
isAggressive
boolean isAggressive()- Mappings:
Namespace Name Mixin selector official fZ
Lbpy;fZ()Z
intermediary method_18282
Lnet/minecraft/class_4019;method_18282()Z
named isAggressive
Lnet/minecraft/entity/passive/FoxEntity;isAggressive()Z
-
setAggressive
void setAggressive(boolean aggressive) - Mappings:
Namespace Name Mixin selector official A
Lbpy;A(Z)V
intermediary method_18301
Lnet/minecraft/class_4019;method_18301(Z)V
named setAggressive
Lnet/minecraft/entity/passive/FoxEntity;setAggressive(Z)V
-
isSleeping
public boolean isSleeping()- Overrides:
isSleeping
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official fp
Lbeg;fp()Z
intermediary method_6113
Lnet/minecraft/class_1309;method_6113()Z
named isSleeping
Lnet/minecraft/entity/LivingEntity;isSleeping()Z
-
setSleeping
void setSleeping(boolean sleeping) - Mappings:
Namespace Name Mixin selector official B
Lbpy;B(Z)V
intermediary method_18302
Lnet/minecraft/class_4019;method_18302(Z)V
named setSleeping
Lnet/minecraft/entity/passive/FoxEntity;setSleeping(Z)V
-
setFoxFlag
private void setFoxFlag(int mask, boolean value) - Mappings:
Namespace Name Mixin selector official d
Lbpy;d(IZ)V
intermediary method_18269
Lnet/minecraft/class_4019;method_18269(IZ)V
named setFoxFlag
Lnet/minecraft/entity/passive/FoxEntity;setFoxFlag(IZ)V
-
getFoxFlag
private boolean getFoxFlag(int bitmask) - Mappings:
Namespace Name Mixin selector official t
Lbpy;t(I)Z
intermediary method_18293
Lnet/minecraft/class_4019;method_18293(I)Z
named getFoxFlag
Lnet/minecraft/entity/passive/FoxEntity;getFoxFlag(I)Z
-
canEquip
-
canPickupItem
- Overrides:
canPickupItem
in classMobEntity
- Mappings:
Namespace Name Mixin selector official k
Lbei;k(Lcdt;)Z
intermediary method_5939
Lnet/minecraft/class_1308;method_5939(Lnet/minecraft/class_1799;)Z
named canPickupItem
Lnet/minecraft/entity/mob/MobEntity;canPickupItem(Lnet/minecraft/item/ItemStack;)Z
-
spit
- Mappings:
Namespace Name Mixin selector official o
Lbpy;o(Lcdt;)V
intermediary method_18289
Lnet/minecraft/class_4019;method_18289(Lnet/minecraft/class_1799;)V
named spit
Lnet/minecraft/entity/passive/FoxEntity;spit(Lnet/minecraft/item/ItemStack;)V
-
dropItem
- Mappings:
Namespace Name Mixin selector official p
Lbpy;p(Lcdt;)V
intermediary method_18291
Lnet/minecraft/class_4019;method_18291(Lnet/minecraft/class_1799;)V
named dropItem
Lnet/minecraft/entity/passive/FoxEntity;dropItem(Lnet/minecraft/item/ItemStack;)V
-
loot
-
tick
public void tick()Ticks this entity. -
isBreedingItem
- Overrides:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official n
Lbpo;n(Lcdt;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
onPlayerSpawnedChild
- Overrides:
onPlayerSpawnedChild
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Lbei;a(Lbwp;Lbei;)V
intermediary method_18249
Lnet/minecraft/class_1308;method_18249(Lnet/minecraft/class_1657;Lnet/minecraft/class_1308;)V
named onPlayerSpawnedChild
Lnet/minecraft/entity/mob/MobEntity;onPlayerSpawnedChild(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/mob/MobEntity;)V
-
isChasing
public boolean isChasing()- Mappings:
Namespace Name Mixin selector official fO
Lbpy;fO()Z
intermediary method_18274
Lnet/minecraft/class_4019;method_18274()Z
named isChasing
Lnet/minecraft/entity/passive/FoxEntity;isChasing()Z
-
setChasing
public void setChasing(boolean chasing) - Mappings:
Namespace Name Mixin selector official w
Lbpy;w(Z)V
intermediary method_18296
Lnet/minecraft/class_4019;method_18296(Z)V
named setChasing
Lnet/minecraft/entity/passive/FoxEntity;setChasing(Z)V
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector official fU
Lbpy;fU()Z
intermediary method_35172
Lnet/minecraft/class_4019;method_35172()Z
named isJumping
Lnet/minecraft/entity/passive/FoxEntity;isJumping()Z
-
isFullyCrouched
public boolean isFullyCrouched()- Mappings:
Namespace Name Mixin selector official fV
Lbpy;fV()Z
intermediary method_18275
Lnet/minecraft/class_4019;method_18275()Z
named isFullyCrouched
Lnet/minecraft/entity/passive/FoxEntity;isFullyCrouched()Z
-
setCrouching
public void setCrouching(boolean crouching) - Mappings:
Namespace Name Mixin selector official x
Lbpy;x(Z)V
intermediary method_18297
Lnet/minecraft/class_4019;method_18297(Z)V
named setCrouching
Lnet/minecraft/entity/passive/FoxEntity;setCrouching(Z)V
-
isInSneakingPose
public boolean isInSneakingPose()Returns whether the entity is in a crouching pose.Compared to
Entity.isSneaking()
, it only makes the entity appear crouching and does not bring other effects of sneaking, such as no less obvious name label rendering, no dismounting while riding, etc.This is used by vanilla for non-player entities to crouch, such as for foxes and cats. This is also used when the entity is a player and the player would otherwise collide with blocks (for example, when the player is in a 1.5 blocks tall tunnel).
- Overrides:
isInSneakingPose
in classEntity
- Returns:
- whether the entity is in a crouching pose
- Mappings:
Namespace Name Mixin selector official bT
Lbdr;bT()Z
intermediary method_18276
Lnet/minecraft/class_1297;method_18276()Z
named isInSneakingPose
Lnet/minecraft/entity/Entity;isInSneakingPose()Z
-
setRollingHead
public void setRollingHead(boolean rollingHead) - Mappings:
Namespace Name Mixin selector official y
Lbpy;y(Z)V
intermediary method_18299
Lnet/minecraft/class_4019;method_18299(Z)V
named setRollingHead
Lnet/minecraft/entity/passive/FoxEntity;setRollingHead(Z)V
-
isRollingHead
public boolean isRollingHead()- Mappings:
Namespace Name Mixin selector official fW
Lbpy;fW()Z
intermediary method_18277
Lnet/minecraft/class_4019;method_18277()Z
named isRollingHead
Lnet/minecraft/entity/passive/FoxEntity;isRollingHead()Z
-
getHeadRoll
public float getHeadRoll(float tickDelta) - Mappings:
Namespace Name Mixin selector official z
Lbpy;z(F)F
intermediary method_18298
Lnet/minecraft/class_4019;method_18298(F)F
named getHeadRoll
Lnet/minecraft/entity/passive/FoxEntity;getHeadRoll(F)F
-
getBodyRotationHeightOffset
public float getBodyRotationHeightOffset(float tickDelta) - Mappings:
Namespace Name Mixin selector official A
Lbpy;A(F)F
intermediary method_18300
Lnet/minecraft/class_4019;method_18300(F)F
named getBodyRotationHeightOffset
Lnet/minecraft/entity/passive/FoxEntity;getBodyRotationHeightOffset(F)F
-
setTarget
-
computeFallDamage
protected int computeFallDamage(float fallDistance, float damageMultiplier) - Overrides:
computeFallDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official d
Lbeg;d(FF)I
intermediary method_23329
Lnet/minecraft/class_1309;method_23329(FF)I
named computeFallDamage
Lnet/minecraft/entity/LivingEntity;computeFallDamage(FF)I
-
stopSleeping
void stopSleeping()- Mappings:
Namespace Name Mixin selector official ga
Lbpy;ga()V
intermediary method_18283
Lnet/minecraft/class_4019;method_18283()V
named stopSleeping
Lnet/minecraft/entity/passive/FoxEntity;stopSleeping()V
-
stopActions
void stopActions()- Mappings:
Namespace Name Mixin selector official gb
Lbpy;gb()V
intermediary method_18284
Lnet/minecraft/class_4019;method_18284()V
named stopActions
Lnet/minecraft/entity/passive/FoxEntity;stopActions()V
-
wantsToPickupItem
boolean wantsToPickupItem()- Mappings:
Namespace Name Mixin selector official gc
Lbpy;gc()Z
intermediary method_18285
Lnet/minecraft/class_4019;method_18285()Z
named wantsToPickupItem
Lnet/minecraft/entity/passive/FoxEntity;wantsToPickupItem()Z
-
playAmbientSound
public void playAmbientSound()- Overrides:
playAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official L
Lbei;L()V
intermediary method_5966
Lnet/minecraft/class_1308;method_5966()V
named playAmbientSound
Lnet/minecraft/entity/mob/MobEntity;playAmbientSound()V
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official r
Lbei;r()Laln;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbeg;c(Lbcz;)Laln;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c_
Lbeg;c_()Laln;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
canTrust
- Mappings:
Namespace Name Mixin selector official c
Lbpy;c(Ljava/util/UUID;)Z
intermediary method_18428
Lnet/minecraft/class_4019;method_18428(Ljava/util/UUID;)Z
named canTrust
Lnet/minecraft/entity/passive/FoxEntity;canTrust(Ljava/util/UUID;)Z
-
drop
- Overrides:
drop
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official f
Lbeg;f(Lbcz;)V
intermediary method_16080
Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_1282;)V
named drop
Lnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/entity/damage/DamageSource;)V
-
canJumpChase
- Mappings:
Namespace Name Mixin selector official a
Lbpy;a(Lbpy;Lbeg;)Z
intermediary method_18257
Lnet/minecraft/class_4019;method_18257(Lnet/minecraft/class_4019;Lnet/minecraft/class_1309;)Z
named canJumpChase
Lnet/minecraft/entity/passive/FoxEntity;canJumpChase(Lnet/minecraft/entity/passive/FoxEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
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:
getLeashOffset
in classEntity
- Returns:
- the offset from the entity's position where the leash is attached to
- See Also:
- Mappings:
Namespace Name Mixin selector official cG
Lbdr;cG()Leae;
intermediary method_29919
Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;
named getLeashOffset
Lnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
-