net.minecraft.world.entity.ai.behavior

public class StartCelebratingIfTargetDead

extends Behavior<LivingEntity>

asj
net.minecraft.world.entity.ai.behavior.StartCelebratingIfTargetDead
net.minecraft.class_4825
net.minecraft.entity.ai.brain.task.DefeatTargetTask
net.minecraft.entity.ai.brain.task.EndAttackTask
net.minecraft.server.v1_16_R1.BehaviorCelebrateDeath

Field summary

Modifier and TypeField
private final int
b
celebrateDuration
field_22327
duration
field_233978_b_
private final BiPredicate<LivingEntity, LivingEntity>
c
dancePredicate
field_25157
field_25157
field_233979_c_

Constructor summary

ModifierConstructor
public (int duration, BiPredicate<LivingEntity, LivingEntity> arg1)

Method summary

Modifier and TypeMethod
protected boolean
a(zd arg0, aoy arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
func_212832_a_(ServerWorld arg0, LivingEntity arg1)
protected void
a(zd arg0, aoy arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, LivingEntity arg1, long arg2)
private LivingEntity
a(aoy arg0)
getAttackTarget(LivingEntity arg0)
method_24616(class_1309 arg0)
getAttackTarget(LivingEntity entity)
func_233980_a_(LivingEntity arg0)