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 axqintermediary net/minecraft/class_4255named 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 booleandelayedCloseprivate intticksLeftFields 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 booleanshouldContinue()voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.DoorInteractGoal
canStart, isDoorOpen, setDoorOpenMethods 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 aLaxq;a:Zintermediary field_19004Lnet/minecraft/class_4255;field_19004:Znamed delayedCloseLnet/minecraft/entity/ai/goal/LongDoorInteractGoal;delayedClose:Z
-
ticksLeft
private int ticksLeft- Mappings:
Namespace Name Mixin selector official bLaxq;b:Iintermediary field_19005Lnet/minecraft/class_4255;field_19005:Inamed ticksLeftLnet/minecraft/entity/ai/goal/LongDoorInteractGoal;ticksLeft:I
-
-
Constructor Details
-
LongDoorInteractGoal
- Mappings:
Namespace Name Mixin selector official <init>Laxq;<init>(Larj;Z)Vintermediary <init>Lnet/minecraft/class_4255;<init>(Lnet/minecraft/class_1308;Z)Vnamed <init>Lnet/minecraft/entity/ai/goal/LongDoorInteractGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;Z)V
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classDoorInteractGoal- Mappings:
Namespace Name Mixin selector official bLawx;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start()- Overrides:
startin classDoorInteractGoal- Mappings:
Namespace Name Mixin selector official cLawx;c()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop() -
tick
public void tick()- Overrides:
tickin classDoorInteractGoal- Mappings:
Namespace Name Mixin selector official eLawx;e()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-