History - net.minecraft.entity.mob.HoglinBrain

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

Brain<?> (Brain<HoglinEntity>): makeBrain, method_24668, create

void (Brain<HoglinEntity>): initCoreActivity, method_24666, addCoreTasks

void (Brain<HoglinEntity>): initIdleActivity, method_24673, addIdleTasks

void (Brain<HoglinEntity>): initFightActivity, method_24676, addFightTasks

void (Brain<HoglinEntity>): initRetreatActivity, method_24679, addAvoidTasks

SoundEvent (HoglinEntity, Activity): lambda$getSoundForCurrentActivity$2, method_30084, method_30084

SoundEvent (HoglinEntity, Activity): lambda$getSoundForCurrentActivity$0, method_30084, method_30084

void (LivingEntity, HoglinEntity): lambda$broadcastAttackTarget$1, method_24663, method_24663

void (LivingEntity, HoglinEntity): lambda$broadcastAttackTarget$0, method_24663, method_24663

List<TaskList<HoglinEntity>> (): getActivities, method_1_1191, getTaskLists

TaskList<HoglinEntity> (): initCoreActivity, method_24666, getCoreTasks

TaskList<HoglinEntity> (): initIdleActivity, method_24673, getIdleTasks

TaskList<HoglinEntity> (): initFightActivity, method_24676, getFightTasks

TaskList<HoglinEntity> (): initRetreatActivity, method_24679, getAvoidTasks

1.21.11_unobfuscated

Names

net.minecraft.world.entity.monster.hoglin.HoglinAi

net.minecraft.class_4835

net.minecraft.entity.mob.HoglinBrain

Fields

int: REPELLENT_DETECTION_RANGE_HORIZONTAL, field_30533, field_30533

int: REPELLENT_DETECTION_RANGE_VERTICAL, field_30534, field_30534

UniformIntProvider: RETREAT_DURATION, field_22369, AVOID_MEMORY_DURATION

int: ATTACK_DURATION, field_30535, field_30535

int: DESIRED_DISTANCE_FROM_PIGLIN_WHEN_IDLING, field_30536, field_30536

int: DESIRED_DISTANCE_FROM_PIGLIN_WHEN_RETREATING, field_30537, field_30537

int: ATTACK_INTERVAL, field_30538, ADULT_MELEE_ATTACK_COOLDOWN

int: BABY_ATTACK_INTERVAL, field_30539, BABY_MELEE_ATTACK_COOLDOWN

int: REPELLENT_PACIFY_TIME, field_30540, field_30540

UniformIntProvider: ADULT_FOLLOW_RANGE, field_25383, WALK_TOWARD_CLOSEST_ADULT_RANGE

float: SPEED_MULTIPLIER_WHEN_AVOIDING_REPELLENT, field_30541, field_30541

float: SPEED_MULTIPLIER_WHEN_RETREATING, field_30542, AVOID_TARGET_SPEED

float: SPEED_MULTIPLIER_WHEN_MAKING_LOVE, field_30543, field_30543

float: SPEED_MULTIPLIER_WHEN_IDLING, field_30544, field_30544

float: SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT, field_30545, field_30545

Constructors

()

Methods

Brain<?> (Brain<HoglinEntity>): makeBrain, method_24668, create

void (Brain<HoglinEntity>): initCoreActivity, method_24666, addCoreTasks

void (Brain<HoglinEntity>): initIdleActivity, method_24673, addIdleTasks

void (Brain<HoglinEntity>): initFightActivity, method_24676, addFightTasks

void (Brain<HoglinEntity>): initRetreatActivity, method_24679, addAvoidTasks

RandomTask<HoglinEntity> (): createIdleMovementBehaviors, method_24662, makeRandomWalkTask

void (HoglinEntity): updateActivity, method_24664, refreshActivities

void (HoglinEntity, LivingEntity): onHitTarget, method_24665, onAttacking

void (HoglinEntity, LivingEntity): broadcastRetreat, method_24675, askAdultsToAvoid

void (HoglinEntity, LivingEntity): retreatFromNearestTarget, method_24678, avoidEnemy

void (HoglinEntity, LivingEntity): setAvoidTarget, method_24681, avoid

Optional<? extends LivingEntity> (ServerWorld, HoglinEntity): findNearestValidAttackTarget, method_24684, getNearestVisibleTargetablePlayer

boolean (HoglinEntity, BlockPos): isPosNearNearestRepellent, method_24669, isWarpedFungusAround

boolean (HoglinEntity): wantsToStopFleeing, method_25947, isLoneAdult

boolean (HoglinEntity): piglinsOutnumberHoglins, method_24686, hasMoreHoglinsAround

void (ServerWorld, HoglinEntity, LivingEntity): wasHurtBy, method_24672, onAttacked

void (ServerWorld, HoglinEntity, LivingEntity): maybeRetaliate, method_24683, targetEnemy

void (HoglinEntity, LivingEntity): setAttackTarget, method_24685, setAttackTarget

void (HoglinEntity, LivingEntity): broadcastAttackTarget, method_24687, askAdultsForHelp

void (HoglinEntity, LivingEntity): setAttackTargetIfCloserThanCurrent, method_24689, setAttackTargetIfCloser

Optional<SoundEvent> (HoglinEntity): getSoundForCurrentActivity, method_30083, getSoundEvent

SoundEvent (HoglinEntity, Activity): getSoundForActivity, method_30082, getSoundEvent

List<HoglinEntity> (HoglinEntity): getVisibleAdultHoglins, method_24690, getAdultHoglinsAround

boolean (HoglinEntity): isNearRepellent, method_30085, hasNearestRepellent

boolean (HoglinEntity): isBreeding, method_24691, hasBreedTarget

boolean (HoglinEntity): isPacified, method_24677, isNearPlayer

SoundEvent (HoglinEntity, Activity): lambda$getSoundForCurrentActivity$2, method_30084, method_30084

void (LivingEntity, HoglinEntity): lambda$broadcastAttackTarget$1, method_24663, method_24663

void (LivingEntity, HoglinEntity): lambda$broadcastRetreat$0, method_24670, method_24670