Package xaero.pac.client.world.api
Interface IClientWorldDataAPI
public interface IClientWorldDataAPI
API for data attached to a client world
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIfserverHasMod()is true, then this checks if the server has the claims feature enabled.booleanChecks whether the handshake has been received from the server after entering this world/dimension indicating that this mod is installed on the server side.booleanIfserverHasMod()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()IfserverHasMod()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()IfserverHasMod()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
-