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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
OneShotpublic OneShot()
 
- 
- 
Method Details- 
getStatus- Specified by:
- getStatusin interface- BehaviorControl<E extends LivingEntity>
 
- 
tryStart- Specified by:
- tryStartin interface- BehaviorControl<E extends LivingEntity>
 
- 
tickOrStop- Specified by:
- tickOrStopin interface- BehaviorControl<E extends LivingEntity>
 
- 
doStop- Specified by:
- doStopin interface- BehaviorControl<E extends LivingEntity>
 
- 
debugString- Specified by:
- debugStringin interface- BehaviorControl<E extends LivingEntity>
 
 
-