Package net.minecraft.entity.passive
Class BeeEntity.PollinateGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.BeeEntity.NotAngryGoal
net.minecraft.entity.passive.BeeEntity.PollinateGoal
- Enclosing class:
BeeEntity
- Mappings:
Namespace Name official brk$k
intermediary net/minecraft/class_4466$class_4478
named net/minecraft/entity/passive/BeeEntity$PollinateGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final double
private static final int
private static final float
private static final float
private static final float
private static final int
private final Predicate<BlockState>
private int
private int
private boolean
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
(package private) void
cancel()
private boolean
findFlower
(Predicate<BlockState> predicate, double searchDistance) private float
(package private) boolean
private void
boolean
Returns if the goal should run every tick or not.void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.passive.BeeEntity.NotAngryGoal
canStart, shouldContinue
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, toGoalTicks, toString
-
Field Details
-
field_30300
private static final int field_30300- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbrk$k;c:I
intermediary field_30300
Lnet/minecraft/class_4466$class_4478;field_30300:I
named field_30300
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30300:I
-
field_30301
private static final int field_30301- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbrk$k;d:I
intermediary field_30301
Lnet/minecraft/class_4466$class_4478;field_30301:I
named field_30301
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30301:I
-
field_30302
private static final int field_30302- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbrk$k;e:I
intermediary field_30302
Lnet/minecraft/class_4466$class_4478;field_30302:I
named field_30302
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30302:I
-
field_30303
private static final double field_30303- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lbrk$k;g:D
intermediary field_30303
Lnet/minecraft/class_4466$class_4478;field_30303:D
named field_30303
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30303:D
-
field_30304
private static final int field_30304- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lbrk$k;h:I
intermediary field_30304
Lnet/minecraft/class_4466$class_4478;field_30304:I
named field_30304
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30304:I
-
field_30305
private static final float field_30305- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lbrk$k;i:F
intermediary field_30305
Lnet/minecraft/class_4466$class_4478;field_30305:F
named field_30305
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30305:F
-
field_30306
private static final float field_30306- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lbrk$k;j:F
intermediary field_30306
Lnet/minecraft/class_4466$class_4478;field_30306:F
named field_30306
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30306:F
-
field_30307
private static final float field_30307- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lbrk$k;k:F
intermediary field_30307
Lnet/minecraft/class_4466$class_4478;field_30307:F
named field_30307
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30307:F
-
field_30308
private static final int field_30308- See Also:
- Mappings:
Namespace Name Mixin selector official q
Lbrk$k;q:I
intermediary field_30308
Lnet/minecraft/class_4466$class_4478;field_30308:I
named field_30308
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30308:I
-
flowerPredicate
- Mappings:
Namespace Name Mixin selector official f
Lbrk$k;f:Ljava/util/function/Predicate;
intermediary field_20617
Lnet/minecraft/class_4466$class_4478;field_20617:Ljava/util/function/Predicate;
named flowerPredicate
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;flowerPredicate:Ljava/util/function/Predicate;
-
pollinationTicks
private int pollinationTicks- Mappings:
Namespace Name Mixin selector official l
Lbrk$k;l:I
intermediary field_20378
Lnet/minecraft/class_4466$class_4478;field_20378:I
named pollinationTicks
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;pollinationTicks:I
-
lastPollinationTick
private int lastPollinationTick- Mappings:
Namespace Name Mixin selector official m
Lbrk$k;m:I
intermediary field_20379
Lnet/minecraft/class_4466$class_4478;field_20379:I
named lastPollinationTick
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;lastPollinationTick:I
-
running
private boolean running- Mappings:
Namespace Name Mixin selector official n
Lbrk$k;n:Z
intermediary field_21080
Lnet/minecraft/class_4466$class_4478;field_21080:Z
named running
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;running:Z
-
nextTarget
- Mappings:
Namespace Name Mixin selector official o
Lbrk$k;o:Lede;
intermediary field_21511
Lnet/minecraft/class_4466$class_4478;field_21511:Lnet/minecraft/class_243;
named nextTarget
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;nextTarget:Lnet/minecraft/util/math/Vec3d;
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official p
Lbrk$k;p:I
intermediary field_21651
Lnet/minecraft/class_4466$class_4478;field_21651:I
named ticks
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;ticks:I
-
-
Constructor Details
-
PollinateGoal
PollinateGoal()
-
-
Method Details
-
canBeeStart
public boolean canBeeStart()- Specified by:
canBeeStart
in classBeeEntity.NotAngryGoal
- Mappings:
Namespace Name Mixin selector official h
Lbrk$a;h()Z
intermediary method_21814
Lnet/minecraft/class_4466$class_4467;method_21814()Z
named canBeeStart
Lnet/minecraft/entity/passive/BeeEntity$NotAngryGoal;canBeeStart()Z
-
canBeeContinue
public boolean canBeeContinue()- Specified by:
canBeeContinue
in classBeeEntity.NotAngryGoal
- Mappings:
Namespace Name Mixin selector official i
Lbrk$a;i()Z
intermediary method_21815
Lnet/minecraft/class_4466$class_4467;method_21815()Z
named canBeeContinue
Lnet/minecraft/entity/passive/BeeEntity$NotAngryGoal;canBeeContinue()Z
-
completedPollination
private boolean completedPollination()- Mappings:
Namespace Name Mixin selector official k
Lbrk$k;k()Z
intermediary method_21820
Lnet/minecraft/class_4466$class_4478;method_21820()Z
named completedPollination
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;completedPollination()Z
-
isRunning
boolean isRunning()- Mappings:
Namespace Name Mixin selector official l
Lbrk$k;l()Z
intermediary method_23346
Lnet/minecraft/class_4466$class_4478;method_23346()Z
named isRunning
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;isRunning()Z
-
cancel
void cancel()- Mappings:
Namespace Name Mixin selector official m
Lbrk$k;m()V
intermediary method_23748
Lnet/minecraft/class_4466$class_4478;method_23748()V
named cancel
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;cancel()V
-
start
public void start() -
stop
public void stop() -
shouldRunEveryTick
public boolean shouldRunEveryTick()Returns if the goal should run every tick or not.This returns
false
by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.- Overrides:
shouldRunEveryTick
in classGoal
- Returns:
- if the goal should run every tick or not
- See Also:
- Mappings:
Namespace Name Mixin selector official J_
Lbmt;J_()Z
intermediary method_38846
Lnet/minecraft/class_1352;method_38846()Z
named shouldRunEveryTick
Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
-
tick
public void tick() -
moveToNextTarget
private void moveToNextTarget()- Mappings:
Namespace Name Mixin selector official n
Lbrk$k;n()V
intermediary method_23749
Lnet/minecraft/class_4466$class_4478;method_23749()V
named moveToNextTarget
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;moveToNextTarget()V
-
getRandomOffset
private float getRandomOffset()- Mappings:
Namespace Name Mixin selector official o
Lbrk$k;o()F
intermediary method_23750
Lnet/minecraft/class_4466$class_4478;method_23750()F
named getRandomOffset
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;getRandomOffset()F
-
getFlower
- Mappings:
Namespace Name Mixin selector official p
Lbrk$k;p()Ljava/util/Optional;
intermediary method_21821
Lnet/minecraft/class_4466$class_4478;method_21821()Ljava/util/Optional;
named getFlower
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;getFlower()Ljava/util/Optional;
-
findFlower
- Mappings:
Namespace Name Mixin selector official a
Lbrk$k;a(Ljava/util/function/Predicate;D)Ljava/util/Optional;
intermediary method_22326
Lnet/minecraft/class_4466$class_4478;method_22326(Ljava/util/function/Predicate;D)Ljava/util/Optional;
named findFlower
Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;findFlower(Ljava/util/function/Predicate;D)Ljava/util/Optional;
-