net.minecraft.world.entity.animal

public class Panda

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

ayw
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_R1.EntityPanda

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bw
UNHAPPY_COUNTER
field_6764
ASK_FOR_BAMBOO_TICKS
field_213609_bA
private static final EntityDataAccessor<Integer>
bx
SNEEZE_COUNTER
field_6771
SNEEZE_PROGRESS
field_213593_bB
private static final EntityDataAccessor<Integer>
by
EAT_COUNTER
field_6780
EATING_TICKS
field_213594_bD
private static final EntityDataAccessor<Byte>
bz
MAIN_GENE_ID
field_6766
MAIN_GENE
field_213595_bE
private static final EntityDataAccessor<Byte>
bA
HIDDEN_GENE_ID
field_6781
HIDDEN_GENE
field_213596_bF
private static final EntityDataAccessor<Byte>
bB
DATA_ID_FLAGS
field_6768
PANDA_FLAGS
field_213597_bG
private static final TargetingConditions
bC
BREED_TARGETING
field_21803
ASK_FOR_BAMBOO_TARGET
field_229963_bD_
private boolean
bD
gotBamboo
field_6769
shouldGetRevenge
field_213598_bH
private boolean
bE
didBite
field_6770
shouldAttack
field_213599_bI
public int
bv
rollCounter
field_6767
playingTicks
field_213608_bz
private Vec3
bF
rollDelta
field_18277
playingJump
field_213600_bJ
private float
bG
sitAmount
field_6777
scaredAnimationProgress
field_213601_bK
private float
bH
sitAmountO
field_6779
lastScaredAnimationProgress
field_213602_bL
private float
bI
onBackAmount
field_6774
lieOnBackAnimationProgress
field_213603_bM
private float
bJ
onBackAmountO
field_6775
lastLieOnBackAnimationProgress
field_213604_bN
private float
bK
rollAmount
field_6772
rollOverAnimationProgress
field_213605_bO
private float
bL
rollAmountO
field_6773
lastRollOverAnimationProgress
field_213606_bP
private Panda$PandaLookAtPlayerGoal
bM
lookAtPlayerGoal
field_21804
lookAtPlayerGoal
field_229964_bN_
private static final Predicate<ItemEntity>
bN
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(bki arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canPickUp(ItemStack arg0)
func_213365_e(ItemStack arg0)
public int
eL()
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
eM()
isSneezing()
method_6545()
isSneezing()
func_213539_dW()
public boolean
eN()
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
eO()
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
eP()
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
fl()
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
eV()
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
eW()
getMainGene()
method_6525()
getMainGene()
func_213549_ef()
getMainGene()
public void
a(ayw$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
eX()
getHiddenGene()
method_6508()
getHiddenGene()
func_213536_eg()
getHiddenGene()
public void
b(ayw$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
eY()
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(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public AgableMob
a(aok arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public static AttributeSupplier$Builder
eZ()
createAttributes()
method_26888()
createPandaAttributes()
func_234204_eW_()
public Panda$Gene
fa()
getVariant()
method_6554()
getProductGene()
func_213590_ei()
getActiveGene()
public boolean
fb()
isLazy()
method_6549()
isLazy()
func_213584_ej()
isLazy()
public boolean
fc()
isWorried()
method_6509()
isWorried()
func_213569_ek()
isWorried()
public boolean
fd()
isPlayful()
method_6522()
isPlayful()
func_213557_el()
isPlayful()
public boolean
ff()
isWeak()
method_6550()
isWeak()
func_213582_en()
isWeak()
public boolean
eG()
isAggressive()
method_6510()
isAttacking()
func_213398_dR()
isAggressive()
public boolean
a(bec arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public boolean
B(aom 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
fg()
isScared()
method_6524()
isScaredByThunderstorm()
func_213566_eo()
private void
fm()
handleEating()
method_6536()
updateEatingAnimation()
func_213546_et()
private void
fn()
addEatingParticles()
method_6512()
playEatingAnimation()
func_213533_eu()
private void
fo()
updateSitAmount()
method_6544()
updateScaredAnimation()
func_213574_ev()
private void
fp()
updateOnBackAnimation()
method_6503()
updateLieOnBackAnimation()
func_213563_ew()
private void
fq()
updateRollAmount()
method_6523()
updateRollOverAnimation()
func_213550_ex()
private void
fr()
handleRoll()
method_6537()
updatePlaying()
func_213535_ey()
private void
fs()
afterSneeze()
method_6548()
sneeze()
func_213577_ez()
protected void
b(bbg arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
func_175445_a(ItemEntity arg0)
public boolean
a(anw 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(bqc arg0, ane arg1, apb arg2, apo arg3, le arg4)
finalizeSpawn(LevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_1936 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(WorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, CompoundTag arg4)
func_213386_a(IWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(GeneratorAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public void
a(ayw arg0, ayw 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
ft()
getOneOfGenesRandomly()
method_6519()
getRandomGene()
func_213568_eA()
public void
fh()
setAttributes()
method_6538()
resetAttributes()
func_213554_ep()
private void
fu()
tryToSit()
method_18057()
stop()
func_213586_eB()
public InteractionResult
b(bec arg0, anf 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
a(fu arg0, cfj 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(bki arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private boolean
l(bki arg0)
isFoodOrCake(ItemStack arg0)
method_16106(class_1799 arg0)
canEat(ItemStack stack)
func_213548_j(ItemStack arg0)
protected SoundEvent
dp()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(anw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
public boolean
fi()
canPerformAction()
method_18442()
isIdle()
func_213537_eq()
public float
u(float arg0)
getSitAmount(float arg0)
method_6534(float arg0)
getScaredAnimationProgress(float tickDelta)
func_213561_v(float arg0)
public float
v(float arg0)
getLieOnBackAmount(float arg0)
method_6555(float arg0)
getLieOnBackAnimationProgress(float tickDelta)
func_213583_w(float arg0)
public float
w(float arg0)
getRollAmount(float arg0)
method_6560(float arg0)
getRollOverAnimationProgress(float tickDelta)
func_213591_x(float arg0)