Package net.minecraft.entity.passive
Class StriderEntity.GoBackToLavaGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.passive.StriderEntity.GoBackToLavaGoal
- Enclosing class:
- StriderEntity
static class StriderEntity.GoBackToLavaGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official bfs$a
intermediary net/minecraft/class_4985$class_5494
named net/minecraft/entity/passive/StriderEntity$GoBackToLavaGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private StriderEntity
strider
Fields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
Constructor Summary
Constructors Modifier Constructor Description private
GoBackToLavaGoal(StriderEntity strider, double speed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
BlockPos
getTargetPos()
protected boolean
isTargetPos(WorldView world, BlockPos pos)
boolean
shouldContinue()
boolean
shouldResetPath()
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, hasReached, start, startMovingToTarget, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
Field Details
-
strider
- Mappings:
Namespace Name Mixin selector official g
Lbfs$a;g:Lbfs;
intermediary field_26632
Lnet/minecraft/class_4985$class_5494;field_26632:Lnet/minecraft/class_4985;
named strider
Lnet/minecraft/entity/passive/StriderEntity$GoBackToLavaGoal;strider:Lnet/minecraft/entity/passive/StriderEntity;
-
-
Constructor Details
-
GoBackToLavaGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbfs$a;<init>(Lbfs;D)V
intermediary <init>
Lnet/minecraft/class_4985$class_5494;<init>(Lnet/minecraft/class_4985;D)V
named <init>
Lnet/minecraft/entity/passive/StriderEntity$GoBackToLavaGoal;<init>(Lnet/minecraft/entity/passive/StriderEntity;D)V
-
-
Method Details
-
getTargetPos
- Overrides:
getTargetPos
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official j
Laxl;j()Lfx;
intermediary method_30953
Lnet/minecraft/class_1367;method_30953()Lnet/minecraft/class_2338;
named getTargetPos
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getTargetPos()Lnet/minecraft/util/math/BlockPos;
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
canStart
public boolean canStart()- Overrides:
canStart
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official a
Lawx;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldResetPath
public boolean shouldResetPath()- Overrides:
shouldResetPath
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official k
Laxl;k()Z
intermediary method_6294
Lnet/minecraft/class_1367;method_6294()Z
named shouldResetPath
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;shouldResetPath()Z
-
isTargetPos
- Specified by:
isTargetPos
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official a
Laxl;a(Lbty;Lfx;)Z
intermediary method_6296
Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named isTargetPos
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-