Interface IClientWorldDataAPI


public interface IClientWorldDataAPI
API for data attached to a client world
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If serverHasMod() is true, then this checks if the server has the claims feature enabled.
    boolean
    Checks whether the handshake has been received from the server after entering this world/dimension indicating that this mod is installed on the server side.
    boolean
    If serverHasMod() is true, then this checks if the server has the parties feature enabled.
  • Method Details

    • serverHasMod

      boolean serverHasMod()
      Checks whether the handshake has been received from the server after entering this world/dimension indicating that this mod is installed on the server side.
      Returns:
      true if the mod is installed on the server side and the handshake has been received, otherwise false
    • serverHasClaimsEnabled

      boolean serverHasClaimsEnabled()
      If serverHasMod() is true, then this checks if the server has the claims feature enabled.
      Returns:
      true if the server has the claims feature enabled, otherwise false
    • serverHasPartiesEnabled

      boolean serverHasPartiesEnabled()
      If serverHasMod() is true, then this checks if the server has the parties feature enabled.
      Returns:
      true if the server has the parties feature enabled, otherwise false