net.minecraft.world.entity.animal

class Bee$BeePollinateGoal

extends Bee$BaseBeeGoal

chy$k
net.minecraft.world.entity.animal.Bee$BeePollinateGoal
net.minecraft.class_4466$class_4478
net.minecraft.entity.passive.BeeEntity$PollinateGoal
net.minecraft.world.entity.animal.EntityBee$k

Field summary

Modifier and TypeField
private static final int
c
MIN_POLLINATION_TICKS
field_30300
field_30300
private final Predicate<BlockState>
d
VALID_POLLINATION_BLOCKS
field_20617
flowerPredicate
private static final double
e
ARRIVAL_THRESHOLD
field_30303
field_30303
private static final int
f
POSITION_CHANGE_CHANCE
field_30304
field_30304
private static final float
g
SPEED_MODIFIER
field_30305
field_30305
private static final float
h
HOVER_HEIGHT_WITHIN_FLOWER
field_30306
field_30306
private static final float
i
HOVER_POS_OFFSET
field_30307
field_30307
private static final int
j
FLOWER_SEARCH_RADIUS
field_52458
field_52458
private int
k
successfulPollinatingTicks
field_20378
pollinationTicks
private int
l
lastSoundPlayedTick
field_20379
lastPollinationTick
private boolean
m
pollinating
field_21080
running
private Vec3
n
hoverPos
field_21511
nextTarget
private int
o
pollinatingTicks
field_21651
ticks
private static final int
p
MAX_POLLINATING_TICKS
field_30308
field_30308
private it.unimi.dsi.fastutil.longs.Long2LongOpenHashMap
q
unreachableFlowerCache
field_52459
unreachableFlowerPosCache

Constructor summary

ModifierConstructor
(Bee arg0)

Method summary

Modifier and TypeMethod
public boolean
h()
canBeeUse()
method_21814()
canBeeStart()
public boolean
i()
canBeeContinueToUse()
method_21815()
canBeeContinue()
private boolean
k()
hasPollinatedLongEnough()
method_21820()
completedPollination()
boolean
l()
isPollinating()
method_23346()
isRunning()
void
m()
stopPollinating()
method_23748()
cancel()
public void
d()
start()
method_6269()
start()
public void
e()
stop()
method_6270()
stop()
public boolean
V_()
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
public void
a()
tick()
method_6268()
tick()
private void
n()
setWantedPos()
method_23749()
moveToNextTarget()
private float
o()
getOffset()
method_23750()
getRandomOffset()
private Optional<BlockPos>
p()
findNearbyFlower()
method_21821()
getFlower()