net.minecraft.world.entity.animal

public class Panda

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

cil
net.minecraft.world.entity.animal.Panda
net.minecraft.class_1440
net.minecraft.unmapped.C_ogdzfiek
net.minecraft.entity.passive.PandaEntity
net.minecraft.entity.passive.PandaEntity
net.minecraft.src.C_864_
net.minecraft.world.entity.animal.EntityOcelot

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
cb
UNHAPPY_COUNTER
field_6764
f_atzkabla
ASK_FOR_BAMBOO_TICKS
ASK_FOR_BAMBOO_TICKS
f_29073_
private static final EntityDataAccessor<Integer>
cd
SNEEZE_COUNTER
field_6771
f_ldbqmjqq
SNEEZE_PROGRESS
SNEEZE_PROGRESS
f_29074_
private static final EntityDataAccessor<Integer>
ce
EAT_COUNTER
field_6780
f_etskruvh
EATING_TICKS
EATING_TICKS
f_29075_
private static final EntityDataAccessor<Byte>
cf
MAIN_GENE_ID
field_6766
f_msmqxszy
MAIN_GENE
MAIN_GENE
f_29076_
private static final EntityDataAccessor<Byte>
cg
HIDDEN_GENE_ID
field_6781
f_cxfblpnk
HIDDEN_GENE
HIDDEN_GENE
f_29077_
private static final EntityDataAccessor<Byte>
ch
DATA_ID_FLAGS
field_6768
f_zujszpzs
PANDA_FLAGS
PANDA_FLAGS
f_29078_
static final TargetingConditions
ci
BREED_TARGETING
field_21803
f_vmidpwwb
ASK_FOR_BAMBOO_TARGET
ASK_FOR_BAMBOO_TARGET
f_29079_
private static final EntityDimensions
cj
BABY_DIMENSIONS
field_47773
f_umascrqh
BABY_BASE_DIMENSIONS
BABY_DIMENSIONS
f_316579_
private static final int
ck
FLAG_SNEEZE
field_30344
f_yqzucmdm
SNEEZING_FLAG
SNEEZING_FLAG
f_148960_
private static final int
cl
FLAG_ROLL
field_30345
f_dkvzgtwk
PLAYING_FLAG
PLAYING_FLAG
f_148961_
private static final int
cm
FLAG_SIT
field_30346
f_aauupedi
SITTING_FLAG
SCARED_FLAG
f_148962_
private static final int
cn
FLAG_ON_BACK
field_30347
f_xswdhdvi
LYING_ON_BACK_FLAG
LYING_ON_BACK_FLAG
f_148963_
private static final int
co
EAT_TICK_INTERVAL
field_30348
f_huxkofnh
EATING_ANIMATION_INTERVAL
EAT_TICK_INTERVAL
f_148964_
public static final int
bZ
TOTAL_ROLL_STEPS
field_30343
f_znnbhixw
MAIN_GENE_MUTATION_CHANCE
TOTAL_ROLL_STEPS
f_148959_
private static final int
cp
TOTAL_UNHAPPY_TIME
field_30349
f_ngbiulef
HIDDEN_GENE_MUTATION_CHANCE
TOTAL_UNHAPPY_TIME
f_148965_
boolean
cq
gotBamboo
field_6769
f_sksxuvrc
shouldGetRevenge
shouldGetRevenge
f_29080_
boolean
cr
didBite
field_6770
f_isekwnez
shouldAttack
shouldAttack
f_29081_
public int
ca
rollCounter
field_6767
f_exglwjlc
playingTicks
playingTicks
f_29072_
private Vec3
cs
rollDelta
field_18277
f_lqyfxnbv
playingJump
playingJump
f_29082_
private float
ct
sitAmount
field_6777
f_vzewvcle
sittingAnimationProgress
scaredAnimationProgress
f_29083_
private float
cu
sitAmountO
field_6779
f_syelvfob
lastSittingAnimationProgress
lastScaredAnimationProgress
f_29065_
private float
cv
onBackAmount
field_6774
f_gtmvomiy
lieOnBackAnimationProgress
lieOnBackAnimationProgress
f_29066_
private float
cw
onBackAmountO
field_6775
f_pgnztokh
lastLieOnBackAnimationProgress
lastLieOnBackAnimationProgress
f_29067_
private float
cx
rollAmount
field_6772
f_rvxvhibf
rollOverAnimationProgress
rollOverAnimationProgress
f_29068_
private float
cy
rollAmountO
field_6773
f_susxkkyr
lastRollOverAnimationProgress
lastRollOverAnimationProgress
f_29069_
Panda$PandaLookAtPlayerGoal
cz
lookAtPlayerGoal
field_21804
f_mmixdadl
lookAtPlayerGoal
lookAtPlayerGoal
f_29070_

Constructor summary

ModifierConstructor
public (EntityType<? extends Panda> p_29087_, Level world)

Method summary

Modifier and TypeMethod
protected boolean
f(bvr arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
m_zqlgoica(C_yuycoehb arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
m_218379_(C_516_ arg0)
public int
p()
getUnhappyCounter()
method_6521()
m_zppqsxlq()
getAskForBambooTicks()
getAskForBambooTicks()
m_29148_()
public void
s(int arg0)
setUnhappyCounter(int arg0)
method_6517(int arg0)
m_zgmyswwj(int arg0)
setAskForBambooTicks(int askForBambooTicks)
setAskForBambooTicks(int askForBambooTicks)
m_29206_(int arg0)
public boolean
t()
isSneezing()
method_6545()
m_lahhrres()
isSneezing()
isSneezing()
m_29149_()
public boolean
x()
isSitting()
method_6535()
m_gtvhpjje()
isSitting()
isScared()
m_29150_()
public void
x(boolean arg0)
sit(boolean arg0)
method_6513(boolean arg0)
m_utupmiku(boolean arg0)
setSitting(boolean sitting)
setScared(boolean scared)
m_29208_(boolean arg0)
public boolean
go()
isOnBack()
method_6514()
m_ejbgiqkr()
isLyingOnBack()
isLyingOnBack()
m_29151_()
public void
y(boolean arg0)
setOnBack(boolean arg0)
method_6505(boolean arg0)
m_zfmgvrhj(boolean arg0)
setLyingOnBack(boolean lyingOnBack)
setLyingOnBack(boolean lyingOnBack)
m_29212_(boolean arg0)
public boolean
gp()
isEating()
method_6527()
m_oyddteww()
isEating()
isEating()
m_29152_()
public void
z(boolean arg0)
eat(boolean arg0)
method_6552(boolean arg0)
m_osmrkcvb(boolean arg0)
setEating(boolean eating)
setEating(boolean eating)
m_29216_(boolean arg0)
private int
gL()
getEatCounter()
method_6528()
m_lxwngrwd()
getEatingTicks()
getEatingTicks()
m_29170_()
private void
u(int arg0)
setEatCounter(int arg0)
method_6558(int arg0)
m_djjrtvuy(int arg0)
setEatingTicks(int eatingTicks)
setEatingTicks(int eatingTicks)
m_29214_(int arg0)
public void
A(boolean arg0)
sneeze(boolean arg0)
method_6546(boolean arg0)
m_jmpdwqmv(boolean arg0)
setSneezing(boolean sneezing)
setSneezing(boolean sneezing)
m_29220_(boolean arg0)
public int
gq()
getSneezeCounter()
method_6532()
m_oyivnfrx()
getSneezeProgress()
getSneezeProgress()
m_29153_()
public void
t(int arg0)
setSneezeCounter(int arg0)
method_6539(int arg0)
m_qiuoqxyv(int arg0)
setSneezeProgress(int sneezeProgress)
setSneezeProgress(int sneezeProgress)
m_29210_(int arg0)
public Panda$Gene
gr()
getMainGene()
method_6525()
m_mrlyynsk()
getMainGene()
getMainGene()
m_29154_()
public void
a(cil$a arg0)
setMainGene(Panda$Gene arg0)
method_6529(class_1440$class_1443 arg0)
m_rfucfbtt(C_ogdzfiek$C_djzoyosk arg0)
setMainGene(PandaEntity$Gene gene)
setMainGene(PandaEntity$Gene gene)
m_29099_(C_864_$C_865_ arg0)
public Panda$Gene
gs()
getHiddenGene()
method_6508()
m_pbhcmlvv()
getHiddenGene()
getHiddenGene()
m_29155_()
public void
b(cil$a arg0)
setHiddenGene(Panda$Gene arg0)
method_6547(class_1440$class_1443 arg0)
m_sndnmaae(C_ogdzfiek$C_djzoyosk arg0)
setHiddenGene(PandaEntity$Gene gene)
setHiddenGene(PandaEntity$Gene gene)
m_29116_(C_864_$C_865_ arg0)
public boolean
gA()
isRolling()
method_6526()
m_jqqgbkjz()
isPlaying()
isPlaying()
m_29156_()
public void
B(boolean arg0)
roll(boolean arg0)
method_6541(boolean arg0)
m_rqcwiqqd(boolean arg0)
setPlaying(boolean playing)
setPlaying(boolean playing)
m_29222_(boolean arg0)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
private boolean
v(int arg0)
getFlag(int arg0)
method_6533(int arg0)
m_rnkrwtww(int arg0)
hasPandaFlag(int bitmask)
hasPandaFlag(int bitmask)
m_29218_(int arg0)
private void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_6557(int arg0, boolean arg1)
m_qpicwtsh(int arg0, boolean arg1)
setPandaFlag(int mask, boolean value)
setPandaFlag(int mask, boolean value)
m_29134_(int p_29136_, boolean arg1)
public void
b(ux 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(ux 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 AgeableMob
a(ash arg0, bva 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_148968_, C_141062_ arg1)
protected void
B()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
gB()
createAttributes()
method_26888()
m_qkabypre()
createPandaAttributes()
createAttributes()
m_29157_()
public Panda$Gene
gC()
getVariant()
method_6554()
m_nunrbrgb()
getProductGene()
getProductGene()
m_29158_()
public boolean
gD()
isLazy()
method_6549()
m_fopuguvz()
isLazy()
isLazy()
m_29161_()
public boolean
gE()
isWorried()
method_6509()
m_kihafctk()
isWorried()
isWorried()
m_29162_()
public boolean
gF()
isPlayful()
method_6522()
m_hejiisvh()
isPlayful()
isPlayful()
m_29163_()
public boolean
gG()
isBrown()
method_35173()
m_qxchjigc()
isBrown()
isBrown()
m_148973_()
public boolean
gH()
isWeak()
method_6550()
m_elvgoqrx()
isWeak()
isWeak()
m_29164_()
public boolean
gd()
isAggressive()
method_6510()
m_vljdject()
isAttacking()
isAttacking()
m_5912_()
public boolean
y()
canBeLeashed()
method_5931()
m_xvyvanvw()
canBeLeashed()
canBeLeashed()
m_6573_()
public boolean
c(ash arg0, bvj arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
m_orenzeoc(C_bdwnwhiu arg0, C_astfners arg1)
tryAttack(ServerWorld arg0, Entity arg1)
tryAttack(ServerWorld arg0, Entity arg1)
m_7327_(C_12_ p_29091_, C_507_ arg1)
public void
gf()
playAttackSound()
method_59928()
m_dwkutgwm()
playAttackSound()
playAttackSound()
m_339982_()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public boolean
gI()
isScared()
method_6524()
m_qpsfcceu()
isScaredByThunderstorm()
isScaredByThunderstorm()
m_29165_()
private void
gM()
handleEating()
method_6536()
m_otwhcqoe()
updateEatingAnimation()
updateEatingAnimation()
m_29171_()
private void
gN()
addEatingParticles()
method_6512()
m_gssqiqdy()
playEatingAnimation()
playEatingAnimation()
m_29172_()
private void
gO()
updateSitAmount()
method_6544()
m_xwvzmeou()
updateSittingAnimation()
updateScaredAnimation()
m_29173_()
private void
gP()
updateOnBackAnimation()
method_6503()
m_azemiuag()
updateLieOnBackAnimation()
updateLieOnBackAnimation()
m_29174_()
private void
gQ()
updateRollAmount()
method_6523()
m_lybngpkd()
updateRollOverAnimation()
updateRollOverAnimation()
m_29175_()
public float
J(float arg0)
getSitAmount(float arg0)
method_6534(float arg0)
m_ieyebqay(float arg0)
getSittingAnimationProgress(float tickDelta)
getScaredAnimationProgress(float tickDelta)
m_29224_(float arg0)
public float
K(float arg0)
getLieOnBackAmount(float arg0)
method_6555(float arg0)
m_ztfblmej(float arg0)
getLieOnBackAnimationProgress(float tickDelta)
getLayingAnimationProgress(float tickDelta)
m_29226_(float arg0)
public float
L(float arg0)
getRollAmount(float arg0)
method_6560(float arg0)
m_ekchzocl(float arg0)
getRollOverAnimationProgress(float tickDelta)
getRollOverAnimationProgress(float tickDelta)
m_29088_(float arg0)
private void
gR()
handleRoll()
method_6537()
m_ngfhflvi()
updatePlaying()
updatePlaying()
m_29176_()
private void
gS()
afterSneeze()
method_6548()
m_mvsciniz()
sneeze()
sneeze()
m_29177_()
protected void
a(ash arg0, cma arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
m_avgkrrey(C_bdwnwhiu arg0, C_uqpzijng arg1)
loot(ServerWorld arg0, ItemEntity arg1)
loot(ServerWorld arg0, ItemEntity arg1)
m_7581_(C_12_ p_29121_, C_976_ arg1)
public boolean
a(ash arg0, btz arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_fuenwjjy(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_366264_, C_489_ p_361030_, float arg2)
public SpawnGroupData
a(dhy arg0, btg arg1, bvp arg2, bwy arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_29110_, C_469_ p_363460_, C_345845_ p_29112_, C_542_ arg3)
public void
a(cil arg0, cil arg1)
setGeneFromParents(Panda arg0, Panda arg1)
method_6515(class_1440 arg0, class_1440 arg1)
m_hocynznk(C_ogdzfiek arg0, C_ogdzfiek arg1)
initGenes(PandaEntity mother, PandaEntity father)
initGenes(PandaEntity mother, PandaEntity father)
m_29103_(C_864_ p_29105_, C_864_ arg1)
private Panda$Gene
gT()
getOneOfGenesRandomly()
method_6519()
m_ooiciybb()
getRandomGene()
getRandomGene()
m_29178_()
public void
gJ()
setAttributes()
method_6538()
m_narbdsbi()
resetAttributes()
resetAttributes()
m_29166_()
void
gU()
tryToSit()
method_18057()
m_slvxcbou()
stop()
stop()
m_29179_()
public InteractionResult
b(cpw arg0, bth 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_29124_, C_470_ arg1)
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected void
b(jh arg0, dxu 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_29127_, C_2064_ arg1)
public boolean
j(cxo 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)
protected SoundEvent
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected SoundEvent
e(btz 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)
public boolean
gK()
canPerformAction()
method_18442()
m_wyhmqufi()
isIdle()
isIdle()
m_29167_()
public EntityDimensions
e(bwr arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
private static boolean
b(cma arg0)
canPickUpAndEat(ItemEntity arg0)
method_64177(class_1542 arg0)
m_rtktyahw(C_uqpzijng arg0)
canEatFromGround(ItemEntity itemEntity)
m_353233_(C_976_ p_363198_)