Class MainUtil

java.lang.Object
com.plotsquared.core.util.MainUtil

@Deprecated(forRemoval=true) public class MainUtil extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Do not use
plot functions
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static short[][][]
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[][][]
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[][]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Cache of mapping x,y,z coordinates to the chunk array
    - Used for efficient world generation
    static short[][]
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static short[][]
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Deprecated, for removal: This API element is subject to removal in a future version.
    This cache is used for world generation and just saves a bit of calculation time when checking if something is in the plot area.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x_loc

      public static short[][] x_loc
      Deprecated, for removal: This API element is subject to removal in a future version.
      Cache of mapping x,y,z coordinates to the chunk array
      - Used for efficient world generation
    • y_loc

      public static short[][] y_loc
      Deprecated, for removal: This API element is subject to removal in a future version.
    • z_loc

      public static short[][] z_loc
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CACHE_I

      public static short[][][] CACHE_I
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CACHE_J

      public static short[][][] CACHE_J
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • MainUtil

      public MainUtil()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • initCache

      public static void initCache()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This cache is used for world generation and just saves a bit of calculation time when checking if something is in the plot area.