Package net.minecraft.entity.mob
Class GhastEntity.GhastMoveControl
java.lang.Object
net.minecraft.entity.ai.control.MoveControl
net.minecraft.entity.mob.GhastEntity.GhastMoveControl
- All Implemented Interfaces:
Control
- Enclosing class:
GhastEntity
- Mappings:
Namespace Name named net/minecraft/entity/mob/GhastEntity$GhastMoveControl
intermediary net/minecraft/class_1571$class_1573
official crp$b
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.control.MoveControl
MoveControl.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private final MobEntity
private final boolean
private final BooleanSupplier
Fields inherited from class net.minecraft.entity.ai.control.MoveControl
entity, field_30197, field_30199, forwardMovement, REACHED_DESTINATION_DISTANCE_SQUARED, sidewaysMovement, speed, state, targetX, targetY, targetZ
-
Constructor Summary
ConstructorsConstructorDescriptionGhastMoveControl
(MobEntity ghast, boolean happy, BooleanSupplier shouldStayStill) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canPassThrough
(BlockView world, @Nullable Vec3d oldPos, @Nullable Vec3d newPos, BlockPos blockPos, boolean waterAllowed, boolean lavaAllowed) void
tick()
private boolean
willCollide
(Vec3d movement) Methods inherited from class net.minecraft.entity.ai.control.MoveControl
getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, setWaiting, strafeTo, wrapDegrees
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.entity.ai.control.Control
changeAngle
-
Field Details
-
ghast
- Mappings:
Namespace Name Mixin selector named ghast
Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;ghast:Lnet/minecraft/entity/mob/MobEntity;
intermediary field_59704
Lnet/minecraft/class_1571$class_1573;field_59704:Lnet/minecraft/class_1308;
official l
Lcrp$b;l:Lcao;
-
collisionCheckCooldown
private int collisionCheckCooldown- Mappings:
Namespace Name Mixin selector named collisionCheckCooldown
Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;collisionCheckCooldown:I
intermediary field_7276
Lnet/minecraft/class_1571$class_1573;field_7276:I
official m
Lcrp$b;m:I
-
happy
private final boolean happy- Mappings:
Namespace Name Mixin selector named happy
Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;happy:Z
intermediary field_59705
Lnet/minecraft/class_1571$class_1573;field_59705:Z
official n
Lcrp$b;n:Z
-
shouldStayStill
- Mappings:
Namespace Name Mixin selector named shouldStayStill
Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;shouldStayStill:Ljava/util/function/BooleanSupplier;
intermediary field_60554
Lnet/minecraft/class_1571$class_1573;field_60554:Ljava/util/function/BooleanSupplier;
official o
Lcrp$b;o:Ljava/util/function/BooleanSupplier;
-
-
Constructor Details
-
GhastMoveControl
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;<init>(Lnet/minecraft/entity/mob/MobEntity;ZLjava/util/function/BooleanSupplier;)V
intermediary <init>
Lnet/minecraft/class_1571$class_1573;<init>(Lnet/minecraft/class_1308;ZLjava/util/function/BooleanSupplier;)V
official <init>
Lcrp$b;<init>(Lcao;ZLjava/util/function/BooleanSupplier;)V
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classMoveControl
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/ai/control/MoveControl;tick()V
intermediary method_6240
Lnet/minecraft/class_1335;method_6240()V
official a
Lcgl;a()V
-
willCollide
- Mappings:
Namespace Name Mixin selector named willCollide
Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;willCollide(Lnet/minecraft/util/math/Vec3d;)Z
intermediary method_7051
Lnet/minecraft/class_1571$class_1573;method_7051(Lnet/minecraft/class_243;)Z
official a
Lcrp$b;a(Lfis;)Z
-
canPassThrough
private boolean canPassThrough(BlockView world, @Nullable @Nullable Vec3d oldPos, @Nullable @Nullable Vec3d newPos, BlockPos blockPos, boolean waterAllowed, boolean lavaAllowed) - Mappings:
Namespace Name Mixin selector named canPassThrough
Lnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;canPassThrough(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/BlockPos;ZZ)Z
intermediary method_71149
Lnet/minecraft/class_1571$class_1573;method_71149(Lnet/minecraft/class_1922;Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_2338;ZZ)Z
official a
Lcrp$b;a(Ldly;Lfis;Lfis;Ljb;ZZ)Z
-