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

1.21.3

Names

bvc

bxu

Fields

int: c, PANIC_MIN_DURATION, field_30107, MIN_RUN_TIME, f_147379_

int: c, PANIC_MIN_DURATION, field_30107, MIN_RUN_TIME

int: d, PANIC_MAX_DURATION, field_30108, MAX_RUN_TIME, f_147380_

int: d, PANIC_MAX_DURATION, field_30108, MAX_RUN_TIME

int: e, PANIC_DISTANCE_HORIZONTAL, field_30109, HORIZONTAL_RANGE, f_196637_

int: e, PANIC_DISTANCE_HORIZONTAL, field_30109, HORIZONTAL_RANGE

int: f, PANIC_DISTANCE_VERTICAL, field_30110, VERTICAL_RANGE, f_147382_

int: f, PANIC_DISTANCE_VERTICAL, field_30110, VERTICAL_RANGE

float: g, speedMultiplier, field_30111, speed, f_147383_

float: g, speedMultiplier, field_30111, speed

Function<PathfinderMob, TagKey<DamageType>>: h, panicCausingDamageTypes, field_52010, entityToDangerousDamageTypes, f_337675_

Function<PathfinderMob, TagKey<DamageType>>: h, panicCausingDamageTypes, field_52010, entityToDangerousDamageTypes

Constructors

Methods

boolean (ServerLevel, E, long): a, canStillUse, method_35063, shouldKeepRunning, m_6737_

boolean (ServerLevel, E, long): a, canStillUse, method_35063, shouldKeepRunning

void (ServerLevel, E, long): b, start, method_35064, run, m_6735_

void (ServerLevel, E, long): b, start, method_35064, run

void (ServerLevel, E, long): d, tick, method_35065, keepRunning, m_6725_

void (ServerLevel, E, long): d, tick, method_35065, keepRunning

Vec3 (E, ServerLevel): a, getPanicPos, method_39761, findTarget, m_196638_

Vec3 (E, ServerLevel): a, getPanicPos, method_39761, findTarget

Optional<BlockPos> (BlockGetter, Entity): a, lookForWater, method_39762, findClosestWater, m_196641_

Optional<BlockPos> (BlockGetter, Entity): a, lookForWater, method_39762, findClosestWater

void (ServerLevel, E, long): c, stop, method_44203, finishRunning, m_6732_

void (ServerLevel, E, long): c, stop, method_44203, finishRunning

boolean (ServerLevel, E): a, checkExtraStartConditions, method_49487, shouldRun, m_6114_

boolean (ServerLevel, E): a, checkExtraStartConditions, method_49487, shouldRun

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

bvf

bvc

Fields

float: h, speedMultiplier, field_30111, speed, f_147383_

float: g, speedMultiplier, field_30111, speed, f_147383_

Predicate<PathfinderMob>: g, DEFAULT_SHOULD_PANIC_PREDICATE, field_42976, PANIC_PREDICATE, f_273847_

Predicate<E>: i, shouldPanic, field_42977, predicate, f_273842_

Function<PathfinderMob, TagKey<DamageType>>: h, panicCausingDamageTypes, field_52010, entityToDangerousDamageTypes, f_337675_

Constructors

(float, Predicate<E>)

(float, Function<PathfinderMob, TagKey<DamageType>>)

Methods

1.20.6

Names

bnx

bvf

Fields

Constructors

Methods

1.20.4

Names

bks

bnx

Fields

Constructors

Methods

1.20.2

Names

bhm

bks

Fields

Constructors

Methods

1.20.1

Names

bhk

bhm

Fields

Constructors

Methods

1.19.4

Names

bfp

bhk

net.minecraft.entity.ai.brain.task.WalkTask

net.minecraft.entity.ai.brain.task.FleeTask

Fields

float: g, speedMultiplier, field_30111, speed, f_147383_

float: h, speedMultiplier, field_30111, speed, f_147383_

Predicate<PathfinderMob>: g, DEFAULT_SHOULD_PANIC_PREDICATE, field_42976, PANIC_PREDICATE, f_273847_

Predicate<PathfinderMob>: i, shouldPanic, field_42977, predicate, f_273842_

Constructors

(float, Predicate<PathfinderMob>)

Methods

boolean (ServerLevel, PathfinderMob): a, checkExtraStartConditions, method_49487, shouldRun, m_6114_

1.19.3

Names

bdj

bfp

Fields

int: a, PANIC_MIN_DURATION, field_30107, MIN_RUN_TIME, f_147379_

int: c, PANIC_MIN_DURATION, field_30107, MIN_RUN_TIME, f_147379_

Constructors

Methods

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

bcm

bdj

Fields

Constructors

Methods

1.19

Names

azf

bcm

Fields

int: c, PANIC_MAX_DURATION, field_30108, MAX_RUN_TIME, f_147380_

int: d, PANIC_MAX_DURATION, field_30108, MAX_RUN_TIME, f_147380_

int: d, PANIC_DISTANCE_HORIZONTAL, field_30109, HORIZONTAL_RANGE, f_196637_

int: e, PANIC_DISTANCE_HORIZONTAL, field_30109, HORIZONTAL_RANGE, f_196637_

int: e, PANIC_DISTANCE_VERTICAL, field_30110, VERTICAL_RANGE, f_147382_

int: f, PANIC_DISTANCE_VERTICAL, field_30110, VERTICAL_RANGE, f_147382_

float: f, speedMultiplier, field_30111, speed, f_147383_

float: g, speedMultiplier, field_30111, speed, f_147383_

Constructors

Methods

void (ServerLevel, PathfinderMob, long): c, tick, method_35065, keepRunning, m_6725_

void (ServerLevel, PathfinderMob, long): d, tick, method_35065, keepRunning, m_6725_

void (ServerLevel, PathfinderMob, long): c, stop, method_44203, finishRunning, m_6732_

1.18.2

Names

ayo

azf

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

avc

ayo

Fields

int: d, PANIC_DISTANCE_HORIZANTAL, field_30109, HORIZONTAL_RANGE, f_147381_

int: d, PANIC_DISTANCE_HORIZONTAL, field_30109, HORIZONTAL_RANGE, f_196637_

Constructors

Methods

Vec3 (PathfinderMob, ServerLevel): a, getPanicPos, method_39761, findTarget, m_196638_

Optional<BlockPos> (BlockGetter, Entity): a, lookForWater, method_39762, findClosestWater, m_196641_

1.17.1

Names

avb

avc

Fields

Constructors

Methods

1.17

Names

avb

net.minecraft.world.entity.ai.behavior.AnimalPanic

net.minecraft.class_6028

net.minecraft.entity.ai.brain.task.WalkTask

net.minecraft.src.C_141078_

net.minecraft.world.entity.ai.behavior.AnimalPanic

Fields

int: a, PANIC_MIN_DURATION, field_30107, MIN_RUN_TIME, f_147379_

int: c, PANIC_MAX_DURATION, field_30108, MAX_RUN_TIME, f_147380_

int: d, PANIC_DISTANCE_HORIZANTAL, field_30109, HORIZONTAL_RANGE, f_147381_

int: e, PANIC_DISTANCE_VERTICAL, field_30110, VERTICAL_RANGE, f_147382_

float: f, speedMultiplier, field_30111, speed, f_147383_

Constructors

(float)

Methods

boolean (ServerLevel, PathfinderMob, long): a, canStillUse, method_35063, shouldKeepRunning, m_6737_

void (ServerLevel, PathfinderMob, long): b, start, method_35064, run, m_6735_

void (ServerLevel, PathfinderMob, long): c, tick, method_35065, keepRunning, m_6725_