Package net.minecraft.entity.ai.goal
Class LongDoorInteractGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.DoorInteractGoal
net.minecraft.entity.ai.goal.LongDoorInteractGoal
- Direct Known Subclasses:
IllagerEntity.LongDoorInteractGoal
public class LongDoorInteractGoal extends DoorInteractGoal
- Mappings:
Namespace Name official axq
intermediary net/minecraft/class_4255
named net/minecraft/entity/ai/goal/LongDoorInteractGoal
-
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 boolean
delayedClose
private int
ticksLeft
Fields inherited from class net.minecraft.entity.ai.goal.DoorInteractGoal
doorPos, doorValid, mob
-
Constructor Summary
Constructors Constructor Description LongDoorInteractGoal(MobEntity mob, boolean delayedClose)
-
Method Summary
Modifier and Type Method Description boolean
shouldContinue()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.DoorInteractGoal
canStart, isDoorOpen, setDoorOpen
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
delayedClose
private final boolean delayedClose- Mappings:
Namespace Name Mixin selector official a
Laxq;a:Z
intermediary field_19004
Lnet/minecraft/class_4255;field_19004:Z
named delayedClose
Lnet/minecraft/entity/ai/goal/LongDoorInteractGoal;delayedClose:Z
-
ticksLeft
private int ticksLeft- Mappings:
Namespace Name Mixin selector official b
Laxq;b:I
intermediary field_19005
Lnet/minecraft/class_4255;field_19005:I
named ticksLeft
Lnet/minecraft/entity/ai/goal/LongDoorInteractGoal;ticksLeft:I
-
-
Constructor Details
-
LongDoorInteractGoal
- Mappings:
Namespace Name Mixin selector official <init>
Laxq;<init>(Larj;Z)V
intermediary <init>
Lnet/minecraft/class_4255;<init>(Lnet/minecraft/class_1308;Z)V
named <init>
Lnet/minecraft/entity/ai/goal/LongDoorInteractGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;Z)V
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classDoorInteractGoal
- 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
-
start
public void start()- Overrides:
start
in classDoorInteractGoal
- Mappings:
Namespace Name Mixin selector official c
Lawx;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop() -
tick
public void tick()- Overrides:
tick
in classDoorInteractGoal
- Mappings:
Namespace Name Mixin selector official e
Lawx;e()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
-