Class SonicBoom
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Warden>
net.minecraft.world.entity.ai.behavior.warden.SonicBoom
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final int
private static final int
private static final int
private static final double
private static final double
private static final int
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canStillUse
(ServerLevel p_217695_, Warden p_217696_, long p_217697_) protected boolean
checkExtraStartConditions
(ServerLevel p_217692_, Warden p_217693_) static void
setCooldown
(LivingEntity p_217699_, int p_217700_) protected void
start
(ServerLevel p_217713_, Warden p_217714_, long p_217715_) protected void
stop
(ServerLevel p_217732_, Warden p_217733_, long p_217734_) protected void
tick
(ServerLevel p_217724_, Warden p_217725_, long p_217726_)
-
Field Details
-
DISTANCE_XZ
private static final int DISTANCE_XZ- See Also:
-
DISTANCE_Y
private static final int DISTANCE_Y- See Also:
-
KNOCKBACK_VERTICAL
private static final double KNOCKBACK_VERTICAL- See Also:
-
KNOCKBACK_HORIZONTAL
private static final double KNOCKBACK_HORIZONTAL- See Also:
-
COOLDOWN
public static final int COOLDOWN- See Also:
-
TICKS_BEFORE_PLAYING_SOUND
private static final int TICKS_BEFORE_PLAYING_SOUND -
DURATION
private static final int DURATION
-
-
Constructor Details
-
SonicBoom
public SonicBoom()
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classBehavior<Warden>
-
canStillUse
- Overrides:
canStillUse
in classBehavior<Warden>
-
start
-
tick
-
stop
-
setCooldown
-