Package net.minecraft.entity.passive
Class ParrotEntity
- All Implemented Interfaces:
Flutterer
,Tameable
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bel
intermediary net/minecraft/class_1453
named net/minecraft/entity/passive/ParrotEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Item
private float
private static final int
float
private float
float
(package private) static final Map<EntityType<?>,
SoundEvent> float
float
private boolean
private BlockPos
private static final TrackedData<Integer>
Fields inherited from class net.minecraft.entity.passive.TameableEntity
OWNER_UUID, TAMEABLE_FLAGS
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.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, flyingSpeed, forwardSpeed, 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, dataTracker, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_28627, field_29973, field_29974, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds the effects of this entity flapping, usually to the world the entity is in.boolean
canBreedWith
(AnimalEntity other) static boolean
canSpawn
(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) createChild
(ServerWorld world, PassiveEntity entity) protected EntityNavigation
createNavigation
(World world) boolean
damage
(DamageSource source, float amount) protected void
fall
(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition) private void
protected float
getActiveEyeHeight
(EntityPose pose, EntityDimensions dimensions) protected SoundEvent
protected SoundEvent
getHurtSound
(DamageSource source) static SoundEvent
getRandomSound
(World world, Random random) private static SoundEvent
getSound
(EntityType<?> imitate) float
static float
getSoundPitch
(Random random) int
boolean
handleFallDamage
(float fallDistance, float damageMultiplier, DamageSource damageSource) protected boolean
hasWings()
static boolean
imitateNearbyMob
(World world, Entity parrot) protected void
protected void
initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) interactMob
(PlayerEntity player, Hand hand) boolean
isBaby()
boolean
isBreedingItem
(ItemStack stack) boolean
isInAir()
boolean
boolean
protected void
playStepSound
(BlockPos pos, BlockState blockState) protected void
void
void
setNearbySongPlaying
(BlockPos songPosition, boolean playing) void
setVariant
(int variant) void
boolean
void
Methods inherited from class net.minecraft.entity.passive.TameableShoulderEntity
isReadyToSitOnPlayer, mountOnto, tick
Methods 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, showEmoteParticle
Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canEat, canImmediatelyDespawn, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, getXpToDrop, isInLove, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canEquip, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, 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_35055, 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, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBoundingBox, getBrain, getClimbingPos, 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, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_37119, method_37410, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNoDrag, setOnGround, setRiptideTicks, 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, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, 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, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, 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, getYaw, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowingLocal, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, 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
-
VARIANT
- Mappings:
Namespace Name Mixin selector official bZ
Lbel;bZ:Lwf;
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 ca
Lbel;ca: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 cb
Lbel;cb:Lbql;
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 cc
Lbel;cc: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;
-
field_30351
private static final int field_30351- See Also:
- Mappings:
Namespace Name Mixin selector official cd
Lbel;cd:I
intermediary field_30351
Lnet/minecraft/class_1453;field_30351:I
named field_30351
Lnet/minecraft/entity/passive/ParrotEntity;field_30351:I
-
MOB_SOUNDS
- Mappings:
Namespace Name Mixin selector official ce
Lbel;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;
-
flapProgress
public float flapProgress- Mappings:
Namespace Name Mixin selector official bV
Lbel;bV:F
intermediary field_6818
Lnet/minecraft/class_1453;field_6818:F
named flapProgress
Lnet/minecraft/entity/passive/ParrotEntity;flapProgress:F
-
maxWingDeviation
public float maxWingDeviation- Mappings:
Namespace Name Mixin selector official bW
Lbel;bW:F
intermediary field_6819
Lnet/minecraft/class_1453;field_6819:F
named maxWingDeviation
Lnet/minecraft/entity/passive/ParrotEntity;maxWingDeviation:F
-
prevMaxWingDeviation
public float prevMaxWingDeviation- Mappings:
Namespace Name Mixin selector official bX
Lbel;bX:F
intermediary field_6827
Lnet/minecraft/class_1453;field_6827:F
named prevMaxWingDeviation
Lnet/minecraft/entity/passive/ParrotEntity;prevMaxWingDeviation:F
-
prevFlapProgress
public float prevFlapProgress- Mappings:
Namespace Name Mixin selector official bY
Lbel;bY:F
intermediary field_6829
Lnet/minecraft/class_1453;field_6829:F
named prevFlapProgress
Lnet/minecraft/entity/passive/ParrotEntity;prevFlapProgress:F
-
flapSpeed
private float flapSpeed- Mappings:
Namespace Name Mixin selector official cf
Lbel;cf:F
intermediary field_6824
Lnet/minecraft/class_1453;field_6824:F
named flapSpeed
Lnet/minecraft/entity/passive/ParrotEntity;flapSpeed:F
-
field_28640
private float field_28640- Mappings:
Namespace Name Mixin selector official cg
Lbel;cg:F
intermediary field_28640
Lnet/minecraft/class_1453;field_28640:F
named field_28640
Lnet/minecraft/entity/passive/ParrotEntity;field_28640:F
-
songPlaying
private boolean songPlaying- Mappings:
Namespace Name Mixin selector official ch
Lbel;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
Lbel;ci:Lgg;
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>
Latf;<init>(Latj;Lbwp;)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:
initialize
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Latv;a(Lbxd;Lary;Latx;Laul;Lna;)Laul;
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;
-
isBaby
public boolean isBaby()- Overrides:
isBaby
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official w_
Latt;w_()Z
intermediary method_6109
Lnet/minecraft/class_1309;method_6109()Z
named isBaby
Lnet/minecraft/entity/LivingEntity;isBaby()Z
-
initGoals
protected void initGoals() -
createParrotAttributes
- Mappings:
Namespace Name Mixin selector official fD
Lbel;fD()Laut$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:
getActiveEyeHeight
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Latt;b(Lauf;Latg;)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
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official u_
Latt;u_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
setNearbySongPlaying
- Overrides:
setNearbySongPlaying
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Lgg;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
-
isSongPlaying
public boolean isSongPlaying()- Mappings:
Namespace Name Mixin selector official fE
Lbel;fE()Z
intermediary method_6582
Lnet/minecraft/class_1453;method_6582()Z
named isSongPlaying
Lnet/minecraft/entity/passive/ParrotEntity;isSongPlaying()Z
-
flapWings
private void flapWings()- Mappings:
Namespace Name Mixin selector official fH
Lbel;fH()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
Lbel;a(Lbwp;Latf;)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:
interactMob
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official b
Latv;b(Lbkd;Larz;)Lasa;
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:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official n
Lbdx;n(Lbqp;)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
-
canSpawn
public static boolean canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official c
Lbel;c(Latj;Lbwq;Latx;Lgg;Ljava/util/Random;)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;Ljava/util/Random;)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;Ljava/util/Random;)Z
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) - Overrides:
handleFallDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(FFLasp;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState landedState, BlockPos landedPosition) - Overrides:
fall
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(DZLcks;Lgg;)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:
canBreedWith
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Lbdx;a(Lbdx;)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:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Latd;a(Labr;Latd;)Latd;
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:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official q
Latv;q()Lafd;
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
Lbel;a(Lbwp;Ljava/util/Random;)Lafd;
intermediary method_6583
Lnet/minecraft/class_1453;method_6583(Lnet/minecraft/class_1937;Ljava/util/Random;)Lnet/minecraft/class_3414;
named getRandomSound
Lnet/minecraft/entity/passive/ParrotEntity;getRandomSound(Lnet/minecraft/world/World;Ljava/util/Random;)Lnet/minecraft/sound/SoundEvent;
-
getSound
- Mappings:
Namespace Name Mixin selector official b
Lbel;b(Latj;)Lafd;
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:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Latt;c(Lasp;)Lafd;
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 v_
Latt;v_()Lafd;
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:
playStepSound
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Latf;b(Lgg;Lcks;)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
-
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:
addFlapEffects
in classEntity
- Mappings:
Namespace Name Mixin selector official aE
Latf;aE()V
intermediary method_5801
Lnet/minecraft/class_1297;method_5801()V
named addFlapEffects
Lnet/minecraft/entity/Entity;addFlapEffects()V
-
getSoundPitch
public float getSoundPitch()- Overrides:
getSoundPitch
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official ep
Latt;ep()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
Lbel;a(Ljava/util/Random;)F
intermediary method_6580
Lnet/minecraft/class_1453;method_6580(Ljava/util/Random;)F
named getSoundPitch
Lnet/minecraft/entity/passive/ParrotEntity;getSoundPitch(Ljava/util/Random;)F
-
getSoundCategory
- Overrides:
getSoundCategory
in classEntity
- Mappings:
Namespace Name Mixin selector official cJ
Latf;cJ()Laff;
intermediary method_5634
Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
named getSoundCategory
Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
isPushable
public boolean isPushable()- Overrides:
isPushable
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official bd
Latf;bd()Z
intermediary method_5810
Lnet/minecraft/class_1297;method_5810()Z
named isPushable
Lnet/minecraft/entity/Entity;isPushable()Z
-
pushAway
- Overrides:
pushAway
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official A
Latt;A(Latf;)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
-
damage
- Overrides:
damage
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Lasp;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
public int getVariant()- Mappings:
Namespace Name Mixin selector official fF
Lbel;fF()I
intermediary method_6584
Lnet/minecraft/class_1453;method_6584()I
named getVariant
Lnet/minecraft/entity/passive/ParrotEntity;getVariant()I
-
setVariant
public void setVariant(int variant) - Mappings:
Namespace Name Mixin selector official u
Lbel;u(I)V
intermediary method_6585
Lnet/minecraft/class_1453;method_6585(I)V
named setVariant
Lnet/minecraft/entity/passive/ParrotEntity;setVariant(I)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classTameableEntity
- Mappings:
Namespace Name Mixin selector official a_
Latf;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classTameableEntity
- Mappings:
Namespace Name Mixin selector official b
Latf;b(Lna;)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
- Overrides:
readCustomDataFromNbt
in classTameableEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Lna;)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
-
isInAir
public boolean isInAir() -
getLeashOffset
- Overrides:
getLeashOffset
in classEntity
- Mappings:
Namespace Name Mixin selector official cu
Latf;cu()Ldna;
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;
-