History - net.minecraft.entity.ai.brain.task.MoveItemsTask

26.4-snapshot-7

Names

Fields

Constructors

Methods

void (MoveItemsTask$Storage, PathAwareEntity): startOnReachedTargetInteraction, method_72430, transitionToInteracting

void (MoveItemsTask$Storage, World, PathAwareEntity): startOnReachedTargetInteraction, method_72430, transitionToInteracting

26.4-snapshot-6

Names

Fields

Constructors

Methods

26.4-snapshot-5

Names

Fields

Constructors

Methods

26.4-snapshot-4

Names

Fields

Constructors

Methods

26.4-snapshot-3

Names

Fields

Constructors

Methods

26.4-snapshot-2

Names

Fields

Constructors

Methods

26.4-snapshot-1

Names

Fields

Constructors

Methods

26.3

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

boolean (MoveItemsTask$Storage, BlockHitResult): lambda$canSeeAnyTargetSide$8, method_74866, method_74866

boolean (MoveItemsTask$Storage, BlockHitResult): lambda$canSeeAnyTargetSide$2, method_74866, method_74866

BlockHitResult (World, Vec3d, PathAwareEntity, Vec3d): lambda$canSeeAnyTargetSide$7, method_74867, method_74867

BlockHitResult (World, Vec3d, PathAwareEntity, Vec3d): lambda$canSeeAnyTargetSide$1, method_74867, method_74867

Vec3d (Vec3d, Direction): lambda$canSeeAnyTargetSide$6, method_74869, method_74869

Vec3d (Vec3d, Direction): lambda$canSeeAnyTargetSide$0, method_74869, method_74869

boolean (Set, Set, GlobalPos): lambda$isPositionAlreadyVisited$5, method_74019, method_74019

boolean (Set, Set, GlobalPos): lambda$isPositionAlreadyVisited$1, method_74019, method_74019

GlobalPos (World, MoveItemsTask$Storage): lambda$isPositionAlreadyVisited$4, method_72433, method_72433

GlobalPos (World, MoveItemsTask$Storage): lambda$isPositionAlreadyVisited$0, method_72433, method_72433

void (PathAwareEntity, MoveItemsTask$Storage, MoveItemsTask$InteractionCallback): lambda$onTargetInteraction$3, method_72407, method_72407

void (PathAwareEntity, MoveItemsTask$Storage, MoveItemsTask$InteractionCallback): lambda$onTargetInteraction$0, method_72407, method_72407

void (MoveItemsTask$InteractionState, PathAwareEntity, Inventory): lambda$onReachedInteraction$2, method_72413, method_72413

void (MoveItemsTask$InteractionState, PathAwareEntity, Inventory): lambda$onReachedInteraction$0, method_72413, method_72413

1.21.11_unobfuscated

Names

net.minecraft.world.entity.ai.behavior.TransportItemsBetweenContainers

net.minecraft.class_11568

net.minecraft.entity.ai.brain.task.MoveItemsTask

Fields

int: TARGET_INTERACTION_TIME, field_61225, INTERACTION_TICKS

int: VISITED_POSITIONS_MEMORY_TIME, field_61226, VISITED_POSITION_EXPIRY

int: TRANSPORTED_ITEM_MAX_STACK_SIZE, field_61227, MAX_STACK_SIZE_AT_ONCE

int: MAX_VISITED_POSITIONS, field_61228, VISITS_UNTIL_COOLDOWN

int: MAX_UNREACHABLE_POSITIONS, field_62427, field_62427

int: PASSENGER_MOB_TARGET_SEARCH_DISTANCE, field_63014, field_63014

int: IDLE_COOLDOWN, field_61229, COOLDOWN_EXPIRY

double: CLOSE_ENOUGH_TO_START_QUEUING_DISTANCE, field_61230, QUEUING_RANGE

double: CLOSE_ENOUGH_TO_START_INTERACTING_WITH_TARGET_DISTANCE, field_61231, INTERACTION_RANGE

double: CLOSE_ENOUGH_TO_START_INTERACTING_WITH_TARGET_PATH_END_DISTANCE, field_62428, field_62428

double: CLOSE_ENOUGH_TO_CONTINUE_INTERACTING_WITH_TARGET, field_62911, field_62911

float: speedModifier, field_61233, speed

int: horizontalSearchDistance, field_61234, horizontalRange

int: verticalSearchDistance, field_61235, verticalRange

Predicate<BlockState>: sourceBlockType, field_61236, inputContainerPredicate

Predicate<BlockState>: destinationBlockType, field_61237, outputContainerPredicate

Predicate<MoveItemsTask$Storage>: shouldQueueForTarget, field_61238, storagePredicate

Consumer<PathAwareEntity>: onStartTravelling, field_61239, travellingCallback

Map<MoveItemsTask$InteractionState, MoveItemsTask$InteractionCallback>: onTargetInteractionActions, field_61240, interactionCallbacks

MoveItemsTask$Storage: target, field_61241, targetStorage

MoveItemsTask$NavigationState: state, field_61242, navigationState

MoveItemsTask$InteractionState: interactionState, field_61243, interactionState

int: ticksSinceReachingTarget, field_61244, interactionTicks

Constructors

(float, Predicate<BlockState>, Predicate<BlockState>, int, int, Map<MoveItemsTask$InteractionState, MoveItemsTask$InteractionCallback>, Consumer<PathAwareEntity>, Predicate<MoveItemsTask$Storage>)

Methods

void (ServerWorld, PathAwareEntity, long): start, method_74863, run

boolean (ServerWorld, PathAwareEntity): checkExtraStartConditions, method_74017, shouldRun

boolean (ServerWorld, PathAwareEntity, long): canStillUse, method_72400, shouldKeepRunning

boolean (long): timedOut, method_18915, isTimeLimitExceeded

void (ServerWorld, PathAwareEntity, long): tick, method_72425, keepRunning

boolean (ServerWorld, PathAwareEntity): updateInvalidTarget, method_72399, tick

void (MoveItemsTask$Storage, World, PathAwareEntity): onQueuingForTarget, method_72432, tickQueuing

void (MoveItemsTask$Storage, World, PathAwareEntity): onTravelToTarget, method_72419, tickTravelling

Vec3d (PathAwareEntity): getCenterPos, method_74870, atCenterY

void (MoveItemsTask$Storage, World, PathAwareEntity): onReachedTarget, method_72416, tickInteracting

void (PathAwareEntity): startQueuing, method_72427, transitionToQueuing

void (PathAwareEntity): resumeTravelling, method_72436, onCannotUseStorage

void (PathAwareEntity): walkTowardsTarget, method_72440, walkTowardsTargetStorage

void (MoveItemsTask$Storage, PathAwareEntity): startOnReachedTargetInteraction, method_72430, transitionToInteracting

void (PathAwareEntity): onStartTravelling, method_72442, transitionToTravelling

BiConsumer<PathAwareEntity, Inventory> (MoveItemsTask$InteractionState): onReachedInteraction, method_72412, createSetInteractionStateCallback

void (MoveItemsTask$NavigationState): setTransportingState, method_72414, setNavigationState

void (MoveItemsTask$InteractionState): setInteractionState, method_72429, setInteractionState

void (MoveItemsTask$Storage, PathAwareEntity): onTargetInteraction, method_72438, setLookTarget

void (PathAwareEntity, Inventory, BiConsumer<PathAwareEntity, Inventory>, BiConsumer<PathAwareEntity, Inventory>, BiConsumer<PathAwareEntity, Inventory>, BiConsumer<PathAwareEntity, Inventory>): doReachedTargetInteraction, method_72406, selectInteractionState

Optional<MoveItemsTask$Storage> (ServerWorld, PathAwareEntity): getTransportTarget, method_74957, findStorage

MoveItemsTask$Storage (PathAwareEntity, World, BlockEntity, Set<GlobalPos>, Set<GlobalPos>, Box): isTargetValidToPick, method_72409, getStorageFor

boolean (MoveItemsTask$Storage): isContainerLocked, method_74093, isLocked

boolean (World, PathAwareEntity): hasValidTarget, method_72420, hasValidTargetStorage

boolean (World, MoveItemsTask$Storage, PathAwareEntity): hasValidTravellingPath, method_74958, canNavigateTo

Vec3d (Path, PathAwareEntity): getPositionToReachTargetFrom, method_74868, getTargetPos

Vec3d (PathAwareEntity, Vec3d): setMiddleYPosition, method_74864, atCenterY

boolean (World, MoveItemsTask$Storage): isTargetBlocked, method_74663, isChestBlocked

boolean (World, MoveItemsTask$Storage): targetHasNotChanged, method_72421, isUnchanged

Stream<MoveItemsTask$Storage> (MoveItemsTask$Storage, World): getConnectedTargets, method_72418, getContainerStorages

Box (PathAwareEntity): getTargetSearchArea, method_72444, getSearchBoundingBox

int (PathAwareEntity): getHorizontalSearchDistance, method_74871, getHorizontalRange

int (PathAwareEntity): getVerticalSearchDistance, method_74872, getVerticalRange

Set<GlobalPos> (PathAwareEntity): getVisitedPositions, method_72446, getVisitedPositions

Set<GlobalPos> (PathAwareEntity): getUnreachablePositions, method_74022, getUnreachablePositions

boolean (Set<GlobalPos>, Set<GlobalPos>, MoveItemsTask$Storage, World): isPositionAlreadyVisited, method_72422, hasVisited

boolean (PathAwareEntity): hasFinishedPath, method_74023, hasFinishedNavigation

void (PathAwareEntity, World, BlockPos): setVisitedBlockPos, method_72408, markVisited

void (PathAwareEntity, World, BlockPos): markVisitedBlockPosAsUnreachable, method_74021, markUnreachable

boolean (PathAwareEntity, BlockState): isWantedBlock, method_72410, testContainer

double (PathAwareEntity): getInteractionRange, method_74024, getSightRange

boolean (double, MoveItemsTask$Storage, World, PathAwareEntity, Vec3d): isWithinTargetDistance, method_72398, isWithinRange

boolean (World, boolean, Vec3d, MoveItemsTask$Storage, PathAwareEntity): targetIsReachableFromPosition, method_74018, isVisible

boolean (MoveItemsTask$Storage, World, PathAwareEntity, Vec3d): canSeeAnyTargetSide, method_74865, isVisible

boolean (MoveItemsTask$Storage, World): isAnotherMobInteractingWithTarget, method_72431, matchesStoragePredicate

boolean (PathAwareEntity): isPickingUpItems, method_72448, canPickUpItem

boolean (Inventory): matchesGettingItemsRequirement, method_72402, hasItem

boolean (PathAwareEntity, Inventory): matchesLeavingItemsRequirement, method_72405, canInsert

boolean (PathAwareEntity, Inventory): hasItemMatchingHandItem, method_72428, hasExistingStack

void (PathAwareEntity, Inventory): pickUpItems, method_72437, takeStack

void (PathAwareEntity, Inventory): putDownItem, method_72441, placeStack

ItemStack (Inventory): pickupItemFromContainer, method_72426, extractStack

ItemStack (PathAwareEntity, Inventory): addItemsToContainer, method_72443, insertStack

void (PathAwareEntity): stopTargetingCurrentTarget, method_72434, invalidateTargetStorage

void (PathAwareEntity): clearMemoriesAfterMatchingTargetFound, method_72403, resetVisitedPositions

void (PathAwareEntity): enterCooldownAfterNoMatchingTargetFound, method_72449, cooldown

void (ServerWorld, PathAwareEntity, long): stop, method_72435, finishRunning

void (PathAwareEntity): stopInPlace, method_72450, resetNavigation

boolean (ServerWorld, LivingEntity): checkExtraStartConditions, method_18919, shouldRun

boolean (ServerWorld, LivingEntity, long): canStillUse, method_18927, shouldKeepRunning

void (ServerWorld, LivingEntity, long): stop, method_18926, finishRunning

void (ServerWorld, LivingEntity, long): tick, method_18924, keepRunning

void (ServerWorld, LivingEntity, long): start, method_18920, run

boolean (MoveItemsTask$Storage, BlockHitResult): lambda$canSeeAnyTargetSide$8, method_74866, method_74866

BlockHitResult (World, Vec3d, PathAwareEntity, Vec3d): lambda$canSeeAnyTargetSide$7, method_74867, method_74867

Vec3d (Vec3d, Direction): lambda$canSeeAnyTargetSide$6, method_74869, method_74869

boolean (Set, Set, GlobalPos): lambda$isPositionAlreadyVisited$5, method_74019, method_74019

GlobalPos (World, MoveItemsTask$Storage): lambda$isPositionAlreadyVisited$4, method_72433, method_72433

void (PathAwareEntity, MoveItemsTask$Storage, MoveItemsTask$InteractionCallback): lambda$onTargetInteraction$3, method_72407, method_72407

void (MoveItemsTask$InteractionState, PathAwareEntity, Inventory): lambda$onReachedInteraction$2, method_72413, method_72413

void (PathAwareEntity, PathAwareEntity, Inventory): lambda$onReachedTarget$1, method_72445, method_72445

void (PathAwareEntity, PathAwareEntity, Inventory): lambda$onReachedTarget$0, method_72447, method_72447