net.minecraft.world.entity.animal

public class Bee

extends Animal implements NeutralMob, FlyingAnimal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, NeutralMob, FlyingAnimal

brm
net.minecraft.world.entity.animal.Bee
net.minecraft.class_4466
net.minecraft.unmapped.C_hgfgxpql
net.minecraft.entity.passive.BeeEntity
net.minecraft.entity.passive.BeeEntity
net.minecraft.src.C_805_
net.minecraft.world.entity.animal.EntityBee

Field summary

Modifier and TypeField
public static final float
bT
FLAP_DEGREES_PER_TICK
field_30271
f_htnzncqr
field_30271
FLAP_DEGREES_PER_TICK
f_148718_
public static final int
bU
TICKS_PER_FLAP
field_28638
f_pxhkgfpt
field_28638
TICKS_PER_FLAP
f_148719_
private static final EntityDataAccessor<Byte>
cd
DATA_FLAGS_ID
field_20353
f_fkuzfotd
BEE_FLAGS
BEE_FLAGS
f_27703_
private static final EntityDataAccessor<Integer>
ce
DATA_REMAINING_ANGER_TIME
field_20354
f_mfeadoih
ANGER
ANGER
f_27704_
private static final int
cf
FLAG_ROLL
field_30281
f_vbzxsdle
NEAR_TARGET_FLAG
NEAR_TARGET_FLAG
f_148729_
private static final int
cg
FLAG_HAS_STUNG
field_30282
f_qtgtwslc
HAS_STUNG_FLAG
HAS_STUNG_FLAG
f_148730_
private static final int
ch
FLAG_HAS_NECTAR
field_30283
f_hvsqucqz
HAS_NECTAR_FLAG
HAS_NECTAR_FLAG
f_148731_
private static final int
ci
STING_DEATH_COUNTDOWN
field_30284
f_yqhwyhuf
MAX_LIFETIME_AFTER_STINGING
STING_DEATH_COUNTDOWN
f_148732_
private static final int
cj
TICKS_BEFORE_GOING_TO_KNOWN_FLOWER
field_30285
f_ecxhjopi
FLOWER_NAVIGATION_START_TICKS
FLOWER_NAVIGATION_START_TICKS
f_148733_
private static final int
ck
TICKS_WITHOUT_NECTAR_BEFORE_GOING_HOME
field_30286
f_qrpscvfe
POLLINATION_FAIL_TICKS
POLLINATION_FAIL_TICKS
f_148734_
private static final int
cl
MIN_ATTACK_DIST
field_30287
f_whtbodsz
field_30287
MIN_ATTACK_DISTANCE
f_148735_
private static final int
cm
MAX_CROPS_GROWABLE
field_30288
f_ilshqlkm
MAX_POLLINATED_CROPS
MAX_POLLINATED_CROPS
f_148736_
private static final int
cn
POISON_SECONDS_NORMAL
field_30289
f_prgnutyk
NORMAL_DIFFICULTY_STING_POISON_DURATION
NORMAL_DIFFICULTY_STING_POISON_DURATION
f_148737_
private static final int
co
POISON_SECONDS_HARD
field_30290
f_myxhamja
HARD_DIFFICULTY_STING_POISON_DURATION
HARD_DIFFICULTY_STING_POISON_DURATION
f_148738_
private static final int
cp
TOO_FAR_DISTANCE
field_30291
f_pgbnsptu
TOO_FAR_DISTANCE
TOO_FAR_DISTANCE
f_148739_
private static final int
cq
HIVE_CLOSE_ENOUGH_DISTANCE
field_30292
f_hmzyzran
field_30292
HIVE_CLOSE_ENOUGH_DISTANCE
f_148740_
private static final int
cr
PATHFIND_TO_HIVE_WHEN_CLOSER_THAN
field_30293
f_bdaqdvyx
MIN_HIVE_RETURN_DISTANCE
MIN_HIVE_RETURN_DISTANCE
f_148741_
private static final int
cs
HIVE_SEARCH_DISTANCE
field_30294
f_lpvsbgtm
field_30294
HIVE_SEARCH_RANGE
f_148742_
public static final String
bW
TAG_CROPS_GROWN_SINCE_POLLINATION
field_30272
f_cojgwqyn
CROPS_GROWN_SINCE_POLLINATION_KEY
CROPS_GROWN_SINCE_POLLINATION_KEY
f_148720_
public static final String
bX
TAG_CANNOT_ENTER_HIVE_TICKS
field_30273
f_xjbjocrt
CANNOT_ENTER_HIVE_TICKS_KEY
CANNOT_ENTER_HIVE_TICKS_KEY
f_148721_
public static final String
bY
TAG_TICKS_SINCE_POLLINATION
field_30276
f_cjeyxcuq
TICKS_SINCE_POLLINATION_KEY
TICKS_SINCE_POLLINATION_KEY
f_148722_
public static final String
bZ
TAG_HAS_STUNG
field_30277
f_xyzgfgra
HAS_STUNG_KEY
HAS_STUNG_KEY
f_148723_
public static final String
ca
TAG_HAS_NECTAR
field_30278
f_rllxzote
HAS_NECTAR_KEY
HAS_NECTAR_KEY
f_148724_
public static final String
cb
TAG_FLOWER_POS
field_30279
f_eykewkfo
FLOWER_POS_KEY
FLOWER_POS_KEY
f_148727_
public static final String
cc
TAG_HIVE_POS
field_30280
f_mdrowaus
HIVE_POS_KEY
HIVE_POS_KEY
f_148728_
private static final UniformInt
ct
PERSISTENT_ANGER_TIME
field_25363
f_oieuxrcc
ANGER_TIME_RANGE
ANGER_TIME_RANGE
f_27705_
private UUID
cu
persistentAngerTarget
field_25364
f_wuqtubpu
angryAt
targetUuid
f_27706_
private float
cv
rollAmount
field_20356
f_emypzwxo
currentPitch
currentPitch
f_27707_
private float
cw
rollAmountO
field_20357
f_pfkojmow
lastPitch
lastPitch
f_27708_
private int
cx
timeSinceSting
field_20358
f_qtitgart
ticksSinceSting
ticksSinceSting
f_27709_
int
cy
ticksWithoutNectarSinceExitingHive
field_20359
f_ysyjkfoe
ticksSincePollination
ticksSincePollination
f_27710_
private int
cz
stayOutOfHiveCountdown
field_20360
f_vwwkdehr
cannotEnterHiveTicks
cannotEnterHiveTicks
f_27711_
private int
cA
numCropsGrownSincePollination
field_20361
f_dcwmiove
cropsGrownSincePollination
cropsGrownSincePollination
f_27712_
private static final int
cB
COOLDOWN_BEFORE_LOCATING_NEW_HIVE
field_30274
f_jrbdvmhv
field_30274
LOCATING_NEW_HIVE_COOLDOWN
f_148725_
int
cC
remainingCooldownBeforeLocatingNewHive
field_21643
f_qkzpxfch
ticksLeftToFindHive
ticksLeftToFindHive
f_27713_
private static final int
cD
COOLDOWN_BEFORE_LOCATING_NEW_FLOWER
field_30275
f_smwphlyv
field_30275
LOCATING_NEW_FLOWER_COOLDOWN
f_148726_
int
cE
remainingCooldownBeforeLocatingNewFlower
field_21644
f_hnarqsnr
ticksUntilCanPollinate
ticksUntilCanPollinate
f_27714_
BlockPos
cF
savedFlowerPos
field_20362
f_rgimjzcr
flowerPos
flowerPos
f_27697_
BlockPos
cG
hivePos
field_20363
f_heswxhvw
hivePos
hivePos
f_27698_
Bee$BeePollinateGoal
cH
beePollinateGoal
field_21079
f_jlzhazod
pollinateGoal
pollinateGoal
f_27699_
Bee$BeeGoToHiveGoal
cI
goToHiveGoal
field_21645
f_uwirnwkg
moveToHiveGoal
moveToHiveGoal
f_27700_
private Bee$BeeGoToKnownFlowerGoal
cJ
goToKnownFlowerGoal
field_21646
f_ycjsovuu
moveToFlowerGoal
moveToFlowerGoal
f_27701_
private int
cK
underWaterTicks
field_21509
f_vgpnrcpq
ticksInsideWater
ticksInsideWater
f_27702_

Constructor summary

ModifierConstructor
public (EntityType<? extends Bee> p_27718_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public float
a(gu arg0, cmp arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
m_omcdcxbz(C_hynzadkk arg0, C_eemzphbi arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_27789_, C_1599_ arg1)
protected void
x()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
public void
b(qr arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qr arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
z(bfj arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
m_orenzeoc(C_astfners arg0)
tryAttack(Entity arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public void
l()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
private void
a(cmm arg0, double arg1, double arg2, double arg3, double arg4, double arg5, it arg6)
spawnFluidParticle(Level arg0, double arg1, double arg2, double arg3, double arg4, double arg5, ParticleOptions arg6)
method_21769(class_1937 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, class_2394 arg6)
m_xrdopwjz(C_cdctfzbn arg0, double arg1, double arg2, double arg3, double arg4, double arg5, C_nqucohct arg6)
addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect)
addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect)
m_27779_(C_1596_ p_27781_, double p_27782_, double p_27784_, double p_27786_, double arg4, double arg5, C_4756_ arg6)
void
j(gu arg0)
pathfindRandomlyTowards(BlockPos arg0)
method_23987(class_2338 arg0)
m_xrvxkqxv(C_hynzadkk arg0)
startMovingTo(BlockPos pos)
startMovingTo(BlockPos pos)
m_27880_(C_4675_ arg0)
public BlockPos
q()
getSavedFlowerPos()
method_21778()
m_tivpztsa()
getFlowerPos()
getFlowerPos()
m_27851_()
public boolean
r()
hasSavedFlowerPos()
method_21779()
m_phyxujwz()
hasFlower()
hasFlower()
m_27852_()
public void
i(gu arg0)
setSavedFlowerPos(BlockPos arg0)
method_21797(class_2338 arg0)
m_puhguqkq(C_hynzadkk arg0)
setFlowerPos(BlockPos flowerPos)
setFlowerPos(BlockPos pos)
m_27876_(C_4675_ arg0)
public int
w()
getTravellingTicks()
method_35161()
m_ikwzmvgi()
getMoveGoalTicks()
getMoveGoalTicks()
m_148774_()
public List<BlockPos>
fY()
getBlacklistedHives()
method_35162()
m_glfxznpj()
getPossibleHives()
getPossibleHives()
m_148775_()
private boolean
gn()
isTiredOfLookingForNectar()
method_23983()
m_oavaeqws()
failedPollinatingTooLong()
failedPollinatingTooLong()
m_27865_()
boolean
go()
wantsToEnterHive()
method_21789()
m_ifoynezy()
canEnterHive()
canEnterHive()
m_27866_()
public void
t(int arg0)
setStayOutOfHiveCountdown(int arg0)
method_21807(int arg0)
m_kxszurdg(int arg0)
setCannotEnterHiveTicks(int cannotEnterHiveTicks)
setCannotEnterHiveTicks(int ticks)
m_27915_(int arg0)
public float
D(float arg0)
getRollAmount(float arg0)
method_21811(float arg0)
m_smqohlik(float arg0)
getBodyPitch(float tickDelta)
getBodyPitch(float tickDelta)
m_27935_(float arg0)
private void
gp()
updateRollAmount()
method_21790()
m_bypgkjae()
updateBodyPitch()
updateBodyPitch()
m_27867_()
protected void
W()
customServerAiStep()
method_5958()
m_wbeiezxn()
mobTick()
mobTick()
m_8024_()
public void
ge()
resetTicksWithoutNectarSinceExitingHive()
method_21780()
m_plqnwrzh()
resetPollinationTicks()
resetPollinationTicks()
m_27853_()
private boolean
gq()
isHiveNearFire()
method_23984()
m_zycchyeq()
isHiveNearFire()
isHiveNearFire()
m_27868_()
public int
a()
getRemainingPersistentAngerTime()
method_29507()
m_bqcsagkf()
getAngerTime()
getAngerTime()
m_6784_()
public void
a(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
m_lsgfuuiy(int arg0)
setAngerTime(int arg0)
setAngerTime(int arg0)
m_7870_(int arg0)
public UUID
b()
getPersistentAngerTarget()
method_29508()
m_sqomxrhy()
getAngryAt()
getAngryAt()
m_6120_()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
m_xthjcgcz(UUID arg0)
setAngryAt(UUID arg0)
setAngryAt(UUID arg0)
m_6925_(UUID arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
m_cfljxifr()
chooseRandomAngerTime()
chooseRandomAngerTime()
m_6825_()
private boolean
k(gu arg0)
doesHiveHaveSpace(BlockPos arg0)
method_23988(class_2338 arg0)
m_kjuwexwk(C_hynzadkk arg0)
doesHiveHaveSpace(BlockPos pos)
doesHiveHaveSpace(BlockPos pos)
m_27884_(C_4675_ arg0)
public boolean
gf()
hasHive()
method_21791()
m_jxhylkkd()
hasHive()
hasHive()
m_27854_()
public BlockPos
gg()
getHivePos()
method_23884()
m_awlbhvcb()
getHivePos()
getHivePos()
m_27855_()
public GoalSelector
gh()
getGoalSelector()
method_35163()
m_ozlexslr()
getGoalSelector()
getGoalSelector()
m_148772_()
protected void
V()
sendDebugPackets()
method_18409()
m_xozpkuaw()
sendAiDebugData()
sendAiDebugData()
m_8025_()
int
gr()
getCropsGrownSincePollination()
method_21792()
m_vacrlcro()
getCropsGrownSincePollination()
getCropsGrownSincePollination()
m_27869_()
private void
gs()
resetNumCropsGrownSincePollination()
method_21783()
m_puqypfbo()
resetCropCounter()
resetCropCounter()
m_27870_()
void
gt()
incrementNumCropsGrownSincePollination()
method_21793()
m_xhljaqzb()
addCropCounter()
addCropCounter()
m_27871_()
public void
b_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
boolean
gu()
isHiveValid()
method_21794()
m_oajtwicv()
isHiveValid()
isHiveValid()
m_27872_()
public boolean
gi()
hasNectar()
method_21784()
m_zkthdefj()
hasNectar()
hasNectar()
m_27856_()
void
w(boolean arg0)
setHasNectar(boolean arg0)
method_21805(boolean arg0)
m_jnvzmqwd(boolean arg0)
setHasNectar(boolean hasNectar)
setHasNectar(boolean hasNectar)
m_27919_(boolean arg0)
public boolean
gj()
hasStung()
method_21785()
m_yoduviar()
hasStung()
hasStung()
m_27857_()
private void
x(boolean arg0)
setHasStung(boolean arg0)
method_21806(boolean arg0)
m_cihpsqgl(boolean arg0)
setHasStung(boolean hasStung)
setHasStung(boolean hasStung)
m_27925_(boolean arg0)
private boolean
gv()
isRolling()
method_21786()
m_rcdzxefk()
isNearTarget()
isNearTarget()
m_27873_()
private void
y(boolean arg0)
setRolling(boolean arg0)
method_21808(boolean arg0)
m_purpwtls(boolean arg0)
setNearTarget(boolean nearTarget)
setNearTarget(boolean nearTarget)
m_27929_(boolean arg0)
boolean
l(gu arg0)
isTooFarAway(BlockPos arg0)
method_23990(class_2338 arg0)
m_mkieglfb(C_hynzadkk arg0)
isTooFar(BlockPos pos)
isTooFar(BlockPos pos)
m_27889_(C_4675_ arg0)
private void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_21775(int arg0, boolean arg1)
m_beiolhwp(int arg0, boolean arg1)
setBeeFlag(int bit, boolean value)
setBeeFlag(int bit, boolean value)
m_27832_(int p_27834_, boolean arg1)
private boolean
u(int arg0)
getFlag(int arg0)
method_21812(int arg0)
m_nhjjyvbc(int arg0)
getBeeFlag(int location)
getBeeFlag(int location)
m_27921_(int arg0)
public static AttributeSupplier$Builder
gk()
createAttributes()
method_26880()
m_hxcrhdeh()
createBeeAttributes()
createAttributes()
m_27858_()
protected PathNavigation
b(cmm arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
m_tqtwudhk(C_cdctfzbn arg0)
createNavigation(World arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public boolean
m(cfz arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
boolean
m(gu arg0)
isFlowerValid(BlockPos arg0)
method_23992(class_2338 arg0)
m_chaffrlt(C_hynzadkk arg0)
isFlowers(BlockPos pos)
isFlowers(BlockPos pos)
m_27896_(C_4675_ arg0)
protected void
b(gu arg0, dcb arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_27821_, C_2064_ arg1)
protected SoundEvent
s()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
d(ben arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
g_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected float
eR()
getSoundVolume()
method_6107()
m_oafzlopj()
getSoundVolume()
getSoundVolume()
m_6121_()
public Bee
b(aif arg0, bfe arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_21771(class_3218 arg0, class_1296 arg1)
m_bgqbcnfr(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_148761_, C_141062_ arg1)
protected float
b(bgl arg0, bfk arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
m_heqvdbfg(C_ufdjspmk arg0, C_sszpscpo arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_27805_, C_510_ arg1)
protected void
a(double arg0, boolean arg1, dcb arg2, gu arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
m_cckfyxyf(double arg0, boolean arg1, C_txtbiemp arg2, C_hynzadkk arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
m_7840_(double p_27755_, boolean p_27757_, C_2064_ arg2, C_4675_ arg3)
public boolean
aP()
isFlapping()
method_5776()
m_gavkvalj()
isFlappingWings()
hasWings()
m_142039_()
public boolean
gl()
isFlying()
method_6581()
m_trlmztuq()
isInAir()
isInAir()
m_29443_()
public void
gm()
dropOffNectar()
method_21788()
m_ixtjacit()
onHoneyDelivered()
onHoneyDelivered()
m_27864_()
public boolean
a(ben arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_27763_, float arg1)
public MobType
eN()
getMobType()
method_6046()
m_hjalyqwk()
getGroup()
getGroup()
m_6336_()
protected void
c(anl<dxd> arg0)
jumpInLiquid(TagKey<Fluid> arg0)
method_6010(class_6862<class_3611> arg0)
m_kwjgylty(C_ednuhnnn<C_rxhyurmy> arg0)
swimUpward(TagKey<Fluid> arg0)
swimUpward(TagKey<Fluid> arg0)
m_203347_(C_203208_<C_2690_> arg0)
public Vec3
cG()
getLeashOffset()
method_29919()
m_gxfczhkq()
getLeashOffset()
getLeashOffset()
m_7939_()
boolean
b(gu arg0, int arg1)
closerThan(BlockPos arg0, int arg1)
method_23979(class_2338 arg0, int arg1)
m_jrsqpnew(C_hynzadkk arg0, int arg1)
isWithinDistance(BlockPos pos, int distance)
isWithinDistance(BlockPos pos, int distance)
m_27816_(C_4675_ p_27818_, int arg1)