DespawnIntoCooker

Places items into furnaces, blast furnaces, and smokers: stacking onto a matching smelt/fuel slot, dropping fuel into the fuel slot, or dropping a cookable item into the input slot when the recipe matches the cooker type.

Constructors

Link copied to clipboard
constructor(plugin: PaperMcDespawnedItems)

Properties

Link copied to clipboard
open val supportsRemoval: Boolean = true

Whether this strategy participates in bulk removal (removeFrom). Regression pin: DespawnIntoVoid applies to every block but removes nothing, so leaving it in the removal chain short-circuited /despi purge — no container was ever purged.

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).