net.minecraft.world.entity.monster.piglin

public class PiglinBruteAi

bsw
net.minecraft.world.entity.monster.piglin.PiglinBruteAi
net.minecraft.class_5420
net.minecraft.unmapped.C_dgxcirov
net.minecraft.entity.mob.PiglinBruteBrain
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
f_kgplomvv
field_30589
ANGER_DURATION
f_149977_
private static final int
b
MELEE_ATTACK_COOLDOWN
field_30590
f_ywlsklpb
field_30590
MELEE_ATTACK_COOLDOWN
f_149978_
private static final double
c
ACTIVITY_SOUND_LIKELIHOOD_PER_TICK
field_30591
f_sckgijrz
field_30591
ACTIVITY_SOUND_PROBABILITY
f_149979_
private static final int
d
MAX_LOOK_DIST
field_30592
f_rvylkpck
field_30592
MAX_LOOK_DISTANCE
f_149980_
private static final int
e
INTERACTION_RANGE
field_30593
f_zqavoqhg
field_30593
INTERACTION_RANGE
f_149981_
private static final double
f
TARGETING_RANGE
field_30594
f_vaqihzab
field_30594
TARGETING_RANGE
f_149982_
private static final float
g
SPEED_MULTIPLIER_WHEN_IDLING
field_30595
f_sijbxbzf
field_30595
IDLING_SPEED
f_149983_
private static final int
h
HOME_CLOSE_ENOUGH_DISTANCE
field_30596
f_iwzjgqyg
field_30596
HOME_CLOSE_ENOUGH_DISTANCE
f_149984_
private static final int
i
HOME_TOO_FAR_DISTANCE
field_30597
f_knyjtgty
field_30597
HOME_TOO_FAR_DISTANCE
f_149985_
private static final int
j
HOME_STROLL_AROUND_DISTANCE
field_30598
f_rttmqhyx
field_30598
HOME_STROLL_AROUND_DISTANCE
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)
m_gwqlcabf(C_mpoupnon arg0, C_rjqjaxef<C_mpoupnon> arg1)
create(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
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)
m_jyqvwnde(C_mpoupnon arg0)
setCurrentPosAsHome(PiglinBruteEntity piglinBrute)
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)
m_ygnuxwvj(C_mpoupnon arg0, C_rjqjaxef<C_mpoupnon> arg1)
addCoreActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
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)
m_fttpkqml(C_mpoupnon arg0, C_rjqjaxef<C_mpoupnon> arg1)
addIdleActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
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)
m_ysudwwpd(C_mpoupnon arg0, C_rjqjaxef<C_mpoupnon> arg1)
addFightActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
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()
m_qnbpbljr()
method_30244()
createIdleLookTask()
m_35080_()
private static RunOne<PiglinBrute>
b()
createIdleMovementBehaviors()
method_30254()
m_aebazqit()
method_30254()
createIdleMovementTask()
m_35105_()
protected static void
b(bsv arg0)
updateActivity(PiglinBrute arg0)
method_30256(class_5419 arg0)
m_kzwpbjhh(C_mpoupnon arg0)
tick(PiglinBruteEntity piglinBrute)
updateActivity(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)
m_pepvaukv(C_imddhoxf arg0, C_usxaxydn arg1)
isTarget(AbstractPiglinEntity piglin, LivingEntity entity)
isNearestAttackableTarget(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)
m_yrjkpntj(C_imddhoxf arg0)
getTarget(AbstractPiglinEntity piglin)
findNearestAttackableTarget(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)
m_ydxteujr(C_imddhoxf arg0, C_vbbyoqyw<? extends C_usxaxydn> arg1)
getTargetIfInRange(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule)
findRememberedEntityInRange(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> memoryType)
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)
m_zwhcdcve(C_mpoupnon arg0, C_usxaxydn arg1)
tryRevenge(PiglinBruteEntity piglinBrute, LivingEntity target)
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)
m_xkiojnyt(C_mpoupnon arg0, C_usxaxydn arg1)
setTarget(PiglinBruteEntity piglinBrute, LivingEntity target)
setAngryAt(PiglinBruteEntity piglinBrute, LivingEntity entity)
m_149988_(C_1104_ p_149989_, C_524_ p_149990_)
protected static void
c(bsv arg0)
maybePlayActivitySound(PiglinBrute arg0)
method_30258(class_5419 arg0)
m_evraugqe(C_mpoupnon arg0)
playSoundRandomly(PiglinBruteEntity piglinBrute)
randomlyPlayAngrySoundIfFighting(PiglinBruteEntity piglinBrute)
m_35114_(C_1104_ p_35115_)
private static void
d(bsv arg0)
playActivitySound(PiglinBrute arg0)
method_30261(class_5419 arg0)
m_usglrfib(C_mpoupnon arg0)
playSoundIfAngry(PiglinBruteEntity piglinBrute)
playAngrySoundIfFighting(PiglinBruteEntity piglinBrute)
m_35122_(C_1104_ p_35123_)