Class ParrotEntity
- All Implemented Interfaces:
- Attackable,- Flutterer,- Tameable,- Targeter,- VariantHolder<ParrotEntity.Variant>,- CommandOutput,- Nameable,- EntityLike
- Mappings:
- Namespace - Name - official - bsb- intermediary - net/minecraft/class_1453- named - net/minecraft/entity/passive/ParrotEntity
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static classstatic enumNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntityPassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntityLivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.EntityEntity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Itemprivate floatfloatprivate floatfloat(package private) static final Map<EntityType<?>,SoundEvent> floatfloatprivate booleanprivate static final TrackedData<Integer>Fields inherited from class net.minecraft.entity.passive.TameableEntityOWNER_UUID, TAMEABLE_FLAGSFields inherited from class net.minecraft.entity.passive.AnimalEntityBREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntityBABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntityDEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntityambientSoundChance, 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, targetSelectorFields inherited from class net.minecraft.entity.LivingEntityactiveItemStack, 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, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, 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_FLAGFields inherited from class net.minecraft.entity.Entityage, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutputDUMMY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidAdds the effects of this entity flapping, usually to the world the entity is in.booleancanBreedWith(AnimalEntity other) static booleancanSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) createChild(ServerWorld world, PassiveEntity entity) protected EntityNavigationcreateNavigation(World world) booleandamage(DamageSource source, float amount) Applies a damage to this entity.protected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private voidprotected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) protected SoundEventprotected SoundEventgetHurtSound(DamageSource source) Returns the offset from the entity's position where the leash is attached to.static SoundEventgetRandomSound(World world, Random random) private static SoundEventgetSound(EntityType<?> imitate) Returns the sound category for sounds from this entity.floatstatic floatgetSoundPitch(Random random) static booleanimitateNearbyMob(World world, Entity parrot) protected voidInitializes data tracker.protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) interactMob(PlayerEntity player, Hand hand) booleanisBaby()booleanisBreedingItem(ItemStack stack) protected booleanReturns whether the entity is flapping their wings.booleanisInAir()booleanReturns whether the entity can be pushed by other entities.booleanprotected voidplayStepSound(BlockPos pos, BlockState state) protected voidvoidReads custom data fromnbt.voidsetNearbySongPlaying(BlockPos songPosition, boolean playing) voidsetVariant(ParrotEntity.Variant variant) voidbooleanvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.passive.TameableShoulderEntityisReadyToSitOnPlayer, mountOnto, tickMethods inherited from class net.minecraft.entity.passive.TameableEntitycanAttackWithOwner, canBeLeashedBy, canTarget, getOwnerUuid, getScoreboardTeam, handleStatus, isInSittingPose, isOwner, isSitting, isTamed, isTeammate, onDeath, onTamedChanged, setInSittingPose, setOwner, setOwnerUuid, setSitting, setTamed, showEmoteParticleMethods inherited from class net.minecraft.entity.passive.AnimalEntitybreed, breed, canEat, canImmediatelyDespawn, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, getXpToDrop, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntitygetBreedingAge, growUp, growUp, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntitycanSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntityattachLeash, baseTick, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootTable, getLootTableId, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getSquaredDistanceToAttackPosOf, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntityaddPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canUsePortals, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRandom, getRecentDamageSource, getRoll, getSaddledSpeed, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAwayFrom, remove, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNoDrag, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.EntityaddAirTravelEffects, addCommandTag, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, 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, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, 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, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getServer, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, limitFallDistance, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, 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, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutputcannotBeSilencedMethods inherited from interface net.minecraft.entity.TameablegetOwner, method_48926
- 
Field Details- 
VARIANT- Mappings:
- Namespace - Name - Mixin selector - official - ca- Lbsb;ca:Laby;- intermediary - field_6826- Lnet/minecraft/class_1453;field_6826:Lnet/minecraft/class_2940;- named - VARIANT- Lnet/minecraft/entity/passive/ParrotEntity;VARIANT:Lnet/minecraft/entity/data/TrackedData;
 
- 
CAN_IMITATE- Mappings:
- Namespace - Name - Mixin selector - official - cb- Lbsb;cb:Ljava/util/function/Predicate;- intermediary - field_6821- Lnet/minecraft/class_1453;field_6821:Ljava/util/function/Predicate;- named - CAN_IMITATE- Lnet/minecraft/entity/passive/ParrotEntity;CAN_IMITATE:Ljava/util/function/Predicate;
 
- 
COOKIE- Mappings:
- Namespace - Name - Mixin selector - official - cc- Lbsb;cc:Lcfu;- intermediary - field_6828- Lnet/minecraft/class_1453;field_6828:Lnet/minecraft/class_1792;- named - COOKIE- Lnet/minecraft/entity/passive/ParrotEntity;COOKIE:Lnet/minecraft/item/Item;
 
- 
TAMING_INGREDIENTS- Mappings:
- Namespace - Name - Mixin selector - official - cd- Lbsb;cd:Ljava/util/Set;- intermediary - field_6825- Lnet/minecraft/class_1453;field_6825:Ljava/util/Set;- named - TAMING_INGREDIENTS- Lnet/minecraft/entity/passive/ParrotEntity;TAMING_INGREDIENTS:Ljava/util/Set;
 
- 
MOB_SOUNDS- Mappings:
- Namespace - Name - Mixin selector - official - ce- Lbsb;ce:Ljava/util/Map;- intermediary - field_6822- Lnet/minecraft/class_1453;field_6822:Ljava/util/Map;- named - MOB_SOUNDS- Lnet/minecraft/entity/passive/ParrotEntity;MOB_SOUNDS:Ljava/util/Map;
 
- 
flapProgresspublic float flapProgress- Mappings:
- Namespace - Name - Mixin selector - official - bW- Lbsb;bW:F- intermediary - field_6818- Lnet/minecraft/class_1453;field_6818:F- named - flapProgress- Lnet/minecraft/entity/passive/ParrotEntity;flapProgress:F
 
- 
maxWingDeviationpublic float maxWingDeviation- Mappings:
- Namespace - Name - Mixin selector - official - bX- Lbsb;bX:F- intermediary - field_6819- Lnet/minecraft/class_1453;field_6819:F- named - maxWingDeviation- Lnet/minecraft/entity/passive/ParrotEntity;maxWingDeviation:F
 
- 
prevMaxWingDeviationpublic float prevMaxWingDeviation- Mappings:
- Namespace - Name - Mixin selector - official - bY- Lbsb;bY:F- intermediary - field_6827- Lnet/minecraft/class_1453;field_6827:F- named - prevMaxWingDeviation- Lnet/minecraft/entity/passive/ParrotEntity;prevMaxWingDeviation:F
 
- 
prevFlapProgresspublic float prevFlapProgress- Mappings:
- Namespace - Name - Mixin selector - official - bZ- Lbsb;bZ:F- intermediary - field_6829- Lnet/minecraft/class_1453;field_6829:F- named - prevFlapProgress- Lnet/minecraft/entity/passive/ParrotEntity;prevFlapProgress:F
 
- 
flapSpeedprivate float flapSpeed- Mappings:
- Namespace - Name - Mixin selector - official - cf- Lbsb;cf:F- intermediary - field_6824- Lnet/minecraft/class_1453;field_6824:F- named - flapSpeed- Lnet/minecraft/entity/passive/ParrotEntity;flapSpeed:F
 
- 
field_28640private float field_28640- Mappings:
- Namespace - Name - Mixin selector - official - cg- Lbsb;cg:F- intermediary - field_28640- Lnet/minecraft/class_1453;field_28640:F- named - field_28640- Lnet/minecraft/entity/passive/ParrotEntity;field_28640:F
 
- 
songPlayingprivate boolean songPlaying- Mappings:
- Namespace - Name - Mixin selector - official - ch- Lbsb;ch:Z- intermediary - field_6823- Lnet/minecraft/class_1453;field_6823:Z- named - songPlaying- Lnet/minecraft/entity/passive/ParrotEntity;songPlaying:Z
 
- 
songSource- Mappings:
- Namespace - Name - Mixin selector - official - ci- Lbsb;ci:Lgu;- intermediary - field_6820- Lnet/minecraft/class_1453;field_6820:Lnet/minecraft/class_2338;- named - songSource- Lnet/minecraft/entity/passive/ParrotEntity;songSource:Lnet/minecraft/util/math/BlockPos;
 
 
- 
- 
Constructor Details- 
ParrotEntity- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbfj;<init>(Lbfn;Lcmm;)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- 
initialize@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
- initializein class- PassiveEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbgb;a(Lcnb;Lbdv;Lbgd;Lbgt;Lqr;)Lbgt;- 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;
 
- 
isBabypublic boolean isBaby()- Overrides:
- isBabyin class- PassiveEntity
- Mappings:
- Namespace - Name - Mixin selector - official - h_- Lbfz;h_()Z- intermediary - method_6109- Lnet/minecraft/class_1309;method_6109()Z- named - isBaby- Lnet/minecraft/entity/LivingEntity;isBaby()Z
 
- 
initGoalsprotected void initGoals()
- 
createParrotAttributes- Mappings:
- Namespace - Name - Mixin selector - official - ge- Lbsb;ge()Lbhf$a;- intermediary - method_26889- Lnet/minecraft/class_1453;method_26889()Lnet/minecraft/class_5132$class_5133;- named - createParrotAttributes- Lnet/minecraft/entity/passive/ParrotEntity;createParrotAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
 
- 
getActiveEyeHeight- Overrides:
- getActiveEyeHeightin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfz;b(Lbgl;Lbfk;)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
 
- 
tickMovementpublic void tickMovement()- Overrides:
- tickMovementin class- AnimalEntity
- Mappings:
- Namespace - Name - Mixin selector - official - b_- Lbfz;b_()V- intermediary - method_6007- Lnet/minecraft/class_1309;method_6007()V- named - tickMovement- Lnet/minecraft/entity/LivingEntity;tickMovement()V
 
- 
setNearbySongPlaying- Overrides:
- setNearbySongPlayingin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfz;a(Lgu;Z)V- intermediary - method_6006- Lnet/minecraft/class_1309;method_6006(Lnet/minecraft/class_2338;Z)V- named - setNearbySongPlaying- Lnet/minecraft/entity/LivingEntity;setNearbySongPlaying(Lnet/minecraft/util/math/BlockPos;Z)V
 
- 
isSongPlayingpublic boolean isSongPlaying()- Mappings:
- Namespace - Name - Mixin selector - official - gf- Lbsb;gf()Z- intermediary - method_6582- Lnet/minecraft/class_1453;method_6582()Z- named - isSongPlaying- Lnet/minecraft/entity/passive/ParrotEntity;isSongPlaying()Z
 
- 
flapWingsprivate void flapWings()- Mappings:
- Namespace - Name - Mixin selector - official - gi- Lbsb;gi()V- intermediary - method_6578- Lnet/minecraft/class_1453;method_6578()V- named - flapWings- Lnet/minecraft/entity/passive/ParrotEntity;flapWings()V
 
- 
imitateNearbyMob- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbsb;a(Lcmm;Lbfj;)Z- intermediary - method_6587- Lnet/minecraft/class_1453;method_6587(Lnet/minecraft/class_1937;Lnet/minecraft/class_1297;)Z- named - imitateNearbyMob- Lnet/minecraft/entity/passive/ParrotEntity;imitateNearbyMob(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;)Z
 
- 
interactMob- Overrides:
- interactMobin class- AnimalEntity
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbgb;b(Lbyo;Lbdw;)Lbdx;- intermediary - method_5992- Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;- named - interactMob- Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
 
- 
isBreedingItem- Overrides:
- isBreedingItemin class- AnimalEntity
- Mappings:
- Namespace - Name - Mixin selector - official - m- Lbrl;m(Lcfz;)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
 
- 
canSpawnpublic static boolean canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
- Namespace - Name - Mixin selector - official - c- Lbsb;c(Lbfn;Lcmn;Lbgd;Lgu;Lapf;)Z- intermediary - method_20667- Lnet/minecraft/class_1453;method_20667(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/ParrotEntity;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
 
- 
fallprotected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls. Flying mobs should override this to do nothing.- Overrides:
- fallin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(DZLdcb;Lgu;)V- intermediary - method_5623- Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V- named - fall- Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
 
- 
canBreedWith- Overrides:
- canBreedWithin class- AnimalEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbrl;a(Lbrl;)Z- intermediary - method_6474- Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z- named - canBreedWith- Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
 
- 
createChild- Specified by:
- createChildin class- PassiveEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfe;a(Laif;Lbfe;)Lbfe;- intermediary - method_5613- Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;- named - createChild- Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
 
- 
tryAttack
- 
getAmbientSound- Overrides:
- getAmbientSoundin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - s- Lbgb;s()Lamg;- 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;
 
- 
getRandomSound- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbsb;a(Lcmm;Lapf;)Lamg;- intermediary - method_6583- Lnet/minecraft/class_1453;method_6583(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;)Lnet/minecraft/class_3414;- named - getRandomSound- Lnet/minecraft/entity/passive/ParrotEntity;getRandomSound(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/sound/SoundEvent;
 
- 
getSound- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbsb;b(Lbfn;)Lamg;- intermediary - method_6586- Lnet/minecraft/class_1453;method_6586(Lnet/minecraft/class_1299;)Lnet/minecraft/class_3414;- named - getSound- Lnet/minecraft/entity/passive/ParrotEntity;getSound(Lnet/minecraft/entity/EntityType;)Lnet/minecraft/sound/SoundEvent;
 
- 
getHurtSound- Overrides:
- getHurtSoundin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbfz;d(Lben;)Lamg;- 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:
- getDeathSoundin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - g_- Lbfz;g_()Lamg;- intermediary - method_6002- Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;- named - getDeathSound- Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
 
- 
playStepSound- Overrides:
- playStepSoundin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfj;b(Lgu;Ldcb;)V- intermediary - method_5712- Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V- named - playStepSound- Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
 
- 
isFlappingWingsprotected boolean isFlappingWings()Returns whether the entity is flapping their wings.Entities flapping their wings will call Entity.addFlapEffects()insideEntity.addAirTravelEffects().- Overrides:
- isFlappingWingsin class- Entity
- Returns:
- whether the entity is flapping their wings
- Mappings:
- Namespace - Name - Mixin selector - official - aP- Lbfj;aP()Z- intermediary - method_5776- Lnet/minecraft/class_1297;method_5776()Z- named - isFlappingWings- Lnet/minecraft/entity/Entity;isFlappingWings()Z
 
- 
addFlapEffectsprotected void addFlapEffects()Adds the effects of this entity flapping, usually to the world the entity is in.The actual flapping logic should be done in Entity.tick()instead.This is only called when the entity is flapping wings and the entity has any move effect, from Entity.addAirTravelEffects().- Overrides:
- addFlapEffectsin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - aO- Lbfj;aO()V- intermediary - method_5801- Lnet/minecraft/class_1297;method_5801()V- named - addFlapEffects- Lnet/minecraft/entity/Entity;addFlapEffects()V
 
- 
getSoundPitchpublic float getSoundPitch()- Overrides:
- getSoundPitchin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - eS- Lbfz;eS()F- intermediary - method_6017- Lnet/minecraft/class_1309;method_6017()F- named - getSoundPitch- Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
 
- 
getSoundPitch- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbsb;a(Lapf;)F- intermediary - method_6580- Lnet/minecraft/class_1453;method_6580(Lnet/minecraft/class_5819;)F- named - getSoundPitch- Lnet/minecraft/entity/passive/ParrotEntity;getSoundPitch(Lnet/minecraft/util/math/random/Random;)F
 
- 
getSoundCategoryReturns the sound category for sounds from this entity.This is used by Entity.playSound(SoundEvent, float, float)and defaults toSoundCategory.NEUTRAL. Hostile entities should override this to returnSoundCategory.HOSTILE.- Overrides:
- getSoundCategoryin class- Entity
- Returns:
- the sound category for sounds from this entity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - cY- Lbfj;cY()Lami;- intermediary - method_5634- Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;- named - getSoundCategory- Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
 
- 
isPushablepublic boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
- isPushablein class- LivingEntity
- Returns:
- whether the entity can be pushed by other entities
- Mappings:
- Namespace - Name - Mixin selector - official - bp- Lbfj;bp()Z- intermediary - method_5810- Lnet/minecraft/class_1297;method_5810()Z- named - isPushable- Lnet/minecraft/entity/Entity;isPushable()Z
 
- 
pushAway- Overrides:
- pushAwayin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - A- Lbfz;A(Lbfj;)V- intermediary - method_6087- Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)V- named - pushAway- Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
 
- 
damageApplies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
- damagein class- AnimalEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lben;F)Z- intermediary - method_5643- Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z- named - damage- Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
 
- 
getVariant- Specified by:
- getVariantin interface- VariantHolder<ParrotEntity.Variant>
- Mappings:
- Namespace - Name - Mixin selector - official - gg- Lbsb;gg()Lbsb$b;- intermediary - method_6584- Lnet/minecraft/class_1453;method_6584()Lnet/minecraft/class_1453$class_7989;- named - getVariant- Lnet/minecraft/entity/passive/ParrotEntity;getVariant()Lnet/minecraft/entity/passive/ParrotEntity$Variant;
 
- 
setVariant- Specified by:
- setVariantin interface- VariantHolder<ParrotEntity.Variant>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbsb;a(Lbsb$b;)V- intermediary - method_47848- Lnet/minecraft/class_1453;method_47848(Lnet/minecraft/class_1453$class_7989;)V- named - setVariant- Lnet/minecraft/entity/passive/ParrotEntity;setVariant(Lnet/minecraft/entity/passive/ParrotEntity$Variant;)V
 
- 
initDataTrackerprotected void initDataTracker()Initializes data tracker.- Overrides:
- initDataTrackerin class- TameableEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lbfj;a_()V- intermediary - method_5693- Lnet/minecraft/class_1297;method_5693()V- named - initDataTracker- Lnet/minecraft/entity/Entity;initDataTracker()V
 
- 
writeCustomDataToNbtWrites 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:
- writeCustomDataToNbtin class- TameableEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfj;b(Lqr;)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
 
- 
readCustomDataFromNbtReads 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. 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 class- TameableEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lqr;)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
 
- 
isInAirpublic boolean isInAir()
- 
getLeashOffsetReturns 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 class- Entity
- Returns:
- the offset from the entity's position where the leash is attached to
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - cG- Lbfj;cG()Leei;- 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;
 
 
-