Package net.minecraft.entity.passive
Class ParrotEntity
- All Implemented Interfaces:
Flutterer,CommandOutput,Nameable,EntityLike
public class ParrotEntity extends TameableShoulderEntity implements Flutterer
- Mappings:
Namespace Name official bcqintermediary net/minecraft/class_1453named net/minecraft/entity/passive/ParrotEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields Modifier and Type Field Description private static Predicate<MobEntity>CAN_IMITATEprivate static ItemCOOKIEprivate floatfield_28640floatflapProgressprivate floatflapSpeedfloatmaxWingDeviationprivate static Map<EntityType<?>,SoundEvent>MOB_SOUNDSfloatprevFlapProgressfloatprevMaxWingDeviationprivate booleansongPlayingprivate BlockPossongSourceprivate static Set<Item>TAMING_INGREDIENTSprivate static TrackedData<Integer>VARIANTFields inherited from class net.minecraft.entity.passive.TameableEntity
OWNER_UUID, TAMEABLE_FLAGSFields inherited from class net.minecraft.entity.passive.PassiveEntity
breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeedFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors Constructor Description ParrotEntity(EntityType<? extends ParrotEntity> type, World world) -
Method Summary
Modifier and Type Method Description protected voidaddFlapEffects()Adds 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)@Nullable PassiveEntitycreateChild(ServerWorld world, PassiveEntity entity)protected EntityNavigationcreateNavigation(World world)static DefaultAttributeContainer.BuildercreateParrotAttributes()booleandamage(DamageSource source, float amount)protected voidfall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)private voidflapWings()protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)@Nullable SoundEventgetAmbientSound()protected SoundEventgetDeathSound()protected SoundEventgetHurtSound(DamageSource source)static SoundEventgetRandomSound(World world, Random random)private static SoundEventgetSound(EntityType<?> imitate)SoundCategorygetSoundCategory()protected floatgetSoundPitch()static floatgetSoundPitch(Random random)intgetVariant()booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)protected booleanhasWings()static booleanimitateNearbyMob(World world, Entity parrot)protected voidinitDataTracker()protected voidinitGoals()@Nullable EntityDatainitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable CompoundTag entityTag)ActionResultinteractMob(PlayerEntity player, Hand hand)booleanisBaby()booleanisBreedingItem(ItemStack stack)booleanisInAir()booleanisPushable()booleanisSongPlaying()Vec3dmethod_29919()protected voidplayStepSound(BlockPos pos, BlockState state)protected voidpushAway(Entity entity)voidreadCustomDataFromNbt(CompoundTag tag)voidsetNearbySongPlaying(BlockPos songPosition, boolean playing)voidsetVariant(int variant)voidtickMovement()booleantryAttack(Entity target)voidwriteCustomDataToNbt(CompoundTag tag)Methods inherited from class net.minecraft.entity.passive.TameableShoulderEntity
isReadyToSitOnPlayer, mountOnto, tickMethods inherited from class net.minecraft.entity.passive.TameableEntity
canAttackWithOwner, canBeLeashedBy, canTarget, getOwner, getOwnerUuid, getScoreboardTeam, handleStatus, isInSittingPose, isOwner, isSitting, isTamed, isTeammate, onDeath, onTamedChanged, setInSittingPose, setOwner, setOwnerUuid, setSitting, setTamed, showEmoteParticleMethods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canEat, canImmediatelyDespawn, eat, getCurrentExperience, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, isInLove, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29244, method_33191, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, swimUpward, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getCommandItemSlot, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_29500, method_31079, method_33579, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canFly, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getServer, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, method_33332, method_33574, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
Field Details
-
VARIANT
- Mappings:
Namespace Name Mixin selector official bsLbcq;bs:Lvu;intermediary field_6826Lnet/minecraft/class_1453;field_6826:Lnet/minecraft/class_2940;named VARIANTLnet/minecraft/entity/passive/ParrotEntity;VARIANT:Lnet/minecraft/entity/data/TrackedData;
-
CAN_IMITATE
- Mappings:
Namespace Name Mixin selector official btLbcq;bt:Ljava/util/function/Predicate;intermediary field_6821Lnet/minecraft/class_1453;field_6821:Ljava/util/function/Predicate;named CAN_IMITATELnet/minecraft/entity/passive/ParrotEntity;CAN_IMITATE:Ljava/util/function/Predicate;
-
COOKIE
- Mappings:
Namespace Name Mixin selector official buLbcq;bu:Lbom;intermediary field_6828Lnet/minecraft/class_1453;field_6828:Lnet/minecraft/class_1792;named COOKIELnet/minecraft/entity/passive/ParrotEntity;COOKIE:Lnet/minecraft/item/Item;
-
TAMING_INGREDIENTS
- Mappings:
Namespace Name Mixin selector official bvLbcq;bv:Ljava/util/Set;intermediary field_6825Lnet/minecraft/class_1453;field_6825:Ljava/util/Set;named TAMING_INGREDIENTSLnet/minecraft/entity/passive/ParrotEntity;TAMING_INGREDIENTS:Ljava/util/Set;
-
MOB_SOUNDS
- Mappings:
Namespace Name Mixin selector official bwLbcq;bw:Ljava/util/Map;intermediary field_6822Lnet/minecraft/class_1453;field_6822:Ljava/util/Map;named MOB_SOUNDSLnet/minecraft/entity/passive/ParrotEntity;MOB_SOUNDS:Ljava/util/Map;
-
flapProgress
public float flapProgress- Mappings:
Namespace Name Mixin selector official boLbcq;bo:Fintermediary field_6818Lnet/minecraft/class_1453;field_6818:Fnamed flapProgressLnet/minecraft/entity/passive/ParrotEntity;flapProgress:F
-
maxWingDeviation
public float maxWingDeviation- Mappings:
Namespace Name Mixin selector official bpLbcq;bp:Fintermediary field_6819Lnet/minecraft/class_1453;field_6819:Fnamed maxWingDeviationLnet/minecraft/entity/passive/ParrotEntity;maxWingDeviation:F
-
prevMaxWingDeviation
public float prevMaxWingDeviation- Mappings:
Namespace Name Mixin selector official bqLbcq;bq:Fintermediary field_6827Lnet/minecraft/class_1453;field_6827:Fnamed prevMaxWingDeviationLnet/minecraft/entity/passive/ParrotEntity;prevMaxWingDeviation:F
-
prevFlapProgress
public float prevFlapProgress- Mappings:
Namespace Name Mixin selector official brLbcq;br:Fintermediary field_6829Lnet/minecraft/class_1453;field_6829:Fnamed prevFlapProgressLnet/minecraft/entity/passive/ParrotEntity;prevFlapProgress:F
-
flapSpeed
private float flapSpeed- Mappings:
Namespace Name Mixin selector official bxLbcq;bx:Fintermediary field_6824Lnet/minecraft/class_1453;field_6824:Fnamed flapSpeedLnet/minecraft/entity/passive/ParrotEntity;flapSpeed:F
-
field_28640
private float field_28640- Mappings:
Namespace Name Mixin selector official byLbcq;by:Fintermediary field_28640Lnet/minecraft/class_1453;field_28640:Fnamed field_28640Lnet/minecraft/entity/passive/ParrotEntity;field_28640:F
-
songPlaying
private boolean songPlaying- Mappings:
Namespace Name Mixin selector official bzLbcq;bz:Zintermediary field_6823Lnet/minecraft/class_1453;field_6823:Znamed songPlayingLnet/minecraft/entity/passive/ParrotEntity;songPlaying:Z
-
songSource
- Mappings:
Namespace Name Mixin selector official bALbcq;bA:Lfx;intermediary field_6820Lnet/minecraft/class_1453;field_6820:Lnet/minecraft/class_2338;named songSourceLnet/minecraft/entity/passive/ParrotEntity;songSource:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
ParrotEntity
- Mappings:
Namespace Name Mixin selector official <init>Laro;<init>(Lars;Lbuq;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable CompoundTag entityTag)- Overrides:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLasc;a(Lbve;Laqh;Lase;Lass;Lmr;)Lass;intermediary method_5943Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/entity/EntityData;
-
isBaby
public boolean isBaby()- Overrides:
isBabyin classPassiveEntity- Mappings:
Namespace Name Mixin selector official y_Lasb;y_()Zintermediary method_6109Lnet/minecraft/class_1309;method_6109()Znamed isBabyLnet/minecraft/entity/LivingEntity;isBaby()Z
-
initGoals
protected void initGoals() -
createParrotAttributes
- Mappings:
Namespace Name Mixin selector official fuLbcq;fu()Lata$a;intermediary method_26889Lnet/minecraft/class_1453;method_26889()Lnet/minecraft/class_5132$class_5133;named createParrotAttributesLnet/minecraft/entity/passive/ParrotEntity;createParrotAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLasb;b(Lasm;Larp;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector official kLasb;k()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
setNearbySongPlaying
- Overrides:
setNearbySongPlayingin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLasb;a(Lfx;Z)Vintermediary method_6006Lnet/minecraft/class_1309;method_6006(Lnet/minecraft/class_2338;Z)Vnamed setNearbySongPlayingLnet/minecraft/entity/LivingEntity;setNearbySongPlaying(Lnet/minecraft/util/math/BlockPos;Z)V
-
isSongPlaying
- Mappings:
Namespace Name Mixin selector official fvLbcq;fv()Zintermediary method_6582Lnet/minecraft/class_1453;method_6582()Znamed isSongPlayingLnet/minecraft/entity/passive/ParrotEntity;isSongPlaying()Z
-
flapWings
private void flapWings()- Mappings:
Namespace Name Mixin selector official fzLbcq;fz()Vintermediary method_6578Lnet/minecraft/class_1453;method_6578()Vnamed flapWingsLnet/minecraft/entity/passive/ParrotEntity;flapWings()V
-
imitateNearbyMob
- Mappings:
Namespace Name Mixin selector official aLbcq;a(Lbuq;Laro;)Zintermediary method_6587Lnet/minecraft/class_1453;method_6587(Lnet/minecraft/class_1937;Lnet/minecraft/class_1297;)Znamed imitateNearbyMobLnet/minecraft/entity/passive/ParrotEntity;imitateNearbyMob(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;)Z
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLasc;b(Lbif;Laqi;)Laqj;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official kLbcc;k(Lboq;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
canSpawn
public static boolean canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)- Mappings:
Namespace Name Mixin selector official cLbcq;c(Lars;Lbur;Lase;Lfx;Ljava/util/Random;)Zintermediary method_20667Lnet/minecraft/class_1453;method_20667(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Znamed canSpawnLnet/minecraft/entity/passive/ParrotEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)- Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(FFLaqy;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition)- Overrides:
fallin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(DZLcio;Lfx;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
canBreedWith
- Overrides:
canBreedWithin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLbcc;a(Lbcc;)Zintermediary method_6474Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Znamed canBreedWithLnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLarm;a(Labf;Larm;)Larm;intermediary method_5613Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;named createChildLnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
-
tryAttack
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official pLasc;p()Laer;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getRandomSound
- Mappings:
Namespace Name Mixin selector official aLbcq;a(Lbuq;Ljava/util/Random;)Laer;intermediary method_6583Lnet/minecraft/class_1453;method_6583(Lnet/minecraft/class_1937;Ljava/util/Random;)Lnet/minecraft/class_3414;named getRandomSoundLnet/minecraft/entity/passive/ParrotEntity;getRandomSound(Lnet/minecraft/world/World;Ljava/util/Random;)Lnet/minecraft/sound/SoundEvent;
-
getSound
- Mappings:
Namespace Name Mixin selector official bLbcq;b(Lars;)Laer;intermediary method_6586Lnet/minecraft/class_1453;method_6586(Lnet/minecraft/class_1299;)Lnet/minecraft/class_3414;named getSoundLnet/minecraft/entity/passive/ParrotEntity;getSound(Lnet/minecraft/entity/EntityType;)Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLasb;c(Laqy;)Laer;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official qLasb;q()Laer;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLaro;b(Lfx;Lcio;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
hasWings
protected boolean hasWings() -
addFlapEffects
protected 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 has wings and the entity has any move effect, from
Entity.addAirTravelEffects().- Overrides:
addFlapEffectsin classEntity- Mappings:
Namespace Name Mixin selector official aALaro;aA()Vintermediary method_5801Lnet/minecraft/class_1297;method_5801()Vnamed addFlapEffectsLnet/minecraft/entity/Entity;addFlapEffects()V
-
getSoundPitch
protected float getSoundPitch()- Overrides:
getSoundPitchin classLivingEntity- Mappings:
Namespace Name Mixin selector official egLasb;eg()Fintermediary method_6017Lnet/minecraft/class_1309;method_6017()Fnamed getSoundPitchLnet/minecraft/entity/LivingEntity;getSoundPitch()F
-
getSoundPitch
- Mappings:
Namespace Name Mixin selector official aLbcq;a(Ljava/util/Random;)Fintermediary method_6580Lnet/minecraft/class_1453;method_6580(Ljava/util/Random;)Fnamed getSoundPitchLnet/minecraft/entity/passive/ParrotEntity;getSoundPitch(Ljava/util/Random;)F
-
getSoundCategory
- Overrides:
getSoundCategoryin classEntity- Mappings:
Namespace Name Mixin selector official cELaro;cE()Laet;intermediary method_5634Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
isPushable
public boolean isPushable()- Overrides:
isPushablein classLivingEntity- Mappings:
Namespace Name Mixin selector official aZLaro;aZ()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
pushAway
- Overrides:
pushAwayin classLivingEntity- Mappings:
Namespace Name Mixin selector official CLasb;C(Laro;)Vintermediary method_6087Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)Vnamed pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
damage
- Overrides:
damagein classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(Laqy;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getVariant
public int getVariant()- Mappings:
Namespace Name Mixin selector official fwLbcq;fw()Iintermediary method_6584Lnet/minecraft/class_1453;method_6584()Inamed getVariantLnet/minecraft/entity/passive/ParrotEntity;getVariant()I
-
setVariant
public void setVariant(int variant)- Mappings:
Namespace Name Mixin selector official uLbcq;u(I)Vintermediary method_6585Lnet/minecraft/class_1453;method_6585(I)Vnamed setVariantLnet/minecraft/entity/passive/ParrotEntity;setVariant(I)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classTameableEntity- Mappings:
Namespace Name Mixin selector official eLaro;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classTameableEntity- Mappings:
Namespace Name Mixin selector official bLaro;b(Lmr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classTameableEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(Lmr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
isInAir
public boolean isInAir()- Mappings:
Namespace Name Mixin selector official fALbcq;fA()Zintermediary method_6581Lnet/minecraft/class_1453;method_6581()Znamed isInAirLnet/minecraft/entity/passive/ParrotEntity;isInAir()Z
-
method_29919
- Overrides:
method_29919in classEntity- Mappings:
Namespace Name Mixin selector official cpLaro;cp()Ldkn;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;named method_29919Lnet/minecraft/entity/Entity;method_29919()Lnet/minecraft/util/math/Vec3d;
-