net.minecraft.world.entity.ai.behavior

public class StartCelebratingIfTargetDead

extends Behavior<LivingEntity>

bbd
net.minecraft.world.entity.ai.behavior.StartCelebratingIfTargetDead
net.minecraft.class_4825
net.minecraft.entity.ai.brain.task.DefeatTargetTask
net.minecraft.src.C_634_
net.minecraft.world.entity.ai.behavior.BehaviorCelebrateDeath

Field summary

Modifier and TypeField
private final int
a
celebrateDuration
field_22327
duration
f_24219_
private final BiPredicate<LivingEntity, LivingEntity>
c
dancePredicate
field_25157
predicate
f_24220_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(adi arg0, axh arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_24226_, C_524_ arg1)
protected void
a(adi arg0, axh 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)
m_6735_(C_12_ p_24229_, C_524_ p_24230_, long arg2)
private LivingEntity
a(axh arg0)
getAttackTarget(LivingEntity arg0)
method_24616(class_1309 arg0)
getAttackTarget(LivingEntity entity)
m_24231_(C_524_ arg0)