Class OneShot<E extends LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.behavior.OneShot<E>
- All Implemented Interfaces:
 BehaviorControl<E>,Trigger<E>
public abstract class OneShot<E extends LivingEntity>
extends Object
implements BehaviorControl<E>, Trigger<E>
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfinal voiddoStop(ServerLevel p_260215_, E p_259970_, long p_260273_) final Behavior.Statusfinal voidtickOrStop(ServerLevel p_259112_, E p_259594_, long p_259046_) final booleantryStart(ServerLevel p_260083_, E p_259643_, long p_259226_)  
- 
Field Details
- 
status
 
 - 
 - 
Constructor Details
- 
OneShot
public OneShot() 
 - 
 - 
Method Details
- 
getStatus
- Specified by:
 getStatusin interfaceBehaviorControl<E extends LivingEntity>
 - 
tryStart
- Specified by:
 tryStartin interfaceBehaviorControl<E extends LivingEntity>
 - 
tickOrStop
- Specified by:
 tickOrStopin interfaceBehaviorControl<E extends LivingEntity>
 - 
doStop
- Specified by:
 doStopin interfaceBehaviorControl<E extends LivingEntity>
 - 
debugString
- Specified by:
 debugStringin interfaceBehaviorControl<E extends LivingEntity>
 
 -