net.minecraft.world.entity.animal.panda

public class Panda

extends Animal

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting

cww
net.minecraft.world.entity.animal.panda.Panda
net.minecraft.class_1440
net.minecraft.entity.passive.PandaEntity
net.minecraft.src.C_432221_
net.minecraft.world.entity.animal.panda.EntityPanda

字段概要

修饰符与类型字段
private static final EntityDataAccessor<Integer>
cx
UNHAPPY_COUNTER
field_6764
ASK_FOR_BAMBOO_TICKS
f_434227_
private static final EntityDataAccessor<Integer>
cz
SNEEZE_COUNTER
field_6771
SNEEZE_PROGRESS
f_434452_
private static final EntityDataAccessor<Integer>
cA
EAT_COUNTER
field_6780
EATING_TICKS
f_434918_
private static final EntityDataAccessor<Byte>
cB
MAIN_GENE_ID
field_6766
MAIN_GENE
f_435597_
private static final EntityDataAccessor<Byte>
cC
HIDDEN_GENE_ID
field_6781
HIDDEN_GENE
f_433473_
private static final EntityDataAccessor<Byte>
cD
DATA_ID_FLAGS
field_6768
PANDA_FLAGS
f_437357_
static final TargetingConditions
cE
BREED_TARGETING
field_21803
ASK_FOR_BAMBOO_TARGET
f_436822_
private static final EntityDimensions
cF
BABY_DIMENSIONS
field_47773
BABY_BASE_DIMENSIONS
f_436007_
private static final int
cG
FLAG_SNEEZE
field_30344
SNEEZING_FLAG
f_433296_
private static final int
cH
FLAG_ROLL
field_30345
PLAYING_FLAG
f_436750_
private static final int
cI
FLAG_SIT
field_30346
SITTING_FLAG
f_437377_
private static final int
cJ
FLAG_ON_BACK
field_30347
LYING_ON_BACK_FLAG
f_433974_
private static final int
cK
EAT_TICK_INTERVAL
field_30348
EATING_ANIMATION_INTERVAL
f_435534_
public static final int
cv
TOTAL_ROLL_STEPS
field_30343
MAIN_GENE_MUTATION_CHANCE
f_436641_
private static final int
cL
TOTAL_UNHAPPY_TIME
field_30349
HIDDEN_GENE_MUTATION_CHANCE
f_435623_
boolean
cM
gotBamboo
field_6769
shouldGetRevenge
f_435381_
boolean
cN
didBite
field_6770
shouldAttack
f_434436_
public int
cw
rollCounter
field_6767
playingTicks
f_436148_
private Vec3
cO
rollDelta
field_18277
playingJump
f_435992_
private float
cP
sitAmount
field_6777
sittingAnimationProgress
f_436869_
private float
cQ
sitAmountO
field_6779
lastSittingAnimationProgress
f_435856_
private float
cR
onBackAmount
field_6774
lieOnBackAnimationProgress
f_436401_
private float
cU
onBackAmountO
field_6775
lastLieOnBackAnimationProgress
f_436412_
private float
cV
rollAmount
field_6772
rollOverAnimationProgress
f_435280_
private float
cW
rollAmountO
field_6773
lastRollOverAnimationProgress
f_437091_
Panda$PandaLookAtPlayerGoal
cX
lookAtPlayerGoal
field_21804
lookAtPlayerGoal
f_433850_

构造函数概要

修饰符构造函数
public (EntityType<? extends Panda> p_459132_, Level arg1)

方法概要

修饰符与类型方法
protected boolean
f(cgv arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
m_218379_(C_516_ arg0)
public int
p()
getUnhappyCounter()
method_6521()
getAskForBambooTicks()
m_442802_()
public void
s(int arg0)
setUnhappyCounter(int arg0)
method_6517(int arg0)
setAskForBambooTicks(int askForBambooTicks)
m_443656_(int arg0)
public boolean
gP()
isSneezing()
method_6545()
isSneezing()
m_439117_()
public boolean
gQ()
isSitting()
method_6535()
isSitting()
m_447340_()
public void
x(boolean arg0)
sit(boolean arg0)
method_6513(boolean arg0)
setSitting(boolean sitting)
m_439920_(boolean arg0)
public boolean
gR()
isOnBack()
method_6514()
isLyingOnBack()
m_444336_()
public void
y(boolean arg0)
setOnBack(boolean arg0)
method_6505(boolean arg0)
setLyingOnBack(boolean lyingOnBack)
m_445648_(boolean arg0)
public boolean
gS()
isEating()
method_6527()
isEating()
m_442779_()
public void
z(boolean arg0)
eat(boolean arg0)
method_6552(boolean arg0)
setEating(boolean eating)
m_446903_(boolean arg0)
private int
ho()
getEatCounter()
method_6528()
getEatingTicks()
m_445144_()
private void
u(int arg0)
setEatCounter(int arg0)
method_6558(int arg0)
setEatingTicks(int eatingTicks)
m_445772_(int arg0)
public void
A(boolean arg0)
sneeze(boolean arg0)
method_6546(boolean arg0)
setSneezing(boolean sneezing)
m_445108_(boolean arg0)
public int
gT()
getSneezeCounter()
method_6532()
getSneezeProgress()
m_444663_()
public void
t(int arg0)
setSneezeCounter(int arg0)
method_6539(int arg0)
setSneezeProgress(int sneezeProgress)
m_447083_(int arg0)
public Panda$Gene
gU()
getMainGene()
method_6525()
getMainGene()
m_446956_()
public void
a(cww$a arg0)
setMainGene(Panda$Gene arg0)
method_6529(class_1440$class_1443 arg0)
setMainGene(PandaEntity$Gene gene)
m_441096_(C_432221_$C_432664_ arg0)
public Panda$Gene
gV()
getHiddenGene()
method_6508()
getHiddenGene()
m_447195_()
public void
b(cww$a arg0)
setHiddenGene(Panda$Gene arg0)
method_6547(class_1440$class_1443 arg0)
setHiddenGene(PandaEntity$Gene gene)
m_446241_(C_432221_$C_432664_ arg0)
public boolean
hd()
isRolling()
method_6526()
isPlaying()
m_445622_()
public void
B(boolean arg0)
roll(boolean arg0)
method_6541(boolean arg0)
setPlaying(boolean playing)
m_441757_(boolean arg0)
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
private boolean
v(int arg0)
getFlag(int arg0)
method_6533(int arg0)
hasPandaFlag(int bitmask)
m_445784_(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)
m_439307_(int p_452676_, boolean arg1)
protected void
a(fns arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_7380_(C_398537_ arg0)
protected void
a(fnq arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_7378_(C_398549_ arg0)
public AgeableMob
a(axf arg0, cfy arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_460745_, C_141062_ arg1)
protected void
D()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
he()
createAttributes()
method_26888()
createPandaAttributes()
m_443606_()
public Panda$Gene
hf()
getVariant()
method_6554()
getProductGene()
m_439976_()
public boolean
hg()
isLazy()
method_6549()
isLazy()
m_441422_()
public boolean
hh()
isWorried()
method_6509()
isWorried()
m_439080_()
public boolean
hi()
isPlayful()
method_6522()
isPlayful()
m_442000_()
public boolean
hj()
isBrown()
method_35173()
isBrown()
m_444963_()
public boolean
hk()
isWeak()
method_6550()
isWeak()
m_442303_()
public boolean
gI()
isAggressive()
method_6510()
isAttacking()
m_5912_()
public boolean
aj_()
canBeLeashed()
method_5931()
canBeLeashed()
m_6573_()
public boolean
c(axf arg0, cgk arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld arg0, Entity arg1)
m_7327_(C_12_ p_453148_, C_507_ arg1)
public void
fN()
playAttackSound()
method_59928()
playAttackSound()
m_340108_()
public void
g()
tick()
method_5773()
tick()
m_8119_()
public boolean
hl()
isScared()
method_6524()
isScaredByThunderstorm()
m_443023_()
private void
hp()
handleEating()
method_6536()
updateEatingAnimation()
m_442750_()
private void
hq()
addEatingParticles()
method_6512()
playEatingAnimation()
m_445915_()
private void
hr()
updateSitAmount()
method_6544()
updateSittingAnimation()
m_441449_()
private void
hs()
updateOnBackAnimation()
method_6503()
updateLieOnBackAnimation()
m_442478_()
private void
ht()
updateRollAmount()
method_6523()
updateRollOverAnimation()
m_440183_()
public float
L(float arg0)
getSitAmount(float arg0)
method_6534(float arg0)
getSittingAnimationProgress(float tickProgress)
m_445698_(float arg0)
public float
M(float arg0)
getLieOnBackAmount(float arg0)
method_6555(float arg0)
getLieOnBackAnimationProgress(float tickProgress)
m_439680_(float arg0)
public float
N(float arg0)
getRollAmount(float arg0)
method_6560(float arg0)
getRollOverAnimationProgress(float tickProgress)
m_439914_(float arg0)
private void
hu()
handleRoll()
method_6537()
updatePlaying()
m_439741_()
private void
hv()
afterSneeze()
method_6548()
sneeze()
m_441125_()
protected void
a(axf arg0, czl arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld arg0, ItemEntity arg1)
m_7581_(C_12_ p_457037_, C_976_ arg1)
public boolean
a(axf arg0, cex arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_455501_, C_489_ p_454539_, float arg2)
public SpawnGroupData
a(dxf arg0, cda arg1, cgt arg2, cie arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_450273_, C_469_ p_460166_, C_345845_ p_460069_, C_542_ arg3)
public void
a(cww arg0, cww arg1)
setGeneFromParents(Panda arg0, Panda arg1)
method_6515(class_1440 arg0, class_1440 arg1)
initGenes(PandaEntity mother, PandaEntity father)
m_441437_(C_432221_ p_453257_, C_432221_ arg1)
private Panda$Gene
hw()
getOneOfGenesRandomly()
method_6519()
getRandomGene()
m_444391_()
public void
hm()
setAttributes()
method_6538()
resetAttributes()
m_445224_()
void
hx()
tryToSit()
method_18057()
stop()
m_441972_()
public InteractionResult
b(ddm arg0, cdb arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_456087_, C_470_ arg1)
protected SoundEvent
W()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected void
b(is arg0, eoh arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_460819_, C_2064_ arg1)
public boolean
j(dlt arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
protected SoundEvent
fd()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
h(cex arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
public boolean
hn()
canPerformAction()
method_18442()
isIdle()
m_440607_()
public EntityDimensions
b(chx arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
private static boolean
b(czl arg0)
canPickUpAndEat(ItemEntity arg0)
method_64177(class_1542 arg0)
canEatFromGround(ItemEntity itemEntity)
m_443149_(C_976_ p_452195_)