Skip to content

IStanleyPlayerEntity.java

Garkatron edited this page Jul 18, 2024 · 1 revision

Interface IStanleyPlayerEntity

Methods

  1. stanley_lib$getPlayerTemperature()

    • Description: Gets the current temperature of the player.
    • Returns: double - The current temperature.
  2. stanley_lib$setPlayerTemperature(double temperature)

    • Description: Sets the player's temperature to a specific value.
    • Parameters:
      • temperature (double) - The new temperature value.
  3. stanley_lib$increasePlayerTemperature(double amount)

    • Description: Increases the player's temperature by a specified amount.
    • Parameters:
      • amount (double) - The amount to increase the temperature by.
  4. stanley_lib$decreasePlayerTemperature(double amount)

    • Description: Decreases the player's temperature by a specified amount.
    • Parameters:
      • amount (double) - The amount to decrease the temperature by.
  5. stanley_lib$isPlayerOverheating()

    • Description: Checks if the player is overheating.
    • Returns: boolean - true if the player is overheating, false otherwise.
  6. stanley_lib$isPlayerFreezing()

    • Description: Checks if the player is freezing.
    • Returns: boolean - true if the player is freezing, false otherwise.
  7. stanley_lib$resetPlayerTemperature()

    • Description: Resets the player's temperature to the default value.
  8. stanley_lib$killByFreezing()

    • Description: Kills the player due to freezing.
  9. stanley_lib$killByOverheating()

    • Description: Kills the player due to overheating.
  10. stanley_lib$hurtByFreezing(int amount)

    • Description: Hurts the player by freezing.
    • Parameters:
      • amount (int) - The amount of damage inflicted.
  11. stanley_lib$hurtByOverheating(int amount)

    • Description: Hurts the player by overheating.
    • Parameters:
      • amount (int) - The amount of damage inflicted.
  12. stanley_lib$updateTemperature()

    • Description: Updates the player's temperature.
  13. stanley_lib$setTemperatureState(PlayerTemperatureState state)

    • Description: Sets the player's temperature state to a specific value.
    • Parameters:
      • state (PlayerTemperatureState) - The new temperature state.

Clone this wiki locally