net.minecraft.world.entity.monster.piglin

public class PiglinBruteAi

coq
net.minecraft.world.entity.monster.piglin.PiglinBruteAi
net.minecraft.class_5420
net.minecraft.entity.mob.PiglinBruteBrain
net.minecraft.world.entity.monster.piglin.PiglinBruteAI

Field summary

Modifier and TypeField
private static final int
a
ANGER_DURATION
field_30589
ANGRY_AT_EXPIRY
private static final int
b
MELEE_ATTACK_COOLDOWN
field_30590
MELEE_ATTACK_COOLDOWN
private static final double
c
ACTIVITY_SOUND_LIKELIHOOD_PER_TICK
field_30591
field_30591
private static final int
d
MAX_LOOK_DIST
field_30592
field_30592
private static final int
e
INTERACTION_RANGE
field_30593
field_30593
private static final float
f
SPEED_MULTIPLIER_WHEN_IDLING
field_30595
field_30595
private static final int
g
HOME_CLOSE_ENOUGH_DISTANCE
field_30596
field_30596
private static final int
h
HOME_TOO_FAR_DISTANCE
field_30597
field_30597
private static final int
i
HOME_STROLL_AROUND_DISTANCE
field_30598
field_30598

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)
create(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
protected static void
a(cop arg0)
initMemories(PiglinBrute arg0)
method_30250(class_5419 arg0)
setCurrentPosAsHome(PiglinBruteEntity piglinBrute)
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)
addCoreActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
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)
addIdleActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
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)
addFightActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
private static RunOne<PiglinBrute>
a()
createIdleLookBehaviors()
method_30244()
getFollowTasks()
private static RunOne<PiglinBrute>
b()
createIdleMovementBehaviors()
method_30254()
getIdleTasks()
protected static void
b(cop arg0)
updateActivity(PiglinBrute arg0)
method_30256(class_5419 arg0)
tick(PiglinBruteEntity piglinBrute)
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)
isTarget(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
private static Optional<? extends LivingEntity>
a(ash arg0, cok arg1)
findNearestValidAttackTarget(ServerLevel arg0, AbstractPiglin arg1)
method_30247(class_3218 arg0, class_5418 arg1)
getTarget(ServerWorld world, AbstractPiglinEntity piglin)
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)
tryRevenge(ServerWorld world, PiglinBruteEntity piglinBrute, LivingEntity target)
protected static void
a(cop arg0, bwg arg1)
setAngerTarget(PiglinBrute arg0, LivingEntity arg1)
method_35198(class_5419 arg0, class_1309 arg1)
setTarget(PiglinBruteEntity piglinBrute, LivingEntity target)
protected static void
c(cop arg0)
maybePlayActivitySound(PiglinBrute arg0)
method_30258(class_5419 arg0)
playSoundRandomly(PiglinBruteEntity piglinBrute)
private static void
d(cop arg0)
playActivitySound(PiglinBrute arg0)
method_30261(class_5419 arg0)
playSoundIfAngry(PiglinBruteEntity piglinBrute)