Class PlayerDeathPositionData

java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.data.PlayerDeathPositionData

public final class PlayerDeathPositionData extends Object
Data class representing a death position for a player in a specific world.
  • Field Details

  • Constructor Details

    • PlayerDeathPositionData

      public PlayerDeathPositionData(@Nonnull String markerId, @Nonnull Transform transform, int day)
      Default Constructor for a PlayerDeathPositionData instance.
      Parameters:
      markerId - The unique ID of the map marker.
      transform - The transform of the death position.
      day - The time in which the player was killed at this death position.
  • Method Details

    • getMarkerId

      public String getMarkerId()
      Returns:
      the unique ID of the map marker.
    • getTransform

      public Transform getTransform()
      Returns:
      the transform of the death position.
    • getDay

      public int getDay()
      Returns:
      the in-game day in which the player was killed at this death position.