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$GhastMoveControlintermediary net/minecraft/class_1571$class_1573official cwh$b
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.control.MoveControl
MoveControl.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final MobEntityprivate final booleanprivate final BooleanSupplierFields 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 booleancanPassThrough(BlockView world, @Nullable Vec3d oldPos, @Nullable Vec3d newPos, BlockPos blockPos, boolean waterAllowed, boolean lavaAllowed) voidtick()private booleanwillCollide(Vec3d movement) Methods inherited from class net.minecraft.entity.ai.control.MoveControl
getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, setWaiting, strafeTo, wrapDegreesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.entity.ai.control.Control
changeAngle
-
Field Details
-
ghast
- Mappings:
Namespace Name Mixin selector named ghastLnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;ghast:Lnet/minecraft/entity/mob/MobEntity;intermediary field_59704Lnet/minecraft/class_1571$class_1573;field_59704:Lnet/minecraft/class_1308;official lLcwh$b;l:Lcey;
-
collisionCheckCooldown
private int collisionCheckCooldown- Mappings:
Namespace Name Mixin selector named collisionCheckCooldownLnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;collisionCheckCooldown:Iintermediary field_7276Lnet/minecraft/class_1571$class_1573;field_7276:Iofficial mLcwh$b;m:I
-
happy
private final boolean happy- Mappings:
Namespace Name Mixin selector named happyLnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;happy:Zintermediary field_59705Lnet/minecraft/class_1571$class_1573;field_59705:Zofficial nLcwh$b;n:Z
-
shouldStayStill
- Mappings:
Namespace Name Mixin selector named shouldStayStillLnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;shouldStayStill:Ljava/util/function/BooleanSupplier;intermediary field_60554Lnet/minecraft/class_1571$class_1573;field_60554:Ljava/util/function/BooleanSupplier;official oLcwh$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;)Vintermediary <init>Lnet/minecraft/class_1571$class_1573;<init>(Lnet/minecraft/class_1308;ZLjava/util/function/BooleanSupplier;)Vofficial <init>Lcwh$b;<init>(Lcey;ZLjava/util/function/BooleanSupplier;)V
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classMoveControl- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/ai/control/MoveControl;tick()Vintermediary method_6240Lnet/minecraft/class_1335;method_6240()Vofficial aLckw;a()V
-
willCollide
- Mappings:
Namespace Name Mixin selector named willCollideLnet/minecraft/entity/mob/GhastEntity$GhastMoveControl;willCollide(Lnet/minecraft/util/math/Vec3d;)Zintermediary method_7051Lnet/minecraft/class_1571$class_1573;method_7051(Lnet/minecraft/class_243;)Zofficial aLcwh$b;a(Lfoh;)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 canPassThroughLnet/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)Zintermediary method_71149Lnet/minecraft/class_1571$class_1573;method_71149(Lnet/minecraft/class_1922;Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_2338;ZZ)Zofficial aLcwh$b;a(Ldqu;Lfoh;Lfoh;Lja;ZZ)Z
-