Skip to content

Items

Class: UnifiedEvents.Items

Various item events.

Methods

UnifiedEvents.Items.beforeUse(level, player, hand -> {
    // your custom behaviour here
});
UnifiedEvents.Items.afterUse(level, player, hand -> {
    // your custom behaviour here
});
UnifiedEvents.Items.onUseOn(context -> {
    // your custom behaviour here
});