Contents
Class PlayerDeathPositionData
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.data.PlayerDeathPositionData
Data class representing a death position for a player in a specific world.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArrayCodec<PlayerDeathPositionData> An array codec for arrays ofPlayerDeathPositionDatainstances.static final BuilderCodec<PlayerDeathPositionData> The codec used to parsePlayerDeathPositionDatainstances. -
Constructor Summary
ConstructorsConstructorDescriptionPlayerDeathPositionData(String markerId, Transform transform, int day) Default Constructor for aPlayerDeathPositionDatainstance. -
Method Summary
-
Field Details
-
CODEC
The codec used to parsePlayerDeathPositionDatainstances. -
ARRAY_CODEC
An array codec for arrays ofPlayerDeathPositionDatainstances.
-
-
Constructor Details
-
PlayerDeathPositionData
Default Constructor for aPlayerDeathPositionDatainstance.- 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
- Returns:
- the unique ID of the map marker.
-
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.
-