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_312535_, Breeze p_312174_, long p_311812_) protected boolean
checkExtraStartConditions
(ServerLevel p_312041_, Breeze p_312169_) static boolean
isFacingTarget
(Breeze p_311845_, LivingEntity p_312453_) private static boolean
isTargetWithinRange
(Breeze p_312114_, LivingEntity p_312647_) protected void
start
(ServerLevel p_311932_, Breeze p_312618_, long p_311781_) protected void
stop
(ServerLevel p_312137_, Breeze p_311803_, long p_312309_) protected void
tick
(ServerLevel p_312907_, Breeze p_312605_, long p_312804_) 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
-