Class Utils

java.lang.Object
net.risingworld.api.utils.Utils

public abstract class Utils extends Object
Utils class which holds several static classes with various static helper functions.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
    Contains various byte functions, i.e encryption and compression of byte arrays etc.
    static class 
    Chunk related functions, including conversion of global positions to chunk/block positions and vice versa.
    static class 
    Contains various file function, including file access, reading or writing to files, or getting the md5 checksum of a file.
    static class 
    General game related functions.
    static class 
    Image utils.
    static class 
    Contains useful math functions.
    static class 
    Various String functions, i.e functions to check if certain strings are numeric, getting checksums of strings, and conversion utils.
    static class 
    Various system functions providing access to information about the underlying hardware and operating system.
    static class 
    Vector functions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Y position where the orbit ends (transition end)l
    static final int
    Y position where the orbit begins (transition start)
    static final int
    Sea level
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • SEA_LEVEL

      public static final int SEA_LEVEL
      Sea level
    • ORBIT_START

      public static final int ORBIT_START
      Y position where the orbit begins (transition start)
    • ORBIT_END

      public static final int ORBIT_END
      Y position where the orbit ends (transition end)l
  • Constructor Details

    • Utils

      public Utils()