Class BreezeShootTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<BreezeEntity>
net.minecraft.entity.ai.brain.task.BreezeShootTask
- All Implemented Interfaces:
Task<BreezeEntity>
- Mappings:
Namespace Name official cdo
intermediary net/minecraft/class_8953
named net/minecraft/entity/ai/brain/task/BreezeShootTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final float
private static final int
private static final int
private static final int
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
finishRunning
(ServerWorld serverWorld, BreezeEntity breezeEntity, long long2) static boolean
isFacingTarget
(BreezeEntity breeze, LivingEntity target) private static boolean
isTargetWithinRange
(BreezeEntity breeze, LivingEntity target) protected void
keepRunning
(ServerWorld serverWorld, BreezeEntity breezeEntity, long long2) protected void
run
(ServerWorld serverWorld, BreezeEntity breezeEntity, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, BreezeEntity breezeEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, BreezeEntity breezeEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, stop, tick, tryStarting
-
Field Details
-
MIN_SQUARED_RANGE
private static final int MIN_SQUARED_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcdo;c:I
intermediary field_47296
Lnet/minecraft/class_8953;field_47296:I
named MIN_SQUARED_RANGE
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;MIN_SQUARED_RANGE:I
-
MAX_SQUARED_RANGE
private static final int MAX_SQUARED_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcdo;d:I
intermediary field_47297
Lnet/minecraft/class_8953;field_47297:I
named MAX_SQUARED_RANGE
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;MAX_SQUARED_RANGE:I
-
BASE_PROJECTILE_DIVERGENCY
private static final int BASE_PROJECTILE_DIVERGENCY- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lcdo;e:I
intermediary field_47298
Lnet/minecraft/class_8953;field_47298:I
named BASE_PROJECTILE_DIVERGENCY
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;BASE_PROJECTILE_DIVERGENCY:I
-
PROJECTILE_DIVERGENCY_DIFFICULTY_MODIFIER
private static final int PROJECTILE_DIVERGENCY_DIFFICULTY_MODIFIER- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lcdo;f:I
intermediary field_47299
Lnet/minecraft/class_8953;field_47299:I
named PROJECTILE_DIVERGENCY_DIFFICULTY_MODIFIER
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;PROJECTILE_DIVERGENCY_DIFFICULTY_MODIFIER:I
-
PROJECTILE_SPEED
private static final float PROJECTILE_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lcdo;g:F
intermediary field_47300
Lnet/minecraft/class_8953;field_47300:F
named PROJECTILE_SPEED
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;PROJECTILE_SPEED:F
-
SHOOT_CHARGING_EXPIRY
private static final int SHOOT_CHARGING_EXPIRY- Mappings:
Namespace Name Mixin selector official h
Lcdo;h:I
intermediary field_47301
Lnet/minecraft/class_8953;field_47301:I
named SHOOT_CHARGING_EXPIRY
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;SHOOT_CHARGING_EXPIRY:I
-
RECOVER_EXPIRY
private static final int RECOVER_EXPIRY- Mappings:
Namespace Name Mixin selector official i
Lcdo;i:I
intermediary field_47302
Lnet/minecraft/class_8953;field_47302:I
named RECOVER_EXPIRY
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;RECOVER_EXPIRY:I
-
SHOOT_COOLDOWN_EXPIRY
private static final int SHOOT_COOLDOWN_EXPIRY- Mappings:
Namespace Name Mixin selector official j
Lcdo;j:I
intermediary field_47303
Lnet/minecraft/class_8953;field_47303:I
named SHOOT_COOLDOWN_EXPIRY
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;SHOOT_COOLDOWN_EXPIRY:I
-
-
Constructor Details
-
BreezeShootTask
public BreezeShootTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<BreezeEntity>
- Mappings:
Namespace Name Mixin selector official a
Lcdo;a(Land;Lcdl;)Z
intermediary method_55036
Lnet/minecraft/class_8953;method_55036(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;)Z
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classMultiTickTask<BreezeEntity>
- Mappings:
Namespace Name Mixin selector official a
Lcdo;a(Land;Lcdl;J)Z
intermediary method_55037
Lnet/minecraft/class_8953;method_55037(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;J)Z
-
run
- Overrides:
run
in classMultiTickTask<BreezeEntity>
- Mappings:
Namespace Name Mixin selector official b
Lcdo;b(Land;Lcdl;J)V
intermediary method_55040
Lnet/minecraft/class_8953;method_55040(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;J)V
named run
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<BreezeEntity>
- Mappings:
Namespace Name Mixin selector official c
Lcdo;c(Land;Lcdl;J)V
intermediary method_55042
Lnet/minecraft/class_8953;method_55042(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;J)V
named finishRunning
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;J)V
-
keepRunning
- Overrides:
keepRunning
in classMultiTickTask<BreezeEntity>
- Mappings:
Namespace Name Mixin selector official d
Lcdo;d(Land;Lcdl;J)V
intermediary method_55044
Lnet/minecraft/class_8953;method_55044(Lnet/minecraft/class_3218;Lnet/minecraft/class_8949;J)V
named keepRunning
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/BreezeEntity;J)V
-
isFacingTarget
- Mappings:
Namespace Name Mixin selector official a
Lcdo;a(Lcdl;Lbml;)Z
intermediary method_55038
Lnet/minecraft/class_8953;method_55038(Lnet/minecraft/class_8949;Lnet/minecraft/class_1309;)Z
named isFacingTarget
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;isFacingTarget(Lnet/minecraft/entity/mob/BreezeEntity;Lnet/minecraft/entity/LivingEntity;)Z
-
isTargetWithinRange
- Mappings:
Namespace Name Mixin selector official b
Lcdo;b(Lcdl;Lbml;)Z
intermediary method_55041
Lnet/minecraft/class_8953;method_55041(Lnet/minecraft/class_8949;Lnet/minecraft/class_1309;)Z
named isTargetWithinRange
Lnet/minecraft/entity/ai/brain/task/BreezeShootTask;isTargetWithinRange(Lnet/minecraft/entity/mob/BreezeEntity;Lnet/minecraft/entity/LivingEntity;)Z
-