History - net.minecraft.world.entity.ai.behavior.StopAttackingIfTargetInvalid

1.21.3

Names

bxw

cao

Fields

int: a, TIMEOUT_TO_GET_WITHIN_ATTACK_RANGE, field_30177, REMEMBER_TIME, f_147978_

int: a, TIMEOUT_TO_GET_WITHIN_ATTACK_RANGE, field_30177, REMEMBER_TIME

Constructors

Methods

<E extends Mob> BehaviorControl<E> (BiConsumer<E, LivingEntity>): a, create, method_47137, create, m_257940_

<E extends Mob> BehaviorControl<E> (Predicate<LivingEntity>): a, create, method_47138, create, m_257990_

<E extends Mob> BehaviorControl<E> (): a, create, method_47132, create, m_257822_

<E extends Mob> BehaviorControl<E> (): a, create, method_47132, create

<E extends Mob> BehaviorControl<E> (Predicate<LivingEntity>, BiConsumer<E, LivingEntity>, boolean): a, create, method_47139, create, m_257811_

boolean (LivingEntity, Optional<Long>): a, isTiredOfTryingToReachTarget, method_24621, cannotReachTarget, m_258032_

boolean (LivingEntity, Optional<Long>): a, isTiredOfTryingToReachTarget, method_24621, cannotReachTarget

<E extends Mob> BehaviorControl<E> (StopAttackingIfTargetInvalid$TargetErasedCallback<E>): a, create, method_47137, create

<E extends Mob> BehaviorControl<E> (StopAttackingIfTargetInvalid$StopAttackCondition): a, create, method_47138, create

<E extends Mob> BehaviorControl<E> (StopAttackingIfTargetInvalid$StopAttackCondition, StopAttackingIfTargetInvalid$TargetErasedCallback<E>, boolean): a, create, method_47139, create

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

bxz

bxw

Fields

Constructors

Methods

1.20.6

Names

bqr

bxz

Fields

Constructors

Methods

1.20.4

Names

bnl

bqr

Fields

Constructors

Methods

1.20.2

Names

bkf

bnl

Fields

Constructors

Methods

1.20.1

Names

bkd

bkf

Fields

Constructors

Methods

1.19.4

Names

bii

bkd

Fields

Constructors

Methods

1.19.3

Names

bge

bii

Fields

Predicate<LivingEntity>: d, stopAttackingWhen, field_22329, alternativeCondition, f_24233_

BiConsumer<E, LivingEntity>: e, onTargetErased, field_30178, forgetCallback, f_147979_

boolean: f, canGrowTiredOfTryingToReachTarget, field_38102, shouldForgetIfTargetUnreachable, f_217397_

Constructors

(Predicate<LivingEntity>)

(Predicate<LivingEntity>, BiConsumer<E, LivingEntity>, boolean)

(Predicate<LivingEntity>, BiConsumer<E, LivingEntity>)

(BiConsumer<E, LivingEntity>)

Methods

void (ServerLevel, E, long): a, start, method_24623, run, m_6735_

boolean (E): b, isCurrentTargetInDifferentLevel, method_24622, isAttackTargetInAnotherWorld, m_24247_

LivingEntity (E): c, getAttackTarget, method_24625, getAttackTarget, m_24251_

<E extends LivingEntity> boolean (E): a, isTiredOfTryingToReachTarget, method_24621, cannotReachTarget, m_24245_

boolean (E): d, isCurrentTargetDeadOrRemoved, method_24626, isAttackTargetDead, m_24253_

void (E): a, clearAttackTarget, method_24627, forgetAttackTarget, m_24255_

<E extends Mob> BehaviorControl<E> (BiConsumer<E, LivingEntity>): a, create, method_47137, create, m_257940_

<E extends Mob> BehaviorControl<E> (Predicate<LivingEntity>): a, create, method_47138, create, m_257990_

<E extends Mob> BehaviorControl<E> (): a, create, method_47132, create, m_257822_

<E extends Mob> BehaviorControl<E> (Predicate<LivingEntity>, BiConsumer<E, LivingEntity>, boolean): a, create, method_47139, create, m_257811_

boolean (LivingEntity, Optional<Long>): a, isTiredOfTryingToReachTarget, method_24621, cannotReachTarget, m_258032_

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

bfh

bge

Fields

Constructors

Methods

1.19

Names

bbv

bfh

Fields

Predicate<LivingEntity>: c, stopAttackingWhen, field_22329, alternativeCondition, f_24233_

Predicate<LivingEntity>: d, stopAttackingWhen, field_22329, alternativeCondition, f_24233_

Consumer<E>: d, onTargetErased, field_30178, forgetCallback, f_147979_

BiConsumer<E, LivingEntity>: e, onTargetErased, field_30178, forgetCallback, f_147979_

boolean: f, canGrowTiredOfTryingToReachTarget, field_38102, shouldForgetIfTargetUnreachable, f_217397_

Constructors

(Predicate<LivingEntity>, Consumer<E>)

(Consumer<E>)

(Predicate<LivingEntity>, BiConsumer<E, LivingEntity>, boolean)

(Predicate<LivingEntity>, BiConsumer<E, LivingEntity>)

(BiConsumer<E, LivingEntity>)

Methods

1.18.2

Names

bbe

bbv

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

axs

bbe

Fields

Constructors

Methods

1.17.1

Names

axr

axs

Fields

Constructors

Methods

1.17

Names

aty

axr

net.minecraft.entity.ai.brain.task.FindNewAttackTargetTask

net.minecraft.src.C_635_

net.minecraft.server.v1_16_R3.BehaviorAttackTargetForget

net.minecraft.world.entity.ai.behavior.BehaviorAttackTargetForget

Fields

Predicate<LivingEntity>: b, stopAttackingWhen, field_22329, alternativeCondition, field_233981_b_

Predicate<LivingEntity>: c, stopAttackingWhen, field_22329, alternativeCondition, f_24233_

int: a, TIMEOUT_TO_GET_WITHIN_ATTACK_RANGE, field_30177, REMEMBER_TIME, f_147978_

Consumer<E>: d, onTargetErased, field_30178, forgetCallback, f_147979_

Constructors

(Predicate<LivingEntity>, Consumer<E>)

(Consumer<E>)

Methods

void (ServerLevel, E, long): a, start, method_24623, run, func_212831_a_

void (ServerLevel, E, long): a, start, method_24623, run, m_6735_

boolean (E): a, isCurrentTargetInDifferentLevel, method_24622, isAttackTargetInAnotherWorld, func_233983_a_

boolean (E): b, isCurrentTargetInDifferentLevel, method_24622, isAttackTargetInAnotherWorld, m_24247_

LivingEntity (E): b, getAttackTarget, method_24625, getAttackTarget, func_233985_b_

LivingEntity (E): c, getAttackTarget, method_24625, getAttackTarget, m_24251_

<E extends LivingEntity> boolean (E): a, isTiredOfTryingToReachTarget, method_24621, cannotReachTarget, func_233982_a_

<E extends LivingEntity> boolean (E): a, isTiredOfTryingToReachTarget, method_24621, cannotReachTarget, m_24245_

boolean (E): c, isCurrentTargetDeadOrRemoved, method_24626, isAttackTargetDead, func_233986_c_

boolean (E): d, isCurrentTargetDeadOrRemoved, method_24626, isAttackTargetDead, m_24253_

void (E): d, clearAttackTarget, method_24627, forgetAttackTarget, func_233987_d_

void (E): a, clearAttackTarget, method_24627, forgetAttackTarget, m_24255_

1.16.5

Names

Fields

Constructors

Methods

1.16.4

Names

atv

aty

net.minecraft.server.v1_16_R2.BehaviorAttackTargetForget

net.minecraft.server.v1_16_R3.BehaviorAttackTargetForget

Fields

Constructors

Methods

1.16.3

Names

Fields

Constructors

Methods

1.16.2

Names

ask

atv

net.minecraft.server.v1_16_R1.BehaviorAttackTargetForget

net.minecraft.server.v1_16_R2.BehaviorAttackTargetForget

Fields

Constructors

Methods

1.16.1

Names

ask

net.minecraft.world.entity.ai.behavior.StopAttackingIfTargetInvalid

net.minecraft.class_4828

net.minecraft.entity.ai.brain.task.ForgetAttackTargetTask

net.minecraft.entity.ai.brain.task.FindNewAttackTargetTask

net.minecraft.server.v1_16_R1.BehaviorAttackTargetForget

Fields

Predicate<LivingEntity>: b, stopAttackingWhen, field_22329, alternativeCondition, field_233981_b_

Constructors

(Predicate<LivingEntity>)

()

Methods

void (ServerLevel, E, long): a, start, method_24623, run, func_212831_a_

boolean (E): a, isCurrentTargetInDifferentLevel, method_24622, isAttackTargetInAnotherWorld, func_233983_a_

LivingEntity (E): b, getAttackTarget, method_24625, getAttackTarget, func_233985_b_

<E extends LivingEntity> boolean (E): a, isTiredOfTryingToReachTarget, method_24621, cannotReachTarget, func_233982_a_

boolean (E): c, isCurrentTargetDeadOrRemoved, method_24626, isAttackTargetDead, func_233986_c_

void (E): d, clearAttackTarget, method_24627, forgetAttackTarget, func_233987_d_