net.minecraft.world.entity.animal

public class Panda

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

atl
net.minecraft.world.entity.animal.Panda
net.minecraft.class_1440
net.minecraft.entity.passive.PandaEntity
net.minecraft.entity.passive.PandaEntity
net.minecraft.server.v1_15_R1.EntityPanda

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bx
UNHAPPY_COUNTER
field_6764
ASK_FOR_BAMBOO_TICKS
field_213609_bA
private static final EntityDataAccessor<Integer>
by
SNEEZE_COUNTER
field_6771
SNEEZE_PROGRESS
field_213593_bB
private static final EntityDataAccessor<Integer>
bz
EAT_COUNTER
field_6780
EATING_TICKS
field_213594_bD
private static final EntityDataAccessor<Byte>
bA
MAIN_GENE_ID
field_6766
MAIN_GENE
field_213595_bE
private static final EntityDataAccessor<Byte>
bB
HIDDEN_GENE_ID
field_6781
HIDDEN_GENE
field_213596_bF
private static final EntityDataAccessor<Byte>
bC
DATA_ID_FLAGS
field_6768
PANDA_FLAGS
field_213597_bG
private static final TargetingConditions
bD
BREED_TARGETING
field_21803
field_229963_bD_
private boolean
bE
gotBamboo
field_6769
shouldGetRevenge
field_213598_bH
private boolean
bF
didBite
field_6770
shouldAttack
field_213599_bI
public int
bw
rollCounter
field_6767
playingTicks
field_213608_bz
private Vec3
bG
rollDelta
field_18277
playingJump
field_213600_bJ
private float
bH
sitAmount
field_6777
scaredAnimationProgress
field_213601_bK
private float
bI
sitAmountO
field_6779
lastScaredAnimationProgress
field_213602_bL
private float
bJ
onBackAmount
field_6774
lieOnBackAnimationProgress
field_213603_bM
private float
bK
onBackAmountO
field_6775
lastLieOnBackAnimationProgress
field_213604_bN
private float
bL
rollAmount
field_6772
rollOverAnimationProgress
field_213605_bO
private float
bM
rollAmountO
field_6773
lastRollOverAnimationProgress
field_213606_bP
private Panda$PandaLookAtPlayerGoal
bN
lookAtPlayerGoal
field_21804
field_229964_bN_
private static final Predicate<ItemEntity>
bO
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(bek arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canPickUp(ItemStack arg0)
func_213365_e(ItemStack arg0)
public int
eq()
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
er()
isSneezing()
method_6545()
isSneezing()
func_213539_dW()
public boolean
es()
isSitting()
method_6535()
isScared()
func_213556_dX()
public void
r(boolean arg0)
sit(boolean arg0)
method_6513(boolean arg0)
setScared(boolean scared)
func_213553_r(boolean arg0)
public boolean
et()
isOnBack()
method_6514()
isLyingOnBack()
func_213567_dY()
public void
s(boolean arg0)
setOnBack(boolean arg0)
method_6505(boolean arg0)
setLyingOnBack(boolean lyingOnBack)
func_213542_s(boolean arg0)
public boolean
eu()
isEating()
method_6527()
isEating()
func_213578_dZ()
public void
t(boolean arg0)
eat(boolean arg0)
method_6552(boolean arg0)
setEating(boolean eating)
func_213534_t(boolean arg0)
private int
eO()
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
u(boolean arg0)
sneeze(boolean arg0)
method_6546(boolean arg0)
setSneezing(boolean sneezing)
func_213581_u(boolean arg0)
public int
ez()
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
eA()
getMainGene()
method_6525()
getMainGene()
func_213549_ef()
getMainGene()
public void
a(atl$a arg0)
setMainGene(Panda$Gene arg0)
method_6529(class_1440$class_1443 arg0)
setMainGene(PandaEntity$Gene gene)
func_213589_a(PandaEntity$Type arg0)
setMainGene(EntityPanda$Gene arg0)
public Panda$Gene
eB()
getHiddenGene()
method_6508()
getHiddenGene()
func_213536_eg()
getHiddenGene()
public void
b(atl$a arg0)
setHiddenGene(Panda$Gene arg0)
method_6547(class_1440$class_1443 arg0)
setHiddenGene(PandaEntity$Gene gene)
func_213541_b(PandaEntity$Type arg0)
setHiddenGene(EntityPanda$Gene arg0)
public boolean
eC()
isRolling()
method_6526()
isPlaying()
func_213564_eh()
public void
v(boolean arg0)
roll(boolean arg0)
method_6541(boolean arg0)
setPlaying(boolean playing)
func_213576_v(boolean arg0)
protected void
w_()
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(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public AgableMob
a(akl arg0)
getBreedOffspring(AgableMob arg0)
method_5613(class_1296 arg0)
createChild(PassiveEntity arg0)
func_90011_a(AgeableEntity arg0)
createChild(EntityAgeable arg0)
protected void
n()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
protected void
cA()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public Panda$Gene
eD()
getVariant()
method_6554()
getProductGene()
func_213590_ei()
public boolean
eE()
isLazy()
method_6549()
isLazy()
func_213584_ej()
public boolean
eF()
isWorried()
method_6509()
isWorried()
func_213569_ek()
public boolean
eG()
isPlayful()
method_6522()
isPlayful()
func_213557_el()
public boolean
eI()
isWeak()
method_6550()
isWeak()
func_213582_en()
public boolean
em()
isAggressive()
method_6510()
isAttacking()
func_213398_dR()
public boolean
a(ayg arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public boolean
B(akn arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public boolean
eJ()
isScared()
method_6524()
func_213566_eo()
private void
eP()
handleEating()
method_6536()
updateEatingAnimation()
func_213546_et()
private void
eQ()
addEatingParticles()
method_6512()
playEatingAnimation()
func_213533_eu()
private void
eR()
updateSitAmount()
method_6544()
updateScaredAnimation()
func_213574_ev()
private void
eS()
updateOnBackAnimation()
method_6503()
updateLieOnBackAnimation()
func_213563_ew()
private void
eT()
updateRollAmount()
method_6523()
updateRollOverAnimation()
func_213550_ex()
private void
eU()
handleRoll()
method_6537()
updatePlaying()
func_213535_ey()
private void
eV()
afterSneeze()
method_6548()
sneeze()
func_213577_ez()
protected void
a(avy arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
func_175445_a(ItemEntity arg0)
public boolean
a(ajw 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(bju arg0, ajg arg1, akz arg2, alj arg3, jt 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(IWorld arg0, LocalDifficulty arg1, SpawnType 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(atl arg0, atl 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
eW()
getOneOfGenesRandomly()
method_6519()
getRandomGene()
func_213568_eA()
public void
eK()
setAttributes()
method_6538()
resetAttributes()
func_213554_ep()
private void
eX()
tryToSit()
method_18057()
stop()
func_213586_eB()
public boolean
a(ayg arg0, ajh arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_184645_a(PlayerEntity arg0, Hand arg1)
protected SoundEvent
G()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected void
a(fk arg0, byg 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
i(bek arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private boolean
j(bek arg0)
isFoodOrCake(ItemStack arg0)
method_16106(class_1799 arg0)
canEat(ItemStack stack)
func_213548_j(ItemStack arg0)
protected SoundEvent
cX()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(ajw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
public boolean
eL()
canPerformAction()
method_18442()
func_213537_eq()
public float
v(float arg0)
getSitAmount(float arg0)
method_6534(float arg0)
getScaredAnimationProgress(float tickDelta)
func_213561_v(float arg0)
public float
w(float arg0)
getLieOnBackAmount(float arg0)
method_6555(float arg0)
getLieOnBackAnimationProgress(float tickDelta)
func_213583_w(float arg0)
public float
x(float arg0)
getRollAmount(float arg0)
method_6560(float arg0)
getRollOverAnimationProgress(float tickDelta)
func_213591_x(float arg0)