Class SonicBoomTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<WardenEntity>
net.minecraft.entity.ai.brain.task.SonicBoomTask
- All Implemented Interfaces:
Task<WardenEntity>
- Mappings:
Namespace Name official bow
intermediary net/minecraft/class_7396
named net/minecraft/entity/ai/brain/task/SonicBoomTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final double
private static final double
private static final int
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 TypeMethodDescriptionstatic void
cooldown
(LivingEntity warden, int cooldown) protected void
finishRunning
(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected void
keepRunning
(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected void
run
(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, WardenEntity wardenEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, WardenEntity wardenEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, stop, tick, tryStarting
-
Field Details
-
HORIZONTAL_RANGE
private static final int HORIZONTAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbow;d:I
intermediary field_38850
Lnet/minecraft/class_7396;field_38850:I
named HORIZONTAL_RANGE
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;HORIZONTAL_RANGE:I
-
VERTICAL_RANGE
private static final int VERTICAL_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbow;e:I
intermediary field_38851
Lnet/minecraft/class_7396;field_38851:I
named VERTICAL_RANGE
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;VERTICAL_RANGE:I
-
field_38852
private static final double field_38852- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lbow;f:D
intermediary field_38852
Lnet/minecraft/class_7396;field_38852:D
named field_38852
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;field_38852:D
-
field_38853
private static final double field_38853- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lbow;g:D
intermediary field_38853
Lnet/minecraft/class_7396;field_38853:D
named field_38853
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;field_38853:D
-
COOLDOWN
public static final int COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbow;c:I
intermediary field_38849
Lnet/minecraft/class_7396;field_38849:I
named COOLDOWN
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;COOLDOWN:I
-
SOUND_DELAY
private static final int SOUND_DELAY- Mappings:
Namespace Name Mixin selector official h
Lbow;h:I
intermediary field_38854
Lnet/minecraft/class_7396;field_38854:I
named SOUND_DELAY
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;SOUND_DELAY:I
-
RUN_TIME
private static final int RUN_TIME- Mappings:
Namespace Name Mixin selector official i
Lbow;i:I
intermediary field_38855
Lnet/minecraft/class_7396;field_38855:I
named RUN_TIME
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;RUN_TIME:I
-
-
Constructor Details
-
SonicBoomTask
public SonicBoomTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<WardenEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbow;a(Lakq;Lcay;)Z
intermediary method_43262
Lnet/minecraft/class_7396;method_43262(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;)Z
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classMultiTickTask<WardenEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbow;a(Lakq;Lcay;J)Z
intermediary method_43263
Lnet/minecraft/class_7396;method_43263(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)Z
-
run
- Overrides:
run
in classMultiTickTask<WardenEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbow;b(Lakq;Lcay;J)V
intermediary method_43267
Lnet/minecraft/class_7396;method_43267(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
named run
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
-
keepRunning
- Overrides:
keepRunning
in classMultiTickTask<WardenEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbow;c(Lakq;Lcay;J)V
intermediary method_43268
Lnet/minecraft/class_7396;method_43268(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
named keepRunning
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<WardenEntity>
- Mappings:
Namespace Name Mixin selector official d
Lbow;d(Lakq;Lcay;J)V
intermediary method_43269
Lnet/minecraft/class_7396;method_43269(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
named finishRunning
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
-
cooldown
- Mappings:
Namespace Name Mixin selector official a
Lbow;a(Lbjg;I)V
intermediary method_43264
Lnet/minecraft/class_7396;method_43264(Lnet/minecraft/class_1309;I)V
named cooldown
Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;cooldown(Lnet/minecraft/entity/LivingEntity;I)V
-