Class PathContext

java.lang.Object
net.minecraft.entity.ai.pathing.PathContext

public class PathContext extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/pathing/PathContext
intermediary net/minecraft/class_9316
official eup
  • Field Details

    • world

      private final CollisionView world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/entity/ai/pathing/PathContext;world:Lnet/minecraft/world/CollisionView;
      intermediary field_49421 Lnet/minecraft/class_9316;field_49421:Lnet/minecraft/class_1941;
      official a Leup;a:Ldgq;
    • nodeTypeCache

      @Nullable private final @Nullable PathNodeTypeCache nodeTypeCache
      Mappings:
      Namespace Name Mixin selector
      named nodeTypeCache Lnet/minecraft/entity/ai/pathing/PathContext;nodeTypeCache:Lnet/minecraft/entity/ai/pathing/PathNodeTypeCache;
      intermediary field_49422 Lnet/minecraft/class_9316;field_49422:Lnet/minecraft/class_9315;
      official b Leup;b:Leuo;
    • entityPos

      private final BlockPos entityPos
      Mappings:
      Namespace Name Mixin selector
      named entityPos Lnet/minecraft/entity/ai/pathing/PathContext;entityPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_49423 Lnet/minecraft/class_9316;field_49423:Lnet/minecraft/class_2338;
      official c Leup;c:Ljh;
    • lastNodePos

      private final BlockPos.Mutable lastNodePos
      Mappings:
      Namespace Name Mixin selector
      named lastNodePos Lnet/minecraft/entity/ai/pathing/PathContext;lastNodePos:Lnet/minecraft/util/math/BlockPos$Mutable;
      intermediary field_49424 Lnet/minecraft/class_9316;field_49424:Lnet/minecraft/class_2338$class_2339;
      official d Leup;d:Ljh$a;
  • Constructor Details

    • PathContext

      public PathContext(CollisionView world, MobEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/pathing/PathContext;<init>(Lnet/minecraft/world/CollisionView;Lnet/minecraft/entity/mob/MobEntity;)V
      intermediary <init> Lnet/minecraft/class_9316;<init>(Lnet/minecraft/class_1941;Lnet/minecraft/class_1308;)V
      official <init> Leup;<init>(Ldgq;Lbwh;)V
  • Method Details

    • getNodeType

      public PathNodeType getNodeType(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named getNodeType Lnet/minecraft/entity/ai/pathing/PathContext;getNodeType(III)Lnet/minecraft/entity/ai/pathing/PathNodeType;
      intermediary method_57622 Lnet/minecraft/class_9316;method_57622(III)Lnet/minecraft/class_7;
      official a Leup;a(III)Leun;
    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getBlockState Lnet/minecraft/entity/ai/pathing/PathContext;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      intermediary method_57623 Lnet/minecraft/class_9316;method_57623(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      official a Leup;a(Ljh;)Ldxu;
    • getWorld

      public CollisionView getWorld()
      Mappings:
      Namespace Name Mixin selector
      named getWorld Lnet/minecraft/entity/ai/pathing/PathContext;getWorld()Lnet/minecraft/world/CollisionView;
      intermediary method_57621 Lnet/minecraft/class_9316;method_57621()Lnet/minecraft/class_1941;
      official a Leup;a()Ldgq;
    • getEntityPos

      public BlockPos getEntityPos()
      Mappings:
      Namespace Name Mixin selector
      named getEntityPos Lnet/minecraft/entity/ai/pathing/PathContext;getEntityPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_57624 Lnet/minecraft/class_9316;method_57624()Lnet/minecraft/class_2338;
      official b Leup;b()Ljh;