public class CelebrateRaidVictoryTask extends Task<VillagerEntity>
Task.Status
Constructor and Description |
---|
CelebrateRaidVictoryTask(int p_i50370_1_,
int p_i50370_2_) |
Modifier and Type | Method and Description |
---|---|
private ItemStack |
makeFirework(DyeColor color,
int flightTime) |
protected void |
resetTask(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldContinueExecuting(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
protected boolean |
shouldExecute(ServerWorld worldIn,
VillagerEntity owner) |
protected void |
updateTask(ServerWorld worldIn,
VillagerEntity owner,
long gameTime) |
getStatus, isTimedOut, start, startExecuting, stop, tick, toString
@Nullable private Raid raid
public CelebrateRaidVictoryTask(int p_i50370_1_, int p_i50370_2_)
protected boolean shouldExecute(ServerWorld worldIn, VillagerEntity owner)
shouldExecute
in class Task<VillagerEntity>
protected boolean shouldContinueExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
shouldContinueExecuting
in class Task<VillagerEntity>
protected void resetTask(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
resetTask
in class Task<VillagerEntity>
protected void updateTask(ServerWorld worldIn, VillagerEntity owner, long gameTime)
updateTask
in class Task<VillagerEntity>