net.minecraft.world.entity.animal

public class Parrot

extends ShoulderRidingEntity implements FlyingAnimal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, OwnableEntity, FlyingAnimal

bir
net.minecraft.world.entity.animal.Parrot
net.minecraft.class_1453
net.minecraft.unmapped.C_ombdzkxc
net.minecraft.entity.passive.ParrotEntity
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>
cc
DATA_VARIANT_ID
field_6826
f_bdicpzqd
VARIANT
VARIANT
f_29354_
private static final Predicate<Mob>
cd
NOT_PARROT_PREDICATE
field_6821
f_grzlgvvg
CAN_IMITATE
CAN_IMITATE
f_29355_
private static final Item
ce
POISONOUS_FOOD
field_6828
f_zfucavga
COOKIE
COOKIE
f_29356_
private static final Set<Item>
cf
TAME_FOOD
field_6825
f_cgkpefni
TAMING_INGREDIENTS
TAMING_INGREDIENTS
f_29357_
private static final int
cg
VARIANTS
field_30351
f_vbxsqnjo
field_30351
VARIANTS
f_148986_
static final Map<EntityType<?>, SoundEvent>
ch
MOB_SOUND_MAP
field_6822
f_yjlqktei
MOB_SOUNDS
MOB_SOUNDS
f_29358_
public float
bY
flap
field_6818
f_jnckecrd
flapProgress
flapProgress
f_29350_
public float
bZ
flapSpeed
field_6819
f_zqawwnea
maxWingDeviation
maxWingDeviation
f_29351_
public float
ca
oFlapSpeed
field_6827
f_akrpggmo
prevMaxWingDeviation
prevMaxWingDeviation
f_29352_
public float
cb
oFlap
field_6829
f_eiphtoys
prevFlapProgress
prevFlapProgress
f_29353_
private float
ci
flapping
field_6824
f_zrhgskzn
flapSpeed
flapSpeed
f_29359_
private float
cj
nextFlap
field_28640
f_brydhsyf
field_28640
nextFlap
f_148987_
private boolean
ck
partyParrot
field_6823
f_daqskego
songPlaying
songPlaying
f_29348_
private BlockPos
cl
jukebox
field_6820
f_zaagezcc
songSource
songSource
f_29349_

Constructor summary

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

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(cbk arg0, awf arg1, ayc arg2, ayq arg3, ok arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_29390_, C_469_ p_29391_, C_529_ p_29392_, C_542_ p_29393_, C_4917_ arg4)
public boolean
y_()
isBaby()
method_6109()
m_xuxedegf()
isBaby()
isBaby()
m_6162_()
protected void
u()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
fH()
createAttributes()
method_26889()
m_mqvmxoxz()
createParrotAttributes()
createParrotAttributes()
m_29438_()
protected PathNavigation
a(cav arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
m_tqtwudhk(C_cdctfzbn arg0)
createNavigation(World arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
protected float
b(ayk arg0, axl arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
m_heqvdbfg(C_ufdjspmk arg0, C_sszpscpo arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_29412_, C_510_ arg1)
public void
w_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
public void
a(gj arg0, boolean arg1)
setRecordPlayingNearby(BlockPos arg0, boolean arg1)
method_6006(class_2338 arg0, boolean arg1)
m_vmatkwic(C_hynzadkk arg0, boolean arg1)
setNearbySongPlaying(BlockPos arg0, boolean arg1)
setNearbySongPlaying(BlockPos arg0, boolean arg1)
m_6818_(C_4675_ p_29396_, boolean arg1)
public boolean
fI()
isPartyParrot()
method_6582()
m_orcwjsma()
isSongPlaying()
isSongPlaying()
m_29439_()
private void
fL()
calculateFlapping()
method_6578()
m_bxqlwhey()
flapWings()
flapWings()
m_29442_()
public static boolean
a(cav arg0, axk arg1)
imitateNearbyMobs(Level arg0, Entity arg1)
method_6587(class_1937 arg0, class_1297 arg1)
m_yeswsuun(C_cdctfzbn arg0, C_astfners arg1)
imitateNearbyMob(World world, Entity parrot)
imitateNearbyMob(World world, Entity parrot)
m_29382_(C_1596_ p_29383_, C_507_ p_29384_)
public InteractionResult
b(boj arg0, awg arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_29415_, C_470_ arg1)
public boolean
n(buw arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public static boolean
c(axo<bir> arg0, caw arg1, ayc arg2, gj arg3, Random arg4)
checkParrotSpawnRules(EntityType<Parrot> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20667(class_1299<class_1453> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
m_airtrftk(C_ogavsvbr<C_ombdzkxc> arg0, C_vdvbsyle arg1, C_uzzvxofv arg2, C_hynzadkk arg3, Random arg4)
canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_29423_(C_513_<C_877_> p_29424_, C_1598_ p_29425_, C_529_ p_29426_, C_4675_ p_29427_, Random p_29428_)
public boolean
a(float arg0, float arg1, awu arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
m_izrsdktf(float arg0, float arg1, C_sbxfkpyv arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_148990_, float p_148991_, C_489_ arg2)
protected void
a(double arg0, boolean arg1, cov arg2, gj arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
m_cckfyxyf(double arg0, boolean arg1, C_txtbiemp arg2, C_hynzadkk arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos 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(bid arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
m_rgotkmam(C_tprvtfff arg0)
canBreedWith(AnimalEntity arg0)
canBreedWith(AnimalEntity arg0)
m_7848_(C_801_ arg0)
public AgeableMob
a(adw arg0, axi arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
m_hftuejnb(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_148994_, C_141062_ arg1)
public boolean
z(axk arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
m_orenzeoc(C_astfners arg0)
tryAttack(Entity arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public SoundEvent
r()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
public static SoundEvent
a(cav arg0, Random arg1)
getAmbient(Level arg0, Random arg1)
method_6583(class_1937 arg0, Random arg1)
m_ksjuioxb(C_cdctfzbn arg0, Random arg1)
getRandomSound(World world, Random random)
getRandomSound(World world, Random random)
m_29385_(C_1596_ p_29386_, Random p_29387_)
private static SoundEvent
b(axo<?> arg0)
getImitatedSound(EntityType<?> arg0)
method_6586(class_1299<?> arg0)
m_kqehkkkh(C_ogavsvbr<?> arg0)
getSound(EntityType<?> imitate)
getSound(EntityType<?> imitate)
m_29408_(C_513_<?> p_29409_)
protected SoundEvent
c(awu arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected void
b(gj arg0, cov arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_29420_, C_2064_ arg1)
protected boolean
aK()
isFlapping()
method_5776()
m_gavkvalj()
hasWings()
hasWings()
m_142039_()
protected void
aJ()
onFlap()
method_5801()
m_thnmjffg()
addFlapEffects()
addFlapEffects()
m_142043_()
public float
ew()
getVoicePitch()
method_6017()
m_anszxika()
getSoundPitch()
getSoundPitch()
m_6100_()
public static float
a(Random arg0)
getPitch(Random arg0)
method_6580(Random arg0)
m_qsqaztkt(Random arg0)
getSoundPitch(Random random)
getSoundPitch(Random random)
m_29399_(Random p_29400_)
public SoundSource
cO()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
m_5720_()
public boolean
bi()
isPushable()
method_5810()
m_okzqpkgv()
isPushable()
isPushable()
m_6094_()
protected void
A(axk arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
m_ljcawptq(C_astfners arg0)
pushAway(Entity arg0)
pushAway(Entity arg0)
m_7324_(C_507_ arg0)
public boolean
a(awu arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_29379_, float arg1)
public int
fJ()
getVariant()
method_6584()
m_jxemmulb()
getVariant()
getVariant()
m_29440_()
public void
s(int arg0)
setVariant(int arg0)
method_6585(int arg0)
m_itzrhfiv(int arg0)
setVariant(int variant)
setVariant(int variant)
m_29448_(int arg0)
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public void
b(ok arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ok arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
fN()
isFlying()
method_6581()
m_trlmztuq()
isInAir()
isInAir()
m_142592_()
public Vec3
cz()
getLeashOffset()
method_29919()
m_suasneff()
getLeashOffset()
getLeashOffset()
m_7939_()