net.minecraft.world.entity.animal

public class Parrot

extends ShoulderRidingEntity implements FlyingAnimal

All mapped superinterfaces:

Nameable, CommandSource, FlyingAnimal

bam
net.minecraft.world.entity.animal.Parrot
net.minecraft.class_1453
net.minecraft.entity.passive.ParrotEntity
net.minecraft.entity.passive.ParrotEntity
net.minecraft.server.v1_16_R3.EntityParrot

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bu
DATA_VARIANT_ID
field_6826
VARIANT
field_192013_bG
private static final Predicate<Mob>
bv
NOT_PARROT_PREDICATE
field_6821
CAN_IMITATE
field_192014_bH
private static final Item
bw
POISONOUS_FOOD
field_6828
COOKIE
field_192015_bI
private static final Set<Item>
bx
TAME_FOOD
field_6825
TAMING_INGREDIENTS
field_192016_bJ
private static final Map<EntityType<?>, SoundEvent>
by
MOB_SOUND_MAP
field_6822
MOB_SOUNDS
field_192017_bK
public float
bq
flap
field_6818
flapProgress
field_192008_bB
public float
br
flapSpeed
field_6819
maxWingDeviation
field_192009_bC
public float
bs
oFlapSpeed
field_6827
prevMaxWingDeviation
field_192010_bD
public float
bt
oFlap
field_6829
prevFlapProgress
field_192011_bE
private float
bz
flapping
field_6824
flapSpeed
field_192012_bF
private boolean
bA
partyParrot
field_6823
songPlaying
field_192018_bL
private BlockPos
bB
jukebox
field_6820
songSource
field_192019_bM

Constructor summary

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

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(bsk arg0, aos arg1, aqp arg2, arc arg3, md 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)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public boolean
w_()
isBaby()
method_6109()
isBaby()
func_70631_g_()
isBaby()
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public static AttributeSupplier$Builder
eU()
createAttributes()
method_26889()
createParrotAttributes()
func_234213_eS_()
protected PathNavigation
b(brx arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
protected float
b(aqx arg0, aqb arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
private void
eZ()
calculateFlapping()
method_6578()
flapWings()
func_192001_dv()
public static boolean
a(brx arg0, aqa arg1)
imitateNearbyMobs(Level arg0, Entity arg1)
method_6587(class_1937 arg0, class_1297 arg1)
imitateNearbyMob(World world, Entity parrot)
func_192006_b(World arg0, Entity arg1)
public InteractionResult
b(bfw arg0, aot arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
public boolean
k(bmb arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
public static boolean
c(aqe<bam> arg0, bry arg1, aqp arg2, fx 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)
canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
func_223317_c(EntityType<ParrotEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
public boolean
b(float arg0, float arg1)
causeFallDamage(float arg0, float arg1)
method_5747(float arg0, float arg1)
handleFallDamage(float arg0, float arg1)
func_225503_b_(float arg0, float arg1)
protected void
a(double arg0, boolean arg1, ceh arg2, fx 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)
func_184231_a(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public boolean
a(azz arg0)
canMate(Animal arg0)
method_6474(class_1429 arg0)
canBreedWith(AnimalEntity arg0)
func_70878_b(AnimalEntity arg0)
mate(EntityAnimal arg0)
public AgableMob
a(aag arg0, apy arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
public boolean
B(aqa arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
public SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
public static SoundEvent
a(brx arg0, Random arg1)
getAmbient(Level arg0, Random arg1)
method_6583(class_1937 arg0, Random arg1)
getRandomSound(World world, Random arg1)
func_234212_a_(World arg0, Random arg1)
private static SoundEvent
b(aqe<?> arg0)
getImitatedSound(EntityType<?> arg0)
method_6586(class_1299<?> arg0)
getSound(EntityType<?> imitate)
func_200610_a(EntityType<?> arg0)
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dq()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected void
b(fx arg0, ceh arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
func_180429_a(BlockPos arg0, BlockState arg1)
protected float
e(float arg0)
playFlySound(float arg0)
method_5801(float arg0)
playFlySound(float arg0)
func_191954_d(float arg0)
protected boolean
az()
makeFlySound()
method_5776()
hasWings()
func_191957_ae()
protected float
dH()
getVoicePitch()
method_6017()
getSoundPitch()
func_70647_i()
public static float
a(Random arg0)
getPitch(Random arg0)
method_6580(Random arg0)
getSoundPitch(Random random)
func_192000_b(Random arg0)
public SoundSource
cu()
getSoundSource()
method_5634()
getSoundCategory()
func_184176_by()
getSoundCategory()
public boolean
aU()
isPushable()
method_5810()
isPushable()
func_70104_M()
isCollidable()
protected void
C(aqa arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
pushAway(Entity arg0)
func_82167_n(Entity arg0)
public boolean
a(apk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public int
eW()
getVariant()
method_6584()
getVariant()
func_191998_ds()
getVariant()
public void
t(int arg0)
setVariant(int arg0)
method_6585(int arg0)
setVariant(int variant)
func_191997_m(int arg0)
setVariant(int arg0)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
fa()
isFlying()
method_6581()
isInAir()
func_192002_a()
public void
a(fx arg0, boolean arg1)
setRecordPlayingNearby(BlockPos arg0, boolean arg1)
method_6006(class_2338 arg0, boolean arg1)
setNearbySongPlaying(BlockPos arg0, boolean arg1)
func_191987_a(BlockPos arg0, boolean arg1)
public boolean
eV()
isPartyParrot()
method_6582()
getSongPlaying()
func_192004_dr()
public Vec3
cf()
getLeashOffset()
method_29919()
method_29919()
func_241205_ce_()