History - net.minecraft.entity.ai.goal.MoveToTargetPosGoal

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

1.21.11_unobfuscated

Names

net.minecraft.world.entity.ai.goal.MoveToBlockGoal

net.minecraft.class_1367

net.minecraft.entity.ai.goal.MoveToTargetPosGoal

Fields

int: GIVE_UP_TICKS, field_30221, MIN_WAITING_TIME

int: STAY_TICKS, field_30222, MAX_TRYING_TIME

int: INTERVAL_TICKS, field_30223, MIN_INTERVAL

PathAwareEntity: mob, field_6516, mob

double: speedModifier, field_6514, speed

int: nextStartTick, field_6518, cooldown

int: tryTicks, field_6517, tryingTime

int: maxStayTicks, field_6511, safeWaitingTime

BlockPos: blockPos, field_6512, targetPos

boolean: reachedTarget, field_6513, reached

int: searchRange, field_6510, range

int: verticalSearchRange, field_6519, maxYDifference

int: verticalSearchStart, field_6515, lowestY

Constructors

(PathAwareEntity, double, int)

(PathAwareEntity, double, int, int)

Methods

boolean (): canUse, method_6264, canStart

int (PathAwareEntity): nextStartTick, method_6293, getInterval

boolean (): canContinueToUse, method_6266, shouldContinue

void (): start, method_6269, start

void (): moveMobToBlock, method_6290, startMovingToTarget

double (): acceptedDistance, method_6291, getDesiredDistanceToTarget

BlockPos (): getMoveToTarget, method_30953, getTargetPos

boolean (): requiresUpdateEveryTick, method_38846, shouldRunEveryTick

void (): tick, method_6268, tick

boolean (): shouldRecalculatePath, method_6294, shouldResetPath

boolean (): isReachedTarget, method_6295, hasReached

boolean (): findNearestBlock, method_6292, findTargetPos

boolean (WorldView, BlockPos): isValidTarget, method_6296, isTargetPos