Class CelebrateRaidVictoryTask
- java.lang.Object
-
- net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
-
- net.minecraft.entity.ai.brain.task.CelebrateRaidVictoryTask
-
public class CelebrateRaidVictoryTask extends Task<VillagerEntity>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
-
Field Summary
Fields Modifier and Type Field Description private Raid
currentRaid
-
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
-
Constructor Summary
Constructors Constructor Description CelebrateRaidVictoryTask(int p_i50370_1_, int p_i50370_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
protected boolean
checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
private ItemStack
getFirework(DyeColor p_220391_1_, int p_220391_2_)
protected void
stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
protected void
tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
-
-
-
Field Detail
-
currentRaid
@Nullable private Raid currentRaid
-
-
Method Detail
-
checkExtraStartConditions
protected boolean checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
- Overrides:
checkExtraStartConditions
in classTask<VillagerEntity>
-
canStillUse
protected boolean canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
- Overrides:
canStillUse
in classTask<VillagerEntity>
-
stop
protected void stop(ServerWorld p_212835_1_, VillagerEntity p_212835_2_, long p_212835_3_)
- Overrides:
stop
in classTask<VillagerEntity>
-
tick
protected void tick(ServerWorld p_212833_1_, VillagerEntity p_212833_2_, long p_212833_3_)
- Overrides:
tick
in classTask<VillagerEntity>
-
-