net.minecraft.world.entity.animal

public class Bee

extends Animal implements NeutralMob, FlyingAnimal

All mapped superinterfaces:

Nameable, CommandSource, NeutralMob, FlyingAnimal

baa
net.minecraft.world.entity.animal.Bee
net.minecraft.class_4466
net.minecraft.entity.passive.BeeEntity
net.minecraft.entity.passive.BeeEntity
net.minecraft.server.v1_16_R3.EntityBee

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
bo
DATA_FLAGS_ID
field_20353
BEE_FLAGS
field_226374_bw_
private static final EntityDataAccessor<Integer>
bp
DATA_REMAINING_ANGER_TIME
field_20354
ANGER
field_226375_bx_
private static final IntRange
bq
PERSISTENT_ANGER_TIME
field_25363
ANGER_TIME_RANGE
field_234180_bw_
private UUID
br
persistentAngerTarget
field_25364
targetUuid
field_226376_by_
private float
bs
rollAmount
field_20356
currentPitch
field_226377_bz_
private float
bt
rollAmountO
field_20357
lastPitch
field_226361_bA_
private int
bu
timeSinceSting
field_20358
ticksSinceSting
field_226362_bB_
private int
bv
ticksWithoutNectarSinceExitingHive
field_20359
ticksSincePollination
field_226363_bC_
ticksSincePollination
private int
bw
stayOutOfHiveCountdown
field_20360
cannotEnterHiveTicks
field_226364_bD_
cannotEnterHiveTicks
private int
bx
numCropsGrownSincePollination
field_20361
cropsGrownSincePollination
field_226365_bE_
numCropsGrownSincePollination
private int
by
remainingCooldownBeforeLocatingNewHive
field_21643
ticksLeftToFindHive
field_226366_bF_
private int
bz
remainingCooldownBeforeLocatingNewFlower
field_21644
ticksUntilCanPollinate
field_226367_bG_
private BlockPos
bA
savedFlowerPos
field_20362
flowerPos
field_226368_bH_
flowerPos
private BlockPos
bB
hivePos
field_20363
hivePos
field_226369_bI_
hivePos
private Bee$BeePollinateGoal
bC
beePollinateGoal
field_21079
pollinateGoal
field_226370_bJ_
private Bee$BeeGoToHiveGoal
bD
goToHiveGoal
field_21645
moveToHiveGoal
field_226371_bK_
private Bee$BeeGoToKnownFlowerGoal
bE
goToKnownFlowerGoal
field_21646
moveToFlowerGoal
field_226372_bL_
private int
bF
underWaterTicks
field_21509
ticksInsideWater
field_226373_bM_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public float
a(fx arg0, brz arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
func_205022_a(BlockPos arg0, IWorldReader arg1)
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
B(aqa 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()
private void
a(brx arg0, double arg1, double arg2, double arg3, double arg4, double arg5, hf 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)
addParticle(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect)
func_226397_a_(World arg0, double arg1, double arg2, double arg3, double arg4, double arg5, IParticleData arg6)
private void
h(fx arg0)
pathfindRandomlyTowards(BlockPos arg0)
method_23987(class_2338 arg0)
startMovingTo(BlockPos pos)
func_226433_h_(BlockPos arg0)
public BlockPos
eK()
getSavedFlowerPos()
method_21778()
getFlowerPos()
func_226424_eq_()
getFlowerPos()
public boolean
eL()
hasSavedFlowerPos()
method_21779()
hasFlower()
func_226425_er_()
hasFlowerPos()
public void
g(fx arg0)
setSavedFlowerPos(BlockPos arg0)
method_21797(class_2338 arg0)
setFlowerPos(BlockPos pos)
func_226431_g_(BlockPos arg0)
setFlowerPos(BlockPosition arg0)
private boolean
fc()
isTiredOfLookingForNectar()
method_23983()
failedPollinatingTooLong()
func_226414_eH_()
canPollinate()
private boolean
fd()
wantsToEnterHive()
method_21789()
canEnterHive()
func_226415_eI_()
public void
t(int arg0)
setStayOutOfHiveCountdown(int arg0)
method_21807(int arg0)
setCannotEnterHiveTicks(int ticks)
func_226450_t_(int arg0)
setCannotEnterHiveTicks(int arg0)
private void
fe()
updateRollAmount()
method_21790()
updateBodyPitch()
func_226416_eJ_()
protected void
N()
customServerAiStep()
method_5958()
mobTick()
func_70619_bc()
mobTick()
public void
eO()
resetTicksWithoutNectarSinceExitingHive()
method_21780()
resetPollinationTicks()
func_226426_eu_()
private boolean
ff()
isHiveNearFire()
method_23984()
isHiveNearFire()
func_226417_eK_()
public int
E_()
getRemainingPersistentAngerTime()
method_29507()
getAngerTime()
func_230256_F__()
getAnger()
public void
a_(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
setAngerTime(int arg0)
func_230260_a__(int arg0)
setAnger(int arg0)
public UUID
F_()
getPersistentAngerTarget()
method_29508()
getAngryAt()
func_230257_G__()
getAngerTarget()
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
setAngryAt(UUID arg0)
func_230259_a_(UUID arg0)
setAngerTarget(UUID arg0)
public void
G_()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
func_230258_H__()
anger()
private boolean
i(fx arg0)
doesHiveHaveSpace(BlockPos arg0)
method_23988(class_2338 arg0)
doesHiveHaveSpace(BlockPos pos)
func_226435_i_(BlockPos arg0)
public boolean
eU()
hasHive()
method_21791()
hasHive()
func_226409_eA_()
hasHivePos()
public BlockPos
eV()
getHivePos()
method_23884()
getHivePos()
func_226410_eB_()
getHivePos()
protected void
M()
sendDebugPackets()
method_18409()
sendAiDebugData()
func_213387_K()
private int
fg()
getCropsGrownSincePollination()
method_21792()
getCropsGrownSincePollination()
func_226419_eM_()
getNumCropsGrownSincePollination()
private void
fh()
resetNumCropsGrownSincePollination()
method_21783()
resetCropCounter()
func_226420_eN_()
private void
fi()
incrementNumCropsGrownSincePollination()
method_21793()
addCropCounter()
func_226421_eO_()
public void
k()
aiStep()
method_6007()
tickMovement()
func_70636_d()
movementTick()
private boolean
fj()
isHiveValid()
method_21794()
isHiveValid()
func_226422_eP_()
public boolean
eX()
hasNectar()
method_21784()
hasNectar()
func_226411_eD_()
hasNectar()
private void
t(boolean arg0)
setHasNectar(boolean arg0)
method_21805(boolean arg0)
setHasNectar(boolean hasNectar)
func_226447_r_(boolean arg0)
setHasNectar(boolean arg0)
public boolean
eY()
hasStung()
method_21785()
hasStung()
func_226412_eE_()
hasStung()
private void
u(boolean arg0)
setHasStung(boolean arg0)
method_21806(boolean arg0)
setHasStung(boolean hasStung)
func_226449_s_(boolean arg0)
setHasStung(boolean arg0)
private boolean
fk()
isRolling()
method_21786()
isNearTarget()
func_226423_eQ_()
private void
v(boolean arg0)
setRolling(boolean arg0)
method_21808(boolean arg0)
setNearTarget(boolean nearTarget)
func_226452_t_(boolean arg0)
private boolean
j(fx arg0)
isTooFarAway(BlockPos arg0)
method_23990(class_2338 arg0)
isTooFar(BlockPos pos)
func_226437_j_(BlockPos arg0)
private void
d(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_21775(int arg0, boolean arg1)
setBeeFlag(int bit, boolean value)
func_226404_d_(int arg0, boolean arg1)
private boolean
u(int arg0)
getFlag(int arg0)
method_21812(int arg0)
getBeeFlag(int location)
func_226456_v_(int arg0)
public static AttributeSupplier$Builder
eZ()
createAttributes()
method_26880()
createBeeAttributes()
func_234182_eX_()
protected PathNavigation
b(brx arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
public boolean
k(bmb arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
func_70877_b(ItemStack arg0)
private boolean
k(fx arg0)
isFlowerValid(BlockPos arg0)
method_23992(class_2338 arg0)
isFlowers(BlockPos pos)
func_226439_k_(BlockPos arg0)
protected void
b(fx arg0, ceh 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)
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dq()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected float
dG()
getSoundVolume()
method_6107()
getSoundVolume()
func_70599_aP()
getSoundVolume()
public Bee
b(aag arg0, apy arg1)
getBreedOffspring(ServerLevel arg0, AgableMob arg1)
method_21771(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
func_241840_a(ServerWorld arg0, AgeableEntity arg1)
createChild(WorldServer arg0, EntityAgeable arg1)
protected float
b(aqx arg0, aqb arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
public boolean
b(float arg0, float arg1)
causeFallDamage(float arg0, float arg1)
method_5747(float arg0, float arg1)
handleFallDamage(float arg0, float arg1)
func_225503_b_(float arg0, float arg1)
protected void
a(double arg0, boolean arg1, ceh arg2, fx arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
func_184231_a(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
protected boolean
az()
makeFlySound()
method_5776()
hasWings()
func_191957_ae()
public void
fb()
dropOffNectar()
method_21788()
onHoneyDelivered()
func_226413_eG_()
public boolean
a(apk 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 MobType
dC()
getMobType()
method_6046()
getGroup()
func_70668_bt()
getMonsterType()
protected void
c(ael<cuw> arg0)
jumpInLiquid(Tag<Fluid> arg0)
method_6010(class_3494<class_3611> arg0)
swimUpward(Tag<Fluid> arg0)
func_180466_bG(ITag<Fluid> arg0)
private boolean
b(fx arg0, int arg1)
closerThan(BlockPos arg0, int arg1)
method_23979(class_2338 arg0, int arg1)
isWithinDistance(BlockPos pos, int distance)
func_226401_b_(BlockPos arg0, int arg1)
public float
y(float arg0)
getRollAmount(float arg0)
method_21811(float arg0)
getBodyPitch(float tickDelta)
func_226455_v_(float arg0)
public Vec3
cf()
getLeashOffset()
method_29919()
method_29919()
func_241205_ce_()