Package net.minecraft.entity.mob
Class GhastEntity.FlyRandomlyGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.GhastEntity.FlyRandomlyGoal
- Enclosing class:
GhastEntity
- Mappings:
Namespace Name named net/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal
intermediary net/minecraft/class_1571$class_1575
official crp$d
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private static final int
private final MobEntity
-
Constructor Summary
ConstructorsConstructorDescriptionFlyRandomlyGoal
(MobEntity ghast) FlyRandomlyGoal
(MobEntity ghast, int blockCheckDistance) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Vec3d
boolean
canStart()
getTargetPos
(MobEntity ghast, Vec3d pos, Random random) private static boolean
isTargetValid
(World world, Vec3d pos, int blockCheckDistance) static Vec3d
locateTarget
(MobEntity ghast, int blockCheckDistance) boolean
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, stop, tick, toGoalTicks, toString
-
Field Details
-
field_59707
private static final int field_59707- See Also:
- Mappings:
Namespace Name Mixin selector named field_59707
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;field_59707:I
intermediary field_59707
Lnet/minecraft/class_1571$class_1575;field_59707:I
official a
Lcrp$d;a:I
-
ghast
- Mappings:
Namespace Name Mixin selector named ghast
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;ghast:Lnet/minecraft/entity/mob/MobEntity;
intermediary field_59708
Lnet/minecraft/class_1571$class_1575;field_59708:Lnet/minecraft/class_1308;
official b
Lcrp$d;b:Lcao;
-
blockCheckDistance
private final int blockCheckDistance- Mappings:
Namespace Name Mixin selector named blockCheckDistance
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;blockCheckDistance:I
intermediary field_59709
Lnet/minecraft/class_1571$class_1575;field_59709:I
official c
Lcrp$d;c:I
-
-
Constructor Details
-
FlyRandomlyGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;)V
intermediary <init>
Lnet/minecraft/class_1571$class_1575;<init>(Lnet/minecraft/class_1308;)V
official <init>
Lcrp$d;<init>(Lcao;)V
-
FlyRandomlyGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;I)V
intermediary <init>
Lnet/minecraft/class_1571$class_1575;<init>(Lnet/minecraft/class_1308;I)V
official <init>
Lcrp$d;<init>(Lcao;I)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official c
Lchi;c()Z
-
start
public void start() -
locateTarget
- Mappings:
Namespace Name Mixin selector named locateTarget
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;locateTarget(Lnet/minecraft/entity/mob/MobEntity;I)Lnet/minecraft/util/math/Vec3d;
intermediary method_70720
Lnet/minecraft/class_1571$class_1575;method_70720(Lnet/minecraft/class_1308;I)Lnet/minecraft/class_243;
official a
Lcrp$d;a(Lcao;I)Lfis;
-
isTargetValid
- Mappings:
Namespace Name Mixin selector named isTargetValid
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;isTargetValid(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;I)Z
intermediary method_70722
Lnet/minecraft/class_1571$class_1575;method_70722(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;I)Z
official a
Lcrp$d;a(Ldmu;Lfis;I)Z
-
addRandom
- Mappings:
Namespace Name Mixin selector named addRandom
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;addRandom(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/Vec3d;
intermediary method_70723
Lnet/minecraft/class_1571$class_1575;method_70723(Lnet/minecraft/class_243;Lnet/minecraft/class_5819;)Lnet/minecraft/class_243;
official a
Lcrp$d;a(Lfis;Lbck;)Lfis;
-
getTargetPos
- Mappings:
Namespace Name Mixin selector named getTargetPos
Lnet/minecraft/entity/mob/GhastEntity$FlyRandomlyGoal;getTargetPos(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/Vec3d;
intermediary method_70721
Lnet/minecraft/class_1571$class_1575;method_70721(Lnet/minecraft/class_1308;Lnet/minecraft/class_243;Lnet/minecraft/class_5819;)Lnet/minecraft/class_243;
official a
Lcrp$d;a(Lcao;Lfis;Lbck;)Lfis;
-