CapeInfo

data class CapeInfo(val texture: BufferedImage, val retrievedAt: Instant)

A CapeInfo is the response to the request of the cape texture of a specific player. The result includes the moment when this information was freshly retrieved from Mojang and may be stale or outdated, if Xenos is configured to return those values. The texture is optimized for fast retrieval and all data is stored in memory.

Constructors

Link copied to clipboard
constructor(texture: BufferedImage, retrievedAt: Instant)

Properties

Link copied to clipboard

The moment when this data was originally fetched from the MojangAPI and when it was considered fresh.

Link copied to clipboard

The loaded texture of the cape that was requested for the supplied player.