Class SonicBoom
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Warden>
net.minecraft.world.entity.ai.behavior.warden.SonicBoom
- All Implemented Interfaces:
- BehaviorControl<Warden>
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.BehaviorBehavior.Status
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intprivate static final intprivate static final intprivate static final intprivate static final doubleprivate static final doubleprivate static final intFields inherited from class net.minecraft.world.entity.ai.behavior.BehaviorDEFAULT_DURATION, entryCondition
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanStillUse(ServerLevel p_217695_, Warden p_217696_, long p_217697_) protected booleancheckExtraStartConditions(ServerLevel p_217692_, Warden p_217693_) static voidsetCooldown(LivingEntity p_217699_, int p_217700_) protected voidstart(ServerLevel p_217713_, Warden p_217714_, long p_217715_) protected voidstop(ServerLevel p_217732_, Warden p_217733_, long p_217734_) protected voidtick(ServerLevel p_217724_, Warden p_217725_, long p_217726_) Methods inherited from class net.minecraft.world.entity.ai.behavior.BehaviordebugString, doStop, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart
- 
Field Details- 
DISTANCE_XZprivate static final int DISTANCE_XZ- See Also:
 
- 
DISTANCE_Yprivate static final int DISTANCE_Y- See Also:
 
- 
KNOCKBACK_VERTICALprivate static final double KNOCKBACK_VERTICAL- See Also:
 
- 
KNOCKBACK_HORIZONTALprivate static final double KNOCKBACK_HORIZONTAL- See Also:
 
- 
COOLDOWNpublic static final int COOLDOWN- See Also:
 
- 
TICKS_BEFORE_PLAYING_SOUNDprivate static final int TICKS_BEFORE_PLAYING_SOUND
- 
DURATIONprivate static final int DURATION
 
- 
- 
Constructor Details- 
SonicBoompublic SonicBoom()
 
- 
- 
Method Details- 
checkExtraStartConditions- Overrides:
- checkExtraStartConditionsin class- Behavior<Warden>
 
- 
canStillUse- Overrides:
- canStillUsein class- Behavior<Warden>
 
- 
start
- 
tick
- 
stop
- 
setCooldown
 
-