Class Shoot
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Breeze>
net.minecraft.world.entity.monster.breeze.Shoot
- All Implemented Interfaces:
BehaviorControl<Breeze>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final float
private static final int
private static final int
private static final int
private static final int
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_309829_, Breeze p_312308_, long p_310493_) protected boolean
checkExtraStartConditions
(ServerLevel p_310608_, Breeze p_310203_) static boolean
isFacingTarget
(Breeze p_311537_, LivingEntity p_310664_) private static boolean
isTargetWithinRange
(Breeze p_311470_, LivingEntity p_309385_) protected void
start
(ServerLevel p_312287_, Breeze p_310847_, long p_311799_) protected void
stop
(ServerLevel p_312573_, Breeze p_309852_, long p_310968_) protected void
tick
(ServerLevel p_312469_, Breeze p_309721_, long p_312577_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart
-
Field Details
-
ATTACK_RANGE_MIN_SQRT
private static final int ATTACK_RANGE_MIN_SQRT- See Also:
-
ATTACK_RANGE_MAX_SQRT
private static final int ATTACK_RANGE_MAX_SQRT- See Also:
-
UNCERTAINTY_BASE
private static final int UNCERTAINTY_BASE- See Also:
-
UNCERTAINTY_MULTIPLIER
private static final int UNCERTAINTY_MULTIPLIER- See Also:
-
PROJECTILE_MOVEMENT_SCALE
private static final float PROJECTILE_MOVEMENT_SCALE- See Also:
-
SHOOT_INITIAL_DELAY_TICKS
private static final int SHOOT_INITIAL_DELAY_TICKS -
SHOOT_RECOVER_DELAY_TICKS
private static final int SHOOT_RECOVER_DELAY_TICKS -
SHOOT_COOLDOWN_TICKS
private static final int SHOOT_COOLDOWN_TICKS
-
-
Constructor Details
-
Shoot
public Shoot()
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classBehavior<Breeze>
-
canStillUse
- Overrides:
canStillUse
in classBehavior<Breeze>
-
start
-
stop
-
tick
-
isFacingTarget
-
isTargetWithinRange
-