类 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_328738_, BlockPos p_328240_)
    • get

      @Nullable private PathType get(int p_331898_, long p_334711_)
    • compute

      private PathType compute(BlockGetter p_333989_, BlockPos p_334142_, int p_329562_, long p_332989_)
    • invalidate

      public void invalidate(BlockPos p_332226_)
    • index

      private static int index(long p_328788_)