DespawnProcess

class DespawnProcess(var item: ItemStack?, plugin: PaperMcDespawnedItems)

Drives a single item through the despawn pipeline: it repeatedly picks a random, not-yet-tried despawn location, loads that chunk, and offers the item to each despawn strategy (PaperMcDespawnedItems.strategies) in priority order until the item is fully placed or the location budget runs out.

item is nullable because the storage strategies null it out while reconstructing oversized leftover stacks.

Constructors

Link copied to clipboard
constructor(item: ItemStack?, plugin: PaperMcDespawnedItems)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
var item: ItemStack?

Functions

Link copied to clipboard