net.minecraft.world.entity.monster.hoglin

public class HoglinAi

bek
net.minecraft.world.entity.monster.hoglin.HoglinAi
net.minecraft.class_4835
net.minecraft.entity.mob.HoglinBrain
net.minecraft.entity.monster.HoglinTasks
net.minecraft.server.v1_16_R2.HoglinAI

Field summary

Modifier and TypeField
private static final IntRange
a
RETREAT_DURATION
field_22369
AVOID_MEMORY_DURATION
field_234372_a_
private static final IntRange
b
ADULT_FOLLOW_RANGE
field_25383
WALK_TOWARD_CLOSEST_ADULT_RANGE
field_234373_b_

Method summary

Modifier and TypeMethod
protected static Brain<?>
a(arc<bej> arg0)
makeBrain(Brain<Hoglin> arg0)
method_24668(class_4095<class_4760> arg0)
create(Brain<HoglinEntity> brain)
func_234376_a_(Brain<HoglinEntity> arg0)
private static void
b(arc<bej> arg0)
initCoreActivity(Brain<Hoglin> arg0)
method_24666(class_4095<class_4760> arg0)
addCoreTasks(Brain<HoglinEntity> brain)
func_234382_b_(Brain<HoglinEntity> arg0)
private static void
c(arc<bej> arg0)
initIdleActivity(Brain<Hoglin> arg0)
method_24673(class_4095<class_4760> arg0)
addIdleTasks(Brain<HoglinEntity> brain)
func_234385_c_(Brain<HoglinEntity> arg0)
private static void
d(arc<bej> arg0)
initFightActivity(Brain<Hoglin> arg0)
method_24676(class_4095<class_4760> arg0)
addFightTasks(Brain<HoglinEntity> brain)
func_234388_d_(Brain<HoglinEntity> arg0)
private static void
e(arc<bej> arg0)
initRetreatActivity(Brain<Hoglin> arg0)
method_24679(class_4095<class_4760> arg0)
addAvoidTasks(Brain<HoglinEntity> brain)
func_234391_e_(Brain<HoglinEntity> arg0)
private static RunOne<Hoglin>
a()
createIdleMovementBehaviors()
method_24662()
makeRandomWalkTask()
func_234374_a_()
protected static void
a(bej arg0)
updateActivity(Hoglin arg0)
method_24664(class_4760 arg0)
refreshActivities(HoglinEntity hoglin)
func_234377_a_(HoglinEntity arg0)
protected static void
a(bej arg0, aqj arg1)
onHitTarget(Hoglin arg0, LivingEntity arg1)
method_24665(class_4760 arg0, class_1309 arg1)
onAttacking(HoglinEntity hoglin, LivingEntity target)
func_234378_a_(HoglinEntity arg0, LivingEntity arg1)
private static void
c(bej arg0, aqj arg1)
broadcastRetreat(Hoglin arg0, LivingEntity arg1)
method_24675(class_4760 arg0, class_1309 arg1)
askAdultsToAvoid(HoglinEntity hoglin, LivingEntity target)
func_234387_c_(HoglinEntity arg0, LivingEntity arg1)
private static void
d(bej arg0, aqj arg1)
retreatFromNearestTarget(Hoglin arg0, LivingEntity arg1)
method_24678(class_4760 arg0, class_1309 arg1)
avoidEnemy(HoglinEntity hoglin, LivingEntity target)
func_234390_d_(HoglinEntity arg0, LivingEntity arg1)
private static void
e(bej arg0, aqj arg1)
setAvoidTarget(Hoglin arg0, LivingEntity arg1)
method_24681(class_4760 arg0, class_1309 arg1)
avoid(HoglinEntity hoglin, LivingEntity target)
func_234393_e_(HoglinEntity arg0, LivingEntity arg1)
private static Optional<? extends LivingEntity>
d(bej arg0)
findNearestValidAttackTarget(Hoglin arg0)
method_24684(class_4760 arg0)
getNearestVisibleTargetablePlayer(HoglinEntity hoglin)
func_234392_e_(HoglinEntity arg0)
static boolean
a(bej arg0, fx arg1)
isPosNearNearestRepellent(Hoglin arg0, BlockPos arg1)
method_24669(class_4760 arg0, class_2338 arg1)
isWarpedFungusAround(HoglinEntity hoglin, BlockPos pos)
func_234380_a_(HoglinEntity arg0, BlockPos arg1)
private static boolean
e(bej arg0)
wantsToStopFleeing(Hoglin arg0)
method_25947(class_4760 arg0)
method_25947(HoglinEntity arg0)
func_234394_f_(HoglinEntity arg0)
private static boolean
f(bej arg0)
piglinsOutnumberHoglins(Hoglin arg0)
method_24686(class_4760 arg0)
hasMoreHoglinsAround(HoglinEntity hoglin)
func_234396_g_(HoglinEntity arg0)
protected static void
b(bej arg0, aqj arg1)
wasHurtBy(Hoglin arg0, LivingEntity arg1)
method_24672(class_4760 arg0, class_1309 arg1)
onAttacked(HoglinEntity hoglin, LivingEntity attacker)
func_234384_b_(HoglinEntity arg0, LivingEntity arg1)
private static void
f(bej arg0, aqj arg1)
maybeRetaliate(Hoglin arg0, LivingEntity arg1)
method_24683(class_4760 arg0, class_1309 arg1)
targetEnemy(HoglinEntity hoglin, LivingEntity target)
func_234395_f_(HoglinEntity arg0, LivingEntity arg1)
private static void
g(bej arg0, aqj arg1)
setAttackTarget(Hoglin arg0, LivingEntity arg1)
method_24685(class_4760 arg0, class_1309 arg1)
setAttackTarget(HoglinEntity hoglin, LivingEntity target)
func_234397_g_(HoglinEntity arg0, LivingEntity arg1)
private static void
h(bej arg0, aqj arg1)
broadcastAttackTarget(Hoglin arg0, LivingEntity arg1)
method_24687(class_4760 arg0, class_1309 arg1)
askAdultsForHelp(HoglinEntity hoglin, LivingEntity target)
func_234399_h_(HoglinEntity arg0, LivingEntity arg1)
private static void
i(bej arg0, aqj arg1)
setAttackTargetIfCloserThanCurrent(Hoglin arg0, LivingEntity arg1)
method_24689(class_4760 arg0, class_1309 arg1)
setAttackTargetIfCloser(HoglinEntity hoglin, LivingEntity targetCandidate)
func_234401_i_(HoglinEntity arg0, LivingEntity arg1)
public static Optional<SoundEvent>
b(bej arg0)
getSoundForCurrentActivity(Hoglin arg0)
method_30083(class_4760 arg0)
method_30083(HoglinEntity arg0)
func_234398_h_(HoglinEntity arg0)
private static SoundEvent
a(bej arg0, bhc arg1)
getSoundForActivity(Hoglin arg0, Activity arg1)
method_30082(class_4760 arg0, class_4168 arg1)
method_30082(HoglinEntity arg0, Activity arg1)
func_241413_a_(HoglinEntity arg0, Activity arg1)
private static List<Hoglin>
g(bej arg0)
getVisibleAdultHoglins(Hoglin arg0)
method_24690(class_4760 arg0)
getAdultHoglinsAround(HoglinEntity hoglin)
func_234400_i_(HoglinEntity arg0)
private static boolean
h(bej arg0)
isNearRepellent(Hoglin arg0)
method_30085(class_4760 arg0)
method_30085(HoglinEntity arg0)
func_241416_h_(HoglinEntity arg0)
private static boolean
i(bej arg0)
isBreeding(Hoglin arg0)
method_24691(class_4760 arg0)
hasBreedTarget(HoglinEntity hoglin)
func_234402_j_(HoglinEntity arg0)
protected static boolean
c(bej arg0)
isPacified(Hoglin arg0)
method_24677(class_4760 arg0)
isNearPlayer(HoglinEntity hoglin)
func_234386_c_(HoglinEntity arg0)