net.minecraft.world.entity.animal

public class Panda

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

bal
net.minecraft.world.entity.animal.Panda
net.minecraft.class_1440
net.minecraft.entity.passive.PandaEntity
net.minecraft.entity.passive.PandaEntity
net.minecraft.server.v1_16_R3.EntityPanda

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bp
UNHAPPY_COUNTER
field_6764
ASK_FOR_BAMBOO_TICKS
field_213609_bA
private static final EntityDataAccessor<Integer>
bq
SNEEZE_COUNTER
field_6771
SNEEZE_PROGRESS
field_213593_bB
private static final EntityDataAccessor<Integer>
br
EAT_COUNTER
field_6780
EATING_TICKS
field_213594_bD
private static final EntityDataAccessor<Byte>
bs
MAIN_GENE_ID
field_6766
MAIN_GENE
field_213595_bE
private static final EntityDataAccessor<Byte>
bt
HIDDEN_GENE_ID
field_6781
HIDDEN_GENE
field_213596_bF
private static final EntityDataAccessor<Byte>
bu
DATA_ID_FLAGS
field_6768
PANDA_FLAGS
field_213597_bG
private static final TargetingConditions
bv
BREED_TARGETING
field_21803
ASK_FOR_BAMBOO_TARGET
field_229963_bD_
private boolean
bw
gotBamboo
field_6769
shouldGetRevenge
field_213598_bH
private boolean
bx
didBite
field_6770
shouldAttack
field_213599_bI
public int
bo
rollCounter
field_6767
playingTicks
field_213608_bz
private Vec3
by
rollDelta
field_18277
playingJump
field_213600_bJ
private float
bz
sitAmount
field_6777
scaredAnimationProgress
field_213601_bK
private float
bA
sitAmountO
field_6779
lastScaredAnimationProgress
field_213602_bL
private float
bB
onBackAmount
field_6774
lieOnBackAnimationProgress
field_213603_bM
private float
bC
onBackAmountO
field_6775
lastLieOnBackAnimationProgress
field_213604_bN
private float
bD
rollAmount
field_6772
rollOverAnimationProgress
field_213605_bO
private float
bE
rollAmountO
field_6773
lastRollOverAnimationProgress
field_213606_bP
private Panda$PandaLookAtPlayerGoal
bF
lookAtPlayerGoal
field_21804
lookAtPlayerGoal
field_229964_bN_
private static final Predicate<ItemEntity>
bG
PANDA_ITEMS
field_6765
IS_FOOD
field_213607_bQ
PICKUP_PREDICATE

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
e(bmb arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
func_213365_e(ItemStack arg0)
public int
eK()
getUnhappyCounter()
method_6521()
getAskForBambooTicks()
func_213544_dV()
public void
t(int arg0)
setUnhappyCounter(int arg0)
method_6517(int arg0)
setAskForBambooTicks(int askForBambooTicks)
func_213588_r(int arg0)
public boolean
eL()
isSneezing()
method_6545()
isSneezing()
func_213539_dW()
public boolean
eM()
isSitting()
method_6535()
isScared()
func_213556_dX()
public void
t(boolean arg0)
sit(boolean arg0)
method_6513(boolean arg0)
setScared(boolean scared)
func_213553_r(boolean arg0)
public boolean
eN()
isOnBack()
method_6514()
isLyingOnBack()
func_213567_dY()
public void
u(boolean arg0)
setOnBack(boolean arg0)
method_6505(boolean arg0)
setLyingOnBack(boolean lyingOnBack)
func_213542_s(boolean arg0)
public boolean
eO()
isEating()
method_6527()
isEating()
func_213578_dZ()
public void
v(boolean arg0)
eat(boolean arg0)
method_6552(boolean arg0)
setEating(boolean eating)
func_213534_t(boolean arg0)
private int
fk()
getEatCounter()
method_6528()
getEatingTicks()
func_213559_es()
private void
v(int arg0)
setEatCounter(int arg0)
method_6558(int arg0)
setEatingTicks(int eatingTicks)
func_213571_t(int arg0)
public void
w(boolean arg0)
sneeze(boolean arg0)
method_6546(boolean arg0)
setSneezing(boolean sneezing)
func_213581_u(boolean arg0)
public int
eU()
getSneezeCounter()
method_6532()
getSneezeProgress()
func_213585_ee()
public void
u(int arg0)
setSneezeCounter(int arg0)
method_6539(int arg0)
setSneezeProgress(int sneezeProgress)
func_213562_s(int arg0)
public Panda$Gene
eV()
getMainGene()
method_6525()
getMainGene()
func_213549_ef()
getMainGene()
public void
a(bal$a arg0)
setMainGene(Panda$Gene arg0)
method_6529(class_1440$class_1443 arg0)
setMainGene(PandaEntity$Gene gene)
func_213589_a(PandaEntity$Gene arg0)
setMainGene(EntityPanda$Gene arg0)
public Panda$Gene
eW()
getHiddenGene()
method_6508()
getHiddenGene()
func_213536_eg()
getHiddenGene()
public void
b(bal$a arg0)
setHiddenGene(Panda$Gene arg0)
method_6547(class_1440$class_1443 arg0)
setHiddenGene(PandaEntity$Gene gene)
func_213541_b(PandaEntity$Gene arg0)
setHiddenGene(EntityPanda$Gene arg0)
public boolean
eX()
isRolling()
method_6526()
isPlaying()
func_213564_eh()
public void
x(boolean arg0)
roll(boolean arg0)
method_6541(boolean arg0)
setPlaying(boolean playing)
func_213576_v(boolean arg0)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
private boolean
w(int arg0)
getFlag(int arg0)
method_6533(int arg0)
hasPandaFlag(int bitmask)
func_213547_u(int arg0)
private void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_6557(int arg0, boolean arg1)
setPandaFlag(int mask, boolean value)
func_213587_d(int arg0, boolean arg1)
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound 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)
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public static AttributeSupplier$Builder
eY()
createAttributes()
method_26888()
createPandaAttributes()
func_234204_eW_()
public Panda$Gene
eZ()
getVariant()
method_6554()
getProductGene()
func_213590_ei()
getActiveGene()
public boolean
fa()
isLazy()
method_6549()
isLazy()
func_213584_ej()
isLazy()
public boolean
fb()
isWorried()
method_6509()
isWorried()
func_213569_ek()
isWorried()
public boolean
fc()
isPlayful()
method_6522()
isPlayful()
func_213557_el()
isPlayful()
public boolean
fe()
isWeak()
method_6550()
isWeak()
func_213582_en()
isWeak()
public boolean
eF()
isAggressive()
method_6510()
isAttacking()
func_213398_dR()
isAggressive()
public boolean
a(bfw arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
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 void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public boolean
ff()
isScared()
method_6524()
isScaredByThunderstorm()
func_213566_eo()
private void
fl()
handleEating()
method_6536()
updateEatingAnimation()
func_213546_et()
private void
fm()
addEatingParticles()
method_6512()
playEatingAnimation()
func_213533_eu()
private void
fn()
updateSitAmount()
method_6544()
updateScaredAnimation()
func_213574_ev()
private void
fo()
updateOnBackAnimation()
method_6503()
updateLieOnBackAnimation()
func_213563_ew()
private void
fp()
updateRollAmount()
method_6523()
updateRollOverAnimation()
func_213550_ex()
private void
fq()
handleRoll()
method_6537()
updatePlaying()
func_213535_ey()
private void
fr()
afterSneeze()
method_6548()
sneeze()
func_213577_ez()
protected void
b(bcv arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
func_175445_a(ItemEntity 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 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, NbtCompound 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 void
a(bal arg0, bal arg1)
setGeneFromParents(Panda arg0, Panda arg1)
method_6515(class_1440 arg0, class_1440 arg1)
initGenes(PandaEntity mother, PandaEntity father)
func_213545_a(PandaEntity arg0, PandaEntity arg1)
private Panda$Gene
fs()
getOneOfGenesRandomly()
method_6519()
getRandomGene()
func_213568_eA()
public void
fg()
setAttributes()
method_6538()
resetAttributes()
func_213554_ep()
private void
ft()
tryToSit()
method_18057()
stop()
func_213586_eB()
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)
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
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)
public boolean
k(bmb arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private boolean
l(bmb arg0)
isFoodOrCake(ItemStack arg0)
method_16106(class_1799 arg0)
canEat(ItemStack stack)
func_213548_j(ItemStack arg0)
protected SoundEvent
dq()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
public boolean
fh()
canPerformAction()
method_18442()
isIdle()
func_213537_eq()
public float
y(float arg0)
getSitAmount(float arg0)
method_6534(float arg0)
getScaredAnimationProgress(float tickDelta)
func_213561_v(float arg0)
public float
z(float arg0)
getLieOnBackAmount(float arg0)
method_6555(float arg0)
getLieOnBackAnimationProgress(float tickDelta)
func_213583_w(float arg0)
public float
A(float arg0)
getRollAmount(float arg0)
method_6560(float arg0)
getRollOverAnimationProgress(float tickDelta)
func_213591_x(float arg0)