net.minecraft.world.entity.animal

public class Parrot

extends ShoulderRidingEntity implements VariantHolder<Parrot$Variant>, FlyingAnimal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, OwnableEntity, VariantHolder, FlyingAnimal

cfu
net.minecraft.world.entity.animal.Parrot
net.minecraft.class_1453
net.minecraft.entity.passive.ParrotEntity
net.minecraft.src.C_877_
net.minecraft.world.entity.animal.EntityParrot

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
ck
DATA_VARIANT_ID
field_6826
VARIANT
f_29354_
private static final Predicate<Mob>
cl
NOT_PARROT_PREDICATE
field_6821
CAN_IMITATE
f_29355_
static final Map<EntityType<?>, SoundEvent>
cm
MOB_SOUND_MAP
field_6822
MOB_SOUNDS
f_29358_
public float
cg
flap
field_6818
flapProgress
f_29350_
public float
ch
flapSpeed
field_6819
maxWingDeviation
f_29351_
public float
ci
oFlapSpeed
field_6827
prevMaxWingDeviation
f_29352_
public float
cj
oFlap
field_6829
prevFlapProgress
f_29353_
private float
cn
flapping
field_6824
flapSpeed
f_29359_
private float
co
nextFlap
field_28640
field_28640
f_148987_
private boolean
cp
partyParrot
field_6823
songPlaying
f_29348_
private BlockPos
cq
jukebox
field_6820
songSource
f_29349_

Constructor summary

ModifierConstructor
public (EntityType<? extends Parrot> p_29363_, Level arg1)

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_29390_, C_469_ p_29391_, C_529_ p_29392_, C_542_ arg3)
public boolean
o_()
isBaby()
method_6109()
isBaby()
m_6162_()
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
gu()
createAttributes()
method_26889()
createParrotAttributes()
m_29438_()
protected PathNavigation
b(dcw arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
m_()
aiStep()
method_6007()
tickMovement()
m_8107_()
public void
a(jd arg0, boolean arg1)
setRecordPlayingNearby(BlockPos arg0, boolean arg1)
method_6006(class_2338 arg0, boolean arg1)
setNearbySongPlaying(BlockPos arg0, boolean arg1)
m_6818_(C_4675_ p_29396_, boolean arg1)
public boolean
gv()
isPartyParrot()
method_6582()
isSongPlaying()
m_29439_()
private void
gz()
calculateFlapping()
method_6578()
flapWings()
m_29442_()
public static boolean
a(dcw arg0, bsr arg1)
imitateNearbyMobs(Level arg0, Entity arg1)
method_6587(class_1937 arg0, class_1297 arg1)
imitateNearbyMob(World world, Entity parrot)
m_29382_(C_1596_ p_29383_, C_507_ p_29384_)
public InteractionResult
b(cmx arg0, bqq arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_29415_, C_470_ arg1)
public boolean
o(cuq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public static boolean
c(bsx<cfu> arg0, dcx arg1, btr arg2, jd arg3, ayw arg4)
checkParrotSpawnRules(EntityType<Parrot> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_20667(class_1299<class_1453> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_218241_(C_513_<C_877_> p_218242_, C_1598_ p_218243_, C_529_ p_218244_, C_4675_ p_218245_, C_212974_ p_218246_)
protected void
a(double arg0, boolean arg1, dtc arg2, jd arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
m_7840_(double p_29371_, boolean p_29373_, C_2064_ arg2, C_4675_ arg3)
public boolean
a(cfe arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public AgeableMob
a(aqu arg0, bsl arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_148994_, C_141062_ arg1)
public SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
public static SoundEvent
a(dcw arg0, ayw arg1)
getAmbient(Level arg0, RandomSource arg1)
method_6583(class_1937 arg0, class_5819 arg1)
getRandomSound(World world, Random random)
m_218238_(C_1596_ p_218239_, C_212974_ p_218240_)
private static SoundEvent
b(bsx<?> arg0)
getImitatedSound(EntityType<?> arg0)
method_6586(class_1299<?> arg0)
getSound(EntityType<?> imitate)
m_29408_(C_513_<?> p_29409_)
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(jd arg0, dtc arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_29420_, C_2064_ arg1)
protected boolean
aW()
isFlapping()
method_5776()
isFlappingWings()
m_142039_()
protected void
aV()
onFlap()
method_5801()
addFlapEffects()
m_142043_()
public float
fb()
getVoicePitch()
method_6017()
getSoundPitch()
m_6100_()
public static float
a(ayw arg0)
getPitch(RandomSource arg0)
method_6580(class_5819 arg0)
getSoundPitch(Random random)
m_218236_(C_212974_ p_218237_)
public SoundSource
de()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
public boolean
bB()
isPushable()
method_5810()
isPushable()
m_6094_()
protected void
E(bsr arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
pushAway(Entity arg0)
m_7324_(C_507_ arg0)
public boolean
a(brk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_29379_, float arg1)
public Parrot$Variant
gw()
getVariant()
method_6584()
getVariant()
m_28554_()
public void
a(cfu$b arg0)
setVariant(Parrot$Variant arg0)
method_47848(class_1453$class_7989 arg0)
setVariant(ParrotEntity$Variant arg0)
m_28464_(C_877_$C_262188_ arg0)
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
gx()
isFlying()
method_6581()
isInAir()
m_29443_()
protected boolean
go()
canFlyToOwner()
method_60716()
canTeleportOntoLeaves()
m_339401_()
public Vec3
cM()
getLeashOffset()
method_29919()
getLeashOffset()
m_7939_()