Container Block

A block that receives item drag and drop events.

The Container Block receives item drag-and-drop events. It is recommended to implement logic to handle the drop event and define how the container should respond.

Container Blockchevron-right

Properties

Name
Description

On Received Drop

A callback for when an item is dropped on this previewable. This accepts 1 argument: the item stack dropped onto this object (ItemStack).

Last updated