isCancelled

Indicates whether the interaction should be cancelled. Setting this to true will prevent the default behavior of the underlying Bukkit event, allowing for custom handling of the interaction without interference from the default mechanics. This can be used to implement custom rules or restrictions on how players can interact with the virtual inventory, such as preventing certain types of interactions or enforcing specific behaviors when interacting with certain items or slots.