net.minecraft.world.entity.animal

public class Panda

extends Animal

All mapped superinterfaces:

Nameable, CommandSource

arl
net.minecraft.world.entity.animal.Panda
net.minecraft.class_1440
net.minecraft.entity.passive.PandaEntity
net.minecraft.entity.passive.PandaEntity
net.minecraft.server.v1_14_R1.EntityPanda

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
bA
UNHAPPY_COUNTER
field_6764
ASK_FOR_BAMBOO_TICKS
field_213609_bA
private static final EntityDataAccessor<Integer>
bB
SNEEZE_COUNTER
field_6771
SNEEZE_PROGRESS
field_213593_bB
private static final EntityDataAccessor<Integer>
bC
EAT_COUNTER
field_6780
EATING_TICKS
field_213594_bD
private static final EntityDataAccessor<Byte>
bD
MAIN_GENE_ID
field_6766
MAIN_GENE
field_213595_bE
private static final EntityDataAccessor<Byte>
bE
HIDDEN_GENE_ID
field_6781
HIDDEN_GENE
field_213596_bF
private static final EntityDataAccessor<Byte>
bF
DATA_ID_FLAGS
field_6768
PANDA_FLAGS
field_213597_bG
private boolean
bG
gotBamboo
field_6769
shouldGetRevenge
field_213598_bH
private boolean
bH
didBite
field_6770
shouldAttack
field_213599_bI
public int
bz
rollCounter
field_6767
playingTicks
field_213608_bz
private Vec3
bI
rollDelta
field_18277
playingJump
field_213600_bJ
private float
bJ
sitAmount
field_6777
scaredAnimationProgress
field_213601_bK
private float
bK
sitAmountO
field_6779
lastScaredAnimationProgress
field_213602_bL
private float
bL
onBackAmount
field_6774
lieOnBackAnimationProgress
field_213603_bM
private float
bM
onBackAmountO
field_6775
lastLieOnBackAnimationProgress
field_213604_bN
private float
bN
rollAmount
field_6772
rollOverAnimationProgress
field_213605_bO
private float
bO
rollAmountO
field_6773
lastRollOverAnimationProgress
field_213606_bP
private static final Predicate<ItemEntity>
bP
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(bcj arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canPickUp(ItemStack arg0)
func_213365_e(ItemStack arg0)
public int
dV()
getUnhappyCounter()
method_6521()
getAskForBambooTicks()
func_213544_dV()
public void
s(int arg0)
setUnhappyCounter(int arg0)
method_6517(int arg0)
setAskForBambooTicks(int askForBambooTicks)
func_213588_r(int arg0)
public boolean
dW()
isSneezing()
method_6545()
isSneezing()
func_213539_dW()
public boolean
dX()
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
dY()
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
dZ()
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
es()
getEatCounter()
method_6528()
getEatingTicks()
func_213559_es()
private void
u(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
ee()
getSneezeCounter()
method_6532()
getSneezeProgress()
func_213585_ee()
public void
t(int arg0)
setSneezeCounter(int arg0)
method_6539(int arg0)
setSneezeProgress(int sneezeProgress)
func_213562_s(int arg0)
public Panda$Gene
ef()
getMainGene()
method_6525()
getMainGene()
func_213549_ef()
getMainGene()
public void
a(arl$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
eg()
getHiddenGene()
method_6508()
getHiddenGene()
func_213536_eg()
getHiddenGene()
public void
b(arl$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
eh()
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
u_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
private boolean
v(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(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(id arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public AgableMob
a(aim 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
cl()
registerAttributes()
method_6001()
initAttributes()
func_110147_ax()
initAttributes()
public Panda$Gene
ei()
getVariant()
method_6554()
getProductGene()
func_213590_ei()
public boolean
ej()
isLazy()
method_6549()
isLazy()
func_213584_ej()
public boolean
ek()
isWorried()
method_6509()
isWorried()
func_213569_ek()
public boolean
el()
isPlayful()
method_6522()
isPlayful()
func_213557_el()
public boolean
en()
isWeak()
method_6550()
isWeak()
func_213582_en()
public boolean
dR()
isAggressive()
method_6510()
isAttacking()
func_213398_dR()
public boolean
a(awg arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public boolean
C(aio 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
eo()
isScared()
method_6524()
func_213566_eo()
private void
et()
handleEating()
method_6536()
updateEatingAnimation()
func_213546_et()
private void
eu()
addEatingParticles()
method_6512()
playEatingAnimation()
func_213533_eu()
private void
ev()
updateSitAmount()
method_6544()
updateScaredAnimation()
func_213574_ev()
private void
ew()
updateOnBackAnimation()
method_6503()
updateLieOnBackAnimation()
func_213563_ew()
private void
ex()
updateRollAmount()
method_6523()
updateRollOverAnimation()
func_213550_ex()
private void
ey()
handleRoll()
method_6537()
updatePlaying()
func_213535_ey()
private void
ez()
afterSneeze()
method_6548()
sneeze()
func_213577_ez()
protected void
a(atx arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
func_175445_a(ItemEntity arg0)
public boolean
a(ahx 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(bhs arg0, ahh arg1, aja arg2, ajj arg3, id 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(arl arg0, arl 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
eA()
getOneOfGenesRandomly()
method_6519()
getRandomGene()
func_213568_eA()
public void
ep()
setAttributes()
method_6538()
resetAttributes()
func_213554_ep()
private void
eB()
tryToSit()
method_18057()
stop()
func_213586_eB()
public boolean
a(awg arg0, ahi 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(ew arg0, bvt 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(bcj arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private boolean
j(bcj arg0)
isFoodOrCake(ItemStack arg0)
method_16106(class_1799 arg0)
canEat(ItemStack stack)
func_213548_j(ItemStack arg0)
protected SoundEvent
cH()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
e(ahx arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
public boolean
eq()
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)