Class DoNothing
java.lang.Object
net.minecraft.world.entity.ai.behavior.DoNothing
- All Implemented Interfaces:
BehaviorControl<LivingEntity>
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private final int
private final int
private Behavior.Status
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
doStop
(ServerLevel p_260265_, LivingEntity p_259336_, long p_259826_) final void
tickOrStop
(ServerLevel p_259225_, LivingEntity p_259218_, long p_259803_) final boolean
tryStart
(ServerLevel p_259135_, LivingEntity p_259195_, long p_259189_)
-
Field Details
-
minDuration
private final int minDuration -
maxDuration
private final int maxDuration -
status
-
endTimestamp
private long endTimestamp
-
-
Constructor Details
-
DoNothing
public DoNothing(int p_22840_, int p_22841_)
-
-
Method Details
-
getStatus
- Specified by:
getStatus
in interfaceBehaviorControl<LivingEntity>
-
tryStart
- Specified by:
tryStart
in interfaceBehaviorControl<LivingEntity>
-
tickOrStop
- Specified by:
tickOrStop
in interfaceBehaviorControl<LivingEntity>
-
doStop
- Specified by:
doStop
in interfaceBehaviorControl<LivingEntity>
-
debugString
- Specified by:
debugString
in interfaceBehaviorControl<LivingEntity>
-