net.minecraft.world.entity.monster.piglin

public class PiglinBruteAi

coq
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
ANGRY_AT_EXPIRY
ANGER_DURATION
f_149977_
private static final int
b
MELEE_ATTACK_COOLDOWN
field_30590
f_ywlsklpb
MELEE_ATTACK_COOLDOWN
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 float
f
SPEED_MULTIPLIER_WHEN_IDLING
field_30595
f_sijbxbzf
field_30595
IDLING_SPEED
f_149983_
private static final int
g
HOME_CLOSE_ENOUGH_DISTANCE
field_30596
f_iwzjgqyg
field_30596
HOME_CLOSE_ENOUGH_DISTANCE
f_149984_
private static final int
h
HOME_TOO_FAR_DISTANCE
field_30597
f_knyjtgty
field_30597
HOME_TOO_FAR_DISTANCE
f_149985_
private static final int
i
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(cop arg0, bxi<cop> 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(cop 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(cop arg0, bxi<cop> 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(cop arg0, bxi<cop> 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(cop arg0, bxi<cop> 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()
getFollowTasks()
createIdleLookTask()
m_35080_()
private static RunOne<PiglinBrute>
b()
createIdleMovementBehaviors()
method_30254()
m_aebazqit()
getIdleTasks()
createIdleMovementTask()
m_35105_()
protected static void
b(cop 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(ash arg0, cok arg1, bwg arg2)
isNearestValidAttackTarget(ServerLevel arg0, AbstractPiglin arg1, LivingEntity arg2)
method_30248(class_3218 arg0, class_5418 arg1, class_1309 arg2)
m_pepvaukv(C_bdwnwhiu arg0, C_imddhoxf arg1, C_usxaxydn arg2)
isTarget(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
isNearestAttackableTarget(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity entity)
m_35088_(C_12_ p_363954_, C_1100_ p_35089_, C_524_ p_35090_)
private static Optional<? extends LivingEntity>
a(ash arg0, cok arg1)
findNearestValidAttackTarget(ServerLevel arg0, AbstractPiglin arg1)
method_30247(class_3218 arg0, class_5418 arg1)
m_yrjkpntj(C_bdwnwhiu arg0, C_imddhoxf arg1)
getTarget(ServerWorld world, AbstractPiglinEntity piglin)
findNearestAttackableTarget(ServerWorld world, AbstractPiglinEntity piglin)
m_35086_(C_12_ p_364523_, C_1100_ p_35087_)
protected static void
a(ash arg0, cop arg1, bwg arg2)
wasHurtBy(ServerLevel arg0, PiglinBrute arg1, LivingEntity arg2)
method_30251(class_3218 arg0, class_5419 arg1, class_1309 arg2)
m_zwhcdcve(C_bdwnwhiu arg0, C_mpoupnon arg1, C_usxaxydn arg2)
tryRevenge(ServerWorld world, PiglinBruteEntity piglinBrute, LivingEntity target)
tryRevenge(ServerWorld world, PiglinBruteEntity piglinBrute, LivingEntity target)
m_35096_(C_12_ p_367846_, C_1104_ p_35097_, C_524_ p_35098_)
protected static void
a(cop arg0, bwg 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(cop 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(cop 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_)