Class CelebrateRaidWinTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<VillagerEntity>
net.minecraft.entity.ai.brain.task.CelebrateRaidWinTask
- All Implemented Interfaces:
Task<VillagerEntity>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/CelebrateRaidWinTask
intermediary net/minecraft/class_4242
official bvo
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate ItemStack
createFirework
(DyeColor color, int flight) protected void
finishRunning
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected void
keepRunning
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, VillagerEntity villagerEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, run, stop, tick, tryStarting
-
Field Details
-
raid
- Mappings:
Namespace Name Mixin selector named raid
Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;raid:Lnet/minecraft/village/raid/Raid;
intermediary field_18983
Lnet/minecraft/class_4242;field_18983:Lnet/minecraft/class_3765;
official c
Lbvo;c:Lcok;
-
-
Constructor Details
-
CelebrateRaidWinTask
public CelebrateRaidWinTask(int minRunTime, int maxRunTime) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;<init>(II)V
intermediary <init>
Lnet/minecraft/class_4242;<init>(II)V
official <init>
Lbvo;<init>(II)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector named shouldRun
Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
intermediary method_19951
Lnet/minecraft/class_4242;method_19951(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
official a
Lbvo;a(Larf;Lcmm;)Z
-
shouldKeepRunning
protected boolean shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) - Overrides:
shouldKeepRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
intermediary method_19952
Lnet/minecraft/class_4242;method_19952(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
official a
Lbvo;a(Larf;Lcmm;J)Z
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector named finishRunning
Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
intermediary method_19953
Lnet/minecraft/class_4242;method_19953(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
official b
Lbvo;b(Larf;Lcmm;J)V
-
keepRunning
- Overrides:
keepRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector named keepRunning
Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
intermediary method_19954
Lnet/minecraft/class_4242;method_19954(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
official c
Lbvo;c(Larf;Lcmm;J)V
-
createFirework
- Mappings:
Namespace Name Mixin selector named createFirework
Lnet/minecraft/entity/ai/brain/task/CelebrateRaidWinTask;createFirework(Lnet/minecraft/util/DyeColor;I)Lnet/minecraft/item/ItemStack;
intermediary method_19950
Lnet/minecraft/class_4242;method_19950(Lnet/minecraft/class_1767;I)Lnet/minecraft/class_1799;
official a
Lbvo;a(Lctk;I)Lcur;
-