net.minecraft.world.entity.monster.hoglin

public class HoglinAi

ben
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_R3.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(arf<bem> 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(arf<bem> 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(arf<bem> 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(arf<bem> 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(arf<bem> 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(bem arg0)
updateActivity(Hoglin arg0)
method_24664(class_4760 arg0)
refreshActivities(HoglinEntity hoglin)
func_234377_a_(HoglinEntity arg0)
protected static void
a(bem arg0, aqm 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(bem arg0, aqm 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(bem arg0, aqm 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(bem arg0, aqm 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(bem arg0)
findNearestValidAttackTarget(Hoglin arg0)
method_24684(class_4760 arg0)
getNearestVisibleTargetablePlayer(HoglinEntity hoglin)
func_234392_e_(HoglinEntity arg0)
static boolean
a(bem 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(bem arg0)
wantsToStopFleeing(Hoglin arg0)
method_25947(class_4760 arg0)
method_25947(HoglinEntity arg0)
func_234394_f_(HoglinEntity arg0)
private static boolean
f(bem arg0)
piglinsOutnumberHoglins(Hoglin arg0)
method_24686(class_4760 arg0)
hasMoreHoglinsAround(HoglinEntity hoglin)
func_234396_g_(HoglinEntity arg0)
protected static void
b(bem arg0, aqm 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(bem arg0, aqm 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(bem arg0, aqm 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(bem arg0, aqm 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(bem arg0, aqm 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(bem arg0)
getSoundForCurrentActivity(Hoglin arg0)
method_30083(class_4760 arg0)
method_30083(HoglinEntity arg0)
func_234398_h_(HoglinEntity arg0)
private static SoundEvent
a(bem arg0, bhf 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(bem arg0)
getVisibleAdultHoglins(Hoglin arg0)
method_24690(class_4760 arg0)
getAdultHoglinsAround(HoglinEntity hoglin)
func_234400_i_(HoglinEntity arg0)
private static boolean
h(bem arg0)
isNearRepellent(Hoglin arg0)
method_30085(class_4760 arg0)
method_30085(HoglinEntity arg0)
func_241416_h_(HoglinEntity arg0)
private static boolean
i(bem arg0)
isBreeding(Hoglin arg0)
method_24691(class_4760 arg0)
hasBreedTarget(HoglinEntity hoglin)
func_234402_j_(HoglinEntity arg0)
protected static boolean
c(bem arg0)
isPacified(Hoglin arg0)
method_24677(class_4760 arg0)
isNearPlayer(HoglinEntity hoglin)
func_234386_c_(HoglinEntity arg0)