DespawnIntoVoid

Always applies. Destroys illegal/technical items outright rather than letting them be placed anywhere.

Constructors

Link copied to clipboard
constructor(plugin: PaperMcDespawnedItems)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val supportsRemoval: Boolean = false

Void destroys contraband; it stores nothing, so bulk removal must skip it.

Functions

Link copied to clipboard
open override fun despawnInto(process: DespawnProcess, targetBlock: Block): DespawnIntoResult

Attempts to place DespawnProcess.item into targetBlock.

Link copied to clipboard
open override fun doesApply(targetBlock: Block): Boolean

Whether this strategy is applicable to targetBlock.

Link copied to clipboard
open override fun removeFrom(material: Material, targetBlock: Block)

Removes all of material from targetBlock (used by bulk purges).

open override fun removeFrom(material: ItemStack, targetBlock: Block)

Removes items matching material from targetBlock (used by bulk purges).