Class MoveItemsTask

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<PathAwareEntity>
net.minecraft.entity.ai.brain.task.MoveItemsTask
All Implemented Interfaces:
Task<PathAwareEntity>

public class MoveItemsTask extends MultiTickTask<PathAwareEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/MoveItemsTask
intermediary net/minecraft/class_11568
official cfy
  • Field Details

    • INTERACTION_TICKS

      public static final int INTERACTION_TICKS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named INTERACTION_TICKS Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;INTERACTION_TICKS:I
      intermediary field_61225 Lnet/minecraft/class_11568;field_61225:I
      official c Lcfy;c:I
    • VISITED_POSITION_EXPIRY

      private static final int VISITED_POSITION_EXPIRY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named VISITED_POSITION_EXPIRY Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;VISITED_POSITION_EXPIRY:I
      intermediary field_61226 Lnet/minecraft/class_11568;field_61226:I
      official d Lcfy;d:I
    • MAX_STACK_SIZE_AT_ONCE

      private static final int MAX_STACK_SIZE_AT_ONCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_STACK_SIZE_AT_ONCE Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;MAX_STACK_SIZE_AT_ONCE:I
      intermediary field_61227 Lnet/minecraft/class_11568;field_61227:I
      official e Lcfy;e:I
    • VISITS_UNTIL_COOLDOWN

      private static final int VISITS_UNTIL_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named VISITS_UNTIL_COOLDOWN Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;VISITS_UNTIL_COOLDOWN:I
      intermediary field_61228 Lnet/minecraft/class_11568;field_61228:I
      official f Lcfy;f:I
    • COOLDOWN_EXPIRY

      private static final int COOLDOWN_EXPIRY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named COOLDOWN_EXPIRY Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;COOLDOWN_EXPIRY:I
      intermediary field_61229 Lnet/minecraft/class_11568;field_61229:I
      official g Lcfy;g:I
    • QUEUING_RANGE

      private static final double QUEUING_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named QUEUING_RANGE Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;QUEUING_RANGE:D
      intermediary field_61230 Lnet/minecraft/class_11568;field_61230:D
      official h Lcfy;h:D
    • INTERACTION_RANGE

      private static final double INTERACTION_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named INTERACTION_RANGE Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;INTERACTION_RANGE:D
      intermediary field_61231 Lnet/minecraft/class_11568;field_61231:D
      official i Lcfy;i:D
    • UNREACHABLE_RANGE

      private static final double UNREACHABLE_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named UNREACHABLE_RANGE Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;UNREACHABLE_RANGE:D
      intermediary field_61232 Lnet/minecraft/class_11568;field_61232:D
      official j Lcfy;j:D
    • speed

      private final float speed
      Mappings:
      Namespace Name Mixin selector
      named speed Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;speed:F
      intermediary field_61233 Lnet/minecraft/class_11568;field_61233:F
      official k Lcfy;k:F
    • horizontalRange

      private final int horizontalRange
      Mappings:
      Namespace Name Mixin selector
      named horizontalRange Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;horizontalRange:I
      intermediary field_61234 Lnet/minecraft/class_11568;field_61234:I
      official l Lcfy;l:I
    • verticalRange

      private final int verticalRange
      Mappings:
      Namespace Name Mixin selector
      named verticalRange Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;verticalRange:I
      intermediary field_61235 Lnet/minecraft/class_11568;field_61235:I
      official m Lcfy;m:I
    • inputContainerPredicate

      private final Predicate<BlockState> inputContainerPredicate
      Mappings:
      Namespace Name Mixin selector
      named inputContainerPredicate Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;inputContainerPredicate:Ljava/util/function/Predicate;
      intermediary field_61236 Lnet/minecraft/class_11568;field_61236:Ljava/util/function/Predicate;
      official n Lcfy;n:Ljava/util/function/Predicate;
    • outputContainerPredicate

      private final Predicate<BlockState> outputContainerPredicate
      Mappings:
      Namespace Name Mixin selector
      named outputContainerPredicate Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;outputContainerPredicate:Ljava/util/function/Predicate;
      intermediary field_61237 Lnet/minecraft/class_11568;field_61237:Ljava/util/function/Predicate;
      official o Lcfy;o:Ljava/util/function/Predicate;
    • storagePredicate

      private final Predicate<MoveItemsTask.Storage> storagePredicate
      Mappings:
      Namespace Name Mixin selector
      named storagePredicate Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;storagePredicate:Ljava/util/function/Predicate;
      intermediary field_61238 Lnet/minecraft/class_11568;field_61238:Ljava/util/function/Predicate;
      official p Lcfy;p:Ljava/util/function/Predicate;
    • travellingCallback

      private final Consumer<PathAwareEntity> travellingCallback
      Mappings:
      Namespace Name Mixin selector
      named travellingCallback Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;travellingCallback:Ljava/util/function/Consumer;
      intermediary field_61239 Lnet/minecraft/class_11568;field_61239:Ljava/util/function/Consumer;
      official q Lcfy;q:Ljava/util/function/Consumer;
    • interactionCallbacks

      Mappings:
      Namespace Name Mixin selector
      named interactionCallbacks Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;interactionCallbacks:Ljava/util/Map;
      intermediary field_61240 Lnet/minecraft/class_11568;field_61240:Ljava/util/Map;
      official r Lcfy;r:Ljava/util/Map;
    • targetStorage

      @Nullable private @Nullable MoveItemsTask.Storage targetStorage
      Mappings:
      Namespace Name Mixin selector
      named targetStorage Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;targetStorage:Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;
      intermediary field_61241 Lnet/minecraft/class_11568;field_61241:Lnet/minecraft/class_11568$class_11572;
      official s Lcfy;s:Lcfy$d;
    • interactionState

      Mappings:
      Namespace Name Mixin selector
      named interactionState Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;interactionState:Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$InteractionState;
      intermediary field_61243 Lnet/minecraft/class_11568;field_61243:Lnet/minecraft/class_11568$class_11569;
      official u Lcfy;u:Lcfy$a;
    • interactionTicks

      private int interactionTicks
      Mappings:
      Namespace Name Mixin selector
      named interactionTicks Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;interactionTicks:I
      intermediary field_61244 Lnet/minecraft/class_11568;field_61244:I
      official v Lcfy;v:I
  • Constructor Details

    • MoveItemsTask

      public MoveItemsTask(float speed, Predicate<BlockState> inputContainerPredicate, Predicate<BlockState> outputChestPredicate, int horizontalRange, int verticalRange, Map<MoveItemsTask.InteractionState,MoveItemsTask.InteractionCallback> interactionCallbacks, Consumer<PathAwareEntity> travellingCallback, Predicate<MoveItemsTask.Storage> storagePredicate)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;<init>(FLjava/util/function/Predicate;Ljava/util/function/Predicate;IILjava/util/Map;Ljava/util/function/Consumer;Ljava/util/function/Predicate;)V
      intermediary <init> Lnet/minecraft/class_11568;<init>(FLjava/util/function/Predicate;Ljava/util/function/Predicate;IILjava/util/Map;Ljava/util/function/Consumer;Ljava/util/function/Predicate;)V
      official <init> Lcfy;<init>(FLjava/util/function/Predicate;Ljava/util/function/Predicate;IILjava/util/Map;Ljava/util/function/Consumer;Ljava/util/function/Predicate;)V
  • Method Details

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<PathAwareEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)Z
      intermediary method_72400 Lnet/minecraft/class_11568;method_72400(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)Z
      official a Lcfy;a(Lauo;Lcbt;J)Z
    • isTimeLimitExceeded

      protected boolean isTimeLimitExceeded(long time)
      Overrides:
      isTimeLimitExceeded in class MultiTickTask<PathAwareEntity>
      Mappings:
      Namespace Name Mixin selector
      named isTimeLimitExceeded Lnet/minecraft/entity/ai/brain/task/MultiTickTask;isTimeLimitExceeded(J)Z
      intermediary method_18915 Lnet/minecraft/class_4097;method_18915(J)Z
      official a Lcdc;a(J)Z
    • keepRunning

      protected void keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
      Overrides:
      keepRunning in class MultiTickTask<PathAwareEntity>
      Mappings:
      Namespace Name Mixin selector
      named keepRunning Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
      intermediary method_72425 Lnet/minecraft/class_11568;method_72425(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
      official b Lcfy;b(Lauo;Lcbt;J)V
    • tick

      private void tick(ServerWorld world, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72399 Lnet/minecraft/class_11568;method_72399(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)V
      official a Lcfy;a(Lauo;Lcbt;)V
    • tickQueuing

      private void tickQueuing(MoveItemsTask.Storage storage, World world, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named tickQueuing Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;tickQueuing(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/world/World;Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72432 Lnet/minecraft/class_11568;method_72432(Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1937;Lnet/minecraft/class_1314;)V
      official b Lcfy;b(Lcfy$d;Ldoc;Lcbt;)V
    • tickTravelling

      protected void tickTravelling(MoveItemsTask.Storage storage, World world, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named tickTravelling Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;tickTravelling(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/world/World;Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72419 Lnet/minecraft/class_11568;method_72419(Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1937;Lnet/minecraft/class_1314;)V
      official a Lcfy;a(Lcfy$d;Ldoc;Lcbt;)V
    • tickInteracting

      protected void tickInteracting(MoveItemsTask.Storage storage, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named tickInteracting Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;tickInteracting(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72416 Lnet/minecraft/class_11568;method_72416(Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1314;)V
      official a Lcfy;a(Lcfy$d;Lcbt;)V
    • transitionToQueuing

      private void transitionToQueuing(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named transitionToQueuing Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;transitionToQueuing(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72427 Lnet/minecraft/class_11568;method_72427(Lnet/minecraft/class_1314;)V
      official b Lcfy;b(Lcbt;)V
    • onCannotUseStorage

      private void onCannotUseStorage(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named onCannotUseStorage Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;onCannotUseStorage(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72436 Lnet/minecraft/class_11568;method_72436(Lnet/minecraft/class_1314;)V
      official c Lcfy;c(Lcbt;)V
    • walkTowardsTargetStorage

      private void walkTowardsTargetStorage(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named walkTowardsTargetStorage Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;walkTowardsTargetStorage(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72440 Lnet/minecraft/class_11568;method_72440(Lnet/minecraft/class_1314;)V
      official d Lcfy;d(Lcbt;)V
    • transitionToInteracting

      private void transitionToInteracting(MoveItemsTask.Storage storge, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named transitionToInteracting Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;transitionToInteracting(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72430 Lnet/minecraft/class_11568;method_72430(Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1314;)V
      official b Lcfy;b(Lcfy$d;Lcbt;)V
    • transitionToTravelling

      private void transitionToTravelling(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named transitionToTravelling Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;transitionToTravelling(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72442 Lnet/minecraft/class_11568;method_72442(Lnet/minecraft/class_1314;)V
      official e Lcfy;e(Lcbt;)V
    • createSetInteractionStateCallback

      private BiConsumer<PathAwareEntity,Inventory> createSetInteractionStateCallback(MoveItemsTask.InteractionState state)
      Mappings:
      Namespace Name Mixin selector
      named createSetInteractionStateCallback Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;createSetInteractionStateCallback(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$InteractionState;)Ljava/util/function/BiConsumer;
      intermediary method_72412 Lnet/minecraft/class_11568;method_72412(Lnet/minecraft/class_11568$class_11569;)Ljava/util/function/BiConsumer;
      official a Lcfy;a(Lcfy$a;)Ljava/util/function/BiConsumer;
    • setNavigationState

      private void setNavigationState(MoveItemsTask.NavigationState state)
      Mappings:
      Namespace Name Mixin selector
      named setNavigationState Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;setNavigationState(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$NavigationState;)V
      intermediary method_72414 Lnet/minecraft/class_11568;method_72414(Lnet/minecraft/class_11568$class_11571;)V
      official a Lcfy;a(Lcfy$c;)V
    • setInteractionState

      private void setInteractionState(MoveItemsTask.InteractionState state)
      Mappings:
      Namespace Name Mixin selector
      named setInteractionState Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;setInteractionState(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$InteractionState;)V
      intermediary method_72429 Lnet/minecraft/class_11568;method_72429(Lnet/minecraft/class_11568$class_11569;)V
      official b Lcfy;b(Lcfy$a;)V
    • setLookTarget

      private void setLookTarget(MoveItemsTask.Storage storage, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named setLookTarget Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;setLookTarget(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72438 Lnet/minecraft/class_11568;method_72438(Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1314;)V
      official c Lcfy;c(Lcfy$d;Lcbt;)V
    • selectInteractionState

      private void selectInteractionState(PathAwareEntity entity, Inventory inventory, BiConsumer<PathAwareEntity,Inventory> pickupItemCallback, BiConsumer<PathAwareEntity,Inventory> pickupNoItemCallback, BiConsumer<PathAwareEntity,Inventory> placeItemCallback, BiConsumer<PathAwareEntity,Inventory> placeNoItemCallback)
      Mappings:
      Namespace Name Mixin selector
      named selectInteractionState Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;selectInteractionState(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/inventory/Inventory;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)V
      intermediary method_72406 Lnet/minecraft/class_11568;method_72406(Lnet/minecraft/class_1314;Lnet/minecraft/class_1263;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)V
      official a Lcfy;a(Lcbt;Lbxz;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)V
    • findNearestStorage

      private Optional<MoveItemsTask.Storage> findNearestStorage(ServerWorld world, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named findNearestStorage Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;findNearestStorage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)Ljava/util/Optional;
      intermediary method_72424 Lnet/minecraft/class_11568;method_72424(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)Ljava/util/Optional;
      official b Lcfy;b(Lauo;Lcbt;)Ljava/util/Optional;
    • getStorageFor

      private Optional<MoveItemsTask.Storage> getStorageFor(PathAwareEntity entity, World world, BlockPos pos, BlockEntity blockEntity, Set<GlobalPos> visitedPositions, Box boundingBox)
      Mappings:
      Namespace Name Mixin selector
      named getStorageFor Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;getStorageFor(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntity;Ljava/util/Set;Lnet/minecraft/util/math/Box;)Ljava/util/Optional;
      intermediary method_72409 Lnet/minecraft/class_11568;method_72409(Lnet/minecraft/class_1314;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2586;Ljava/util/Set;Lnet/minecraft/class_238;)Ljava/util/Optional;
      official a Lcfy;a(Lcbt;Ldoc;Ljb;Lecs;Ljava/util/Set;Lfkl;)Ljava/util/Optional;
    • hasValidTargetStorage

      private boolean hasValidTargetStorage(World world, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named hasValidTargetStorage Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;hasValidTargetStorage(Lnet/minecraft/world/World;Lnet/minecraft/entity/mob/PathAwareEntity;)Z
      intermediary method_72420 Lnet/minecraft/class_11568;method_72420(Lnet/minecraft/class_1937;Lnet/minecraft/class_1314;)Z
      official a Lcfy;a(Ldoc;Lcbt;)Z
    • isUnchanged

      private boolean isUnchanged(World world, MoveItemsTask.Storage storage)
      Mappings:
      Namespace Name Mixin selector
      named isUnchanged Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;isUnchanged(Lnet/minecraft/world/World;Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;)Z
      intermediary method_72421 Lnet/minecraft/class_11568;method_72421(Lnet/minecraft/class_1937;Lnet/minecraft/class_11568$class_11572;)Z
      official a Lcfy;a(Ldoc;Lcfy$d;)Z
    • getContainerStorages

      private List<MoveItemsTask.Storage> getContainerStorages(MoveItemsTask.Storage storage, World world)
      Mappings:
      Namespace Name Mixin selector
      named getContainerStorages Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;getContainerStorages(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/world/World;)Ljava/util/List;
      intermediary method_72418 Lnet/minecraft/class_11568;method_72418(Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1937;)Ljava/util/List;
      official a Lcfy;a(Lcfy$d;Ldoc;)Ljava/util/List;
    • getSearchBoundingBox

      private Box getSearchBoundingBox(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named getSearchBoundingBox Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;getSearchBoundingBox(Lnet/minecraft/entity/mob/PathAwareEntity;)Lnet/minecraft/util/math/Box;
      intermediary method_72444 Lnet/minecraft/class_11568;method_72444(Lnet/minecraft/class_1314;)Lnet/minecraft/class_238;
      official f Lcfy;f(Lcbt;)Lfkl;
    • getVisitedPositions

      private static Set<GlobalPos> getVisitedPositions(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named getVisitedPositions Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;getVisitedPositions(Lnet/minecraft/entity/mob/PathAwareEntity;)Ljava/util/Set;
      intermediary method_72446 Lnet/minecraft/class_11568;method_72446(Lnet/minecraft/class_1314;)Ljava/util/Set;
      official g Lcfy;g(Lcbt;)Ljava/util/Set;
    • hasVisited

      private boolean hasVisited(Set<GlobalPos> visitedPositions, MoveItemsTask.Storage storage, World world)
      Mappings:
      Namespace Name Mixin selector
      named hasVisited Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;hasVisited(Ljava/util/Set;Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/world/World;)Z
      intermediary method_72422 Lnet/minecraft/class_11568;method_72422(Ljava/util/Set;Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1937;)Z
      official a Lcfy;a(Ljava/util/Set;Lcfy$d;Ldoc;)Z
    • markVisited

      protected void markVisited(PathAwareEntity entity, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named markVisited Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;markVisited(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_72408 Lnet/minecraft/class_11568;method_72408(Lnet/minecraft/class_1314;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      official a Lcfy;a(Lcbt;Ldoc;Ljb;)V
    • testContainer

      private boolean testContainer(PathAwareEntity entity, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named testContainer Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;testContainer(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/block/BlockState;)Z
      intermediary method_72410 Lnet/minecraft/class_11568;method_72410(Lnet/minecraft/class_1314;Lnet/minecraft/class_2680;)Z
      official a Lcfy;a(Lcbt;Lefy;)Z
    • isWithinRange

      private boolean isWithinRange(double range, MoveItemsTask.Storage storage, World world, PathAwareEntity entity, boolean below)
      Mappings:
      Namespace Name Mixin selector
      named isWithinRange Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;isWithinRange(DLnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/world/World;Lnet/minecraft/entity/mob/PathAwareEntity;Z)Z
      intermediary method_72398 Lnet/minecraft/class_11568;method_72398(DLnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1937;Lnet/minecraft/class_1314;Z)Z
      official a Lcfy;a(DLcfy$d;Ldoc;Lcbt;Z)Z
    • cannotReachTargetStorage

      private boolean cannotReachTargetStorage(MoveItemsTask.Storage storage, World world, PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named cannotReachTargetStorage Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;cannotReachTargetStorage(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/world/World;Lnet/minecraft/entity/mob/PathAwareEntity;)Z
      intermediary method_72439 Lnet/minecraft/class_11568;method_72439(Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1937;Lnet/minecraft/class_1314;)Z
      official c Lcfy;c(Lcfy$d;Ldoc;Lcbt;)Z
    • matchesStoragePredicate

      private boolean matchesStoragePredicate(MoveItemsTask.Storage storage, World world)
      Mappings:
      Namespace Name Mixin selector
      named matchesStoragePredicate Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;matchesStoragePredicate(Lnet/minecraft/entity/ai/brain/task/MoveItemsTask$Storage;Lnet/minecraft/world/World;)Z
      intermediary method_72431 Lnet/minecraft/class_11568;method_72431(Lnet/minecraft/class_11568$class_11572;Lnet/minecraft/class_1937;)Z
      official b Lcfy;b(Lcfy$d;Ldoc;)Z
    • canPickUpItem

      private static boolean canPickUpItem(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named canPickUpItem Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;canPickUpItem(Lnet/minecraft/entity/mob/PathAwareEntity;)Z
      intermediary method_72448 Lnet/minecraft/class_11568;method_72448(Lnet/minecraft/class_1314;)Z
      official h Lcfy;h(Lcbt;)Z
    • hasItem

      private static boolean hasItem(Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      named hasItem Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;hasItem(Lnet/minecraft/inventory/Inventory;)Z
      intermediary method_72402 Lnet/minecraft/class_11568;method_72402(Lnet/minecraft/class_1263;)Z
      official a Lcfy;a(Lbxz;)Z
    • canInsert

      private static boolean canInsert(PathAwareEntity entity, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      named canInsert Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;canInsert(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/inventory/Inventory;)Z
      intermediary method_72405 Lnet/minecraft/class_11568;method_72405(Lnet/minecraft/class_1314;Lnet/minecraft/class_1263;)Z
      official a Lcfy;a(Lcbt;Lbxz;)Z
    • hasExistingStack

      private static boolean hasExistingStack(PathAwareEntity entity, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      named hasExistingStack Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;hasExistingStack(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/inventory/Inventory;)Z
      intermediary method_72428 Lnet/minecraft/class_11568;method_72428(Lnet/minecraft/class_1314;Lnet/minecraft/class_1263;)Z
      official b Lcfy;b(Lcbt;Lbxz;)Z
    • takeStack

      private void takeStack(PathAwareEntity entity, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      named takeStack Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;takeStack(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/inventory/Inventory;)V
      intermediary method_72437 Lnet/minecraft/class_11568;method_72437(Lnet/minecraft/class_1314;Lnet/minecraft/class_1263;)V
      official c Lcfy;c(Lcbt;Lbxz;)V
    • placeStack

      private void placeStack(PathAwareEntity entity, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      named placeStack Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;placeStack(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/inventory/Inventory;)V
      intermediary method_72441 Lnet/minecraft/class_11568;method_72441(Lnet/minecraft/class_1314;Lnet/minecraft/class_1263;)V
      official d Lcfy;d(Lcbt;Lbxz;)V
    • extractStack

      private static ItemStack extractStack(Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      named extractStack Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;extractStack(Lnet/minecraft/inventory/Inventory;)Lnet/minecraft/item/ItemStack;
      intermediary method_72426 Lnet/minecraft/class_11568;method_72426(Lnet/minecraft/class_1263;)Lnet/minecraft/class_1799;
      official b Lcfy;b(Lbxz;)Ldeb;
    • insertStack

      private static ItemStack insertStack(PathAwareEntity entity, Inventory inventory)
      Returns the ItemStack that should remain in the entity's inventory after the operation..
      Returns:
      the ItemStack that should remain in the entity's inventory after the operation
      Mappings:
      Namespace Name Mixin selector
      named insertStack Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;insertStack(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/inventory/Inventory;)Lnet/minecraft/item/ItemStack;
      intermediary method_72443 Lnet/minecraft/class_11568;method_72443(Lnet/minecraft/class_1314;Lnet/minecraft/class_1263;)Lnet/minecraft/class_1799;
      official e Lcfy;e(Lcbt;Lbxz;)Ldeb;
    • invalidateTargetStorage

      protected void invalidateTargetStorage()
      Mappings:
      Namespace Name Mixin selector
      named invalidateTargetStorage Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;invalidateTargetStorage()V
      intermediary method_72434 Lnet/minecraft/class_11568;method_72434()V
      official c Lcfy;c()V
    • resetVisitedPositions

      protected void resetVisitedPositions(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named resetVisitedPositions Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;resetVisitedPositions(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72403 Lnet/minecraft/class_11568;method_72403(Lnet/minecraft/class_1314;)V
      official a Lcfy;a(Lcbt;)V
    • cooldown

      private void cooldown(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named cooldown Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;cooldown(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72449 Lnet/minecraft/class_11568;method_72449(Lnet/minecraft/class_1314;)V
      official i Lcfy;i(Lcbt;)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<PathAwareEntity>
      Mappings:
      Namespace Name Mixin selector
      named finishRunning Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
      intermediary method_72435 Lnet/minecraft/class_11568;method_72435(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
      official c Lcfy;c(Lauo;Lcbt;J)V
    • resetNavigation

      private void resetNavigation(PathAwareEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named resetNavigation Lnet/minecraft/entity/ai/brain/task/MoveItemsTask;resetNavigation(Lnet/minecraft/entity/mob/PathAwareEntity;)V
      intermediary method_72450 Lnet/minecraft/class_11568;method_72450(Lnet/minecraft/class_1314;)V
      official j Lcfy;j(Lcbt;)V