MenuClickEvent

Evento de cuando se le da click a un slot del menú

package me.arasple.mc.trmenu.api.events

import io.izzel.taboolib.module.event.EventCancellable
import me.arasple.mc.trmenu.api.inventory.InvClickType
import me.arasple.mc.trmenu.display.Icon
import me.arasple.mc.trmenu.display.Menu
import org.bukkit.entity.Player

/**
 * @author Arasple
 * @date 2020/7/6 21:44
 */
class MenuClickEvent(val player: Player, val slot: Int, val menu: Menu, val icon: Icon?, val clickType: InvClickType) : EventCancellable<MenuClickEvent>()

Last updated