net.minecraft.world.entity.monster.piglin

public class PiglinBruteAi

bsw
net.minecraft.world.entity.monster.piglin.PiglinBruteAi
net.minecraft.class_5420
net.minecraft.entity.mob.PiglinBruteBrain
net.minecraft.src.C_1105_
net.minecraft.world.entity.monster.piglin.PiglinBruteAI

Field summary

Modifier and TypeField
private static final int
a
ANGER_DURATION
field_30589
field_30589
f_149977_
private static final int
b
MELEE_ATTACK_COOLDOWN
field_30590
field_30590
f_149978_
private static final double
c
ACTIVITY_SOUND_LIKELIHOOD_PER_TICK
field_30591
field_30591
f_149979_
private static final int
d
MAX_LOOK_DIST
field_30592
field_30592
f_149980_
private static final int
e
INTERACTION_RANGE
field_30593
field_30593
f_149981_
private static final double
f
TARGETING_RANGE
field_30594
field_30594
f_149982_
private static final float
g
SPEED_MULTIPLIER_WHEN_IDLING
field_30595
field_30595
f_149983_
private static final int
h
HOME_CLOSE_ENOUGH_DISTANCE
field_30596
field_30596
f_149984_
private static final int
i
HOME_TOO_FAR_DISTANCE
field_30597
field_30597
f_149985_
private static final int
j
HOME_STROLL_AROUND_DISTANCE
field_30598
field_30598
f_149986_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected static Brain<?>
a(bsv arg0, bcx<bsv> arg1)
makeBrain(PiglinBrute arg0, Brain<PiglinBrute> arg1)
method_30252(class_5419 arg0, class_4095<class_5419> arg1)
create(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
m_35099_(C_1104_ p_35100_, C_548_<C_1104_> p_35101_)
protected static void
a(bsv arg0)
initMemories(PiglinBrute arg0)
method_30250(class_5419 arg0)
setCurrentPosAsHome(PiglinBruteEntity piglinBrute)
m_35094_(C_1104_ p_35095_)
private static void
b(bsv arg0, bcx<bsv> arg1)
initCoreActivity(PiglinBrute arg0, Brain<PiglinBrute> arg1)
method_30257(class_5419 arg0, class_4095<class_5419> arg1)
addCoreActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
m_35111_(C_1104_ p_35112_, C_548_<C_1104_> p_35113_)
private static void
c(bsv arg0, bcx<bsv> arg1)
initIdleActivity(PiglinBrute arg0, Brain<PiglinBrute> arg1)
method_30260(class_5419 arg0, class_4095<class_5419> arg1)
addIdleActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
m_35119_(C_1104_ p_35120_, C_548_<C_1104_> p_35121_)
private static void
d(bsv arg0, bcx<bsv> arg1)
initFightActivity(PiglinBrute arg0, Brain<PiglinBrute> arg1)
method_30262(class_5419 arg0, class_4095<class_5419> arg1)
addFightActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
m_35124_(C_1104_ p_35125_, C_548_<C_1104_> p_35126_)
private static RunOne<PiglinBrute>
a()
createIdleLookBehaviors()
method_30244()
method_30244()
m_35080_()
private static RunOne<PiglinBrute>
b()
createIdleMovementBehaviors()
method_30254()
method_30254()
m_35105_()
protected static void
b(bsv arg0)
updateActivity(PiglinBrute arg0)
method_30256(class_5419 arg0)
tick(PiglinBruteEntity piglinBrute)
m_35109_(C_1104_ p_35110_)
private static boolean
a(bsr arg0, bcc arg1)
isNearestValidAttackTarget(AbstractPiglin arg0, LivingEntity arg1)
method_30248(class_5418 arg0, class_1309 arg1)
isTarget(AbstractPiglinEntity piglin, LivingEntity entity)
m_35088_(C_1100_ p_35089_, C_524_ p_35090_)
private static Optional<? extends LivingEntity>
a(bsr arg0)
findNearestValidAttackTarget(AbstractPiglin arg0)
method_30247(class_5418 arg0)
getTarget(AbstractPiglinEntity piglin)
m_35086_(C_1100_ p_35087_)
private static Optional<? extends LivingEntity>
a(bsr arg0, bku<? extends bcc> arg1)
getTargetIfWithinRange(AbstractPiglin arg0, MemoryModuleType<? extends LivingEntity> arg1)
method_30249(class_5418 arg0, class_4140<? extends class_1309> arg1)
getTargetIfInRange(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule)
m_35091_(C_1100_ p_35092_, C_753_<? extends C_524_> p_35093_)
protected static void
a(bsv arg0, bcc arg1)
wasHurtBy(PiglinBrute arg0, LivingEntity arg1)
method_30251(class_5419 arg0, class_1309 arg1)
tryRevenge(PiglinBruteEntity piglinBrute, LivingEntity target)
m_35096_(C_1104_ p_35097_, C_524_ p_35098_)
protected static void
b(bsv arg0, bcc arg1)
setAngerTarget(PiglinBrute arg0, LivingEntity arg1)
method_35198(class_5419 arg0, class_1309 arg1)
setTarget(PiglinBruteEntity piglinBrute, LivingEntity target)
m_149988_(C_1104_ p_149989_, C_524_ p_149990_)
protected static void
c(bsv arg0)
maybePlayActivitySound(PiglinBrute arg0)
method_30258(class_5419 arg0)
playSoundRandomly(PiglinBruteEntity piglinBrute)
m_35114_(C_1104_ p_35115_)
private static void
d(bsv arg0)
playActivitySound(PiglinBrute arg0)
method_30261(class_5419 arg0)
playSoundIfAngry(PiglinBruteEntity piglinBrute)
m_35122_(C_1104_ p_35123_)