- Mappings:
Namespace |
Name |
official |
bfl |
intermediary |
net/minecraft/class_4220 |
named |
net/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask |
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields
private final int
private long
private final int
private final float
-
Constructor Summary
Constructors
-
Method Summary
protected void
protected boolean
-
Field Details
-
secondaryPositions
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lbfl;a:Lbjx; |
intermediary |
field_18866 |
Lnet/minecraft/class_4220;field_18866:Lnet/minecraft/class_4140; |
named |
secondaryPositions |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;secondaryPositions:Lnet/minecraft/entity/ai/brain/MemoryModuleType; |
-
primaryPosition
- Mappings:
Namespace |
Name |
Mixin selector |
official |
d |
Lbfl;d:Lbjx; |
intermediary |
field_18867 |
Lnet/minecraft/class_4220;field_18867:Lnet/minecraft/class_4140; |
named |
primaryPosition |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;primaryPosition:Lnet/minecraft/entity/ai/brain/MemoryModuleType; |
-
speed
private final float speed
- Mappings:
Namespace |
Name |
Mixin selector |
official |
e |
Lbfl;e:F |
intermediary |
field_18868 |
Lnet/minecraft/class_4220;field_18868:F |
named |
speed |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;speed:F |
-
completionRange
private final int completionRange
- Mappings:
Namespace |
Name |
Mixin selector |
official |
f |
Lbfl;f:I |
intermediary |
field_18869 |
Lnet/minecraft/class_4220;field_18869:I |
named |
completionRange |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;completionRange:I |
-
primaryPositionActivationDistance
private final int primaryPositionActivationDistance
- Mappings:
Namespace |
Name |
Mixin selector |
official |
g |
Lbfl;g:I |
intermediary |
field_18870 |
Lnet/minecraft/class_4220;field_18870:I |
named |
primaryPositionActivationDistance |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;primaryPositionActivationDistance:I |
-
nextRunTime
private long nextRunTime
- Mappings:
Namespace |
Name |
Mixin selector |
official |
h |
Lbfl;h:J |
intermediary |
field_18871 |
Lnet/minecraft/class_4220;field_18871:J |
named |
nextRunTime |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;nextRunTime:J |
-
chosenPosition
- Mappings:
Namespace |
Name |
Mixin selector |
official |
i |
Lbfl;i:Lhb; |
intermediary |
field_18872 |
Lnet/minecraft/class_4220;field_18872:Lnet/minecraft/class_4208; |
named |
chosenPosition |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;chosenPosition:Lnet/minecraft/util/math/GlobalPos; |
-
Constructor Details
-
GoToSecondaryPositionTask
- Mappings:
Namespace |
Name |
Mixin selector |
official |
<init> |
Lbfl;<init>(Lbjx;FIILbjx;)V |
intermediary |
<init> |
Lnet/minecraft/class_4220;<init>(Lnet/minecraft/class_4140;FIILnet/minecraft/class_4140;)V |
named |
<init> |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;<init>(Lnet/minecraft/entity/ai/brain/MemoryModuleType;FIILnet/minecraft/entity/ai/brain/MemoryModuleType;)V |
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in class Task<VillagerEntity>
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lbfl;a(Lafo;Lbss;)Z |
intermediary |
method_19609 |
Lnet/minecraft/class_4220;method_19609(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z |
named |
shouldRun |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z |
-
run
- Overrides:
run
in class Task<VillagerEntity>
- Mappings:
Namespace |
Name |
Mixin selector |
official |
a |
Lbfl;a(Lafo;Lbss;J)V |
intermediary |
method_19610 |
Lnet/minecraft/class_4220;method_19610(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V |
named |
run |
Lnet/minecraft/entity/ai/brain/task/GoToSecondaryPositionTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V |