net.minecraft.entity.ai.brain.task

public class CelebrateRaidWinTask

extends MultiTickTask<VillagerEntity>

All mapped superinterfaces:

Task

net.minecraft.world.entity.ai.behavior.CelebrateVillagersSurvivedRaid
net.minecraft.class_4242
net.minecraft.entity.ai.brain.task.CelebrateRaidWinTask

Field summary

Modifier and TypeField
private Raid
currentRaid
field_18983
raid

Constructor summary

ModifierConstructor
public (int minRunTime, int maxRunTime)

Method summary

Modifier and TypeMethod
protected boolean
checkExtraStartConditions(ServerLevel level, Villager body)
method_19951(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
protected boolean
canStillUse(ServerLevel level, Villager body, long timestamp)
method_19952(class_3218 arg0, class_1646 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected void
stop(ServerLevel level, Villager body, long timestamp)
method_19953(class_3218 arg0, class_1646 arg1, long arg2)
finishRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected void
tick(ServerLevel level, Villager body, long timestamp)
method_19954(class_3218 arg0, class_1646 arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
private ItemStack
getFirework(DyeColor color, int flightDuration)
method_19950(class_1767 arg0, int arg1)
createFirework(DyeColor color, int flight)
protected boolean
checkExtraStartConditions(ServerLevel level, LivingEntity body)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
protected boolean
canStillUse(ServerLevel level, LivingEntity body, long timestamp)
method_18927(class_3218 arg0, class_1309 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
stop(ServerLevel level, LivingEntity body, long timestamp)
method_18926(class_3218 arg0, class_1309 arg1, long arg2)
finishRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
tick(ServerLevel level, LivingEntity body, long timestamp)
method_18924(class_3218 arg0, class_1309 arg1, long arg2)
keepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)