类 PathTypeCache

java.lang.Object
net.minecraft.world.level.pathfinder.PathTypeCache

public class PathTypeCache extends Object
  • 字段详细资料

    • SIZE

      private static final int SIZE
      另请参阅:
    • MASK

      private static final int MASK
      另请参阅:
    • positions

      private final long[] positions
    • pathTypes

      private final PathType[] pathTypes
  • 构造器详细资料

    • PathTypeCache

      public PathTypeCache()
  • 方法详细资料

    • getOrCompute

      public PathType getOrCompute(BlockGetter p_330930_, BlockPos p_331162_)
    • get

      @Nullable private PathType get(int p_330588_, long p_331771_)
    • compute

      private PathType compute(BlockGetter p_330773_, BlockPos p_330311_, int p_330671_, long p_332065_)
    • invalidate

      public void invalidate(BlockPos p_331507_)
    • index

      private static int index(long p_332203_)