All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.huanmeng.opensource.bukkit.gui.slot.function.ButtonPlaceInterface Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
package me.huanmeng.opensource.bukkit.gui.slot.function;

import me.huanmeng.opensource.bukkit.gui.button.Button;
import me.huanmeng.opensource.bukkit.gui.slot.Slot;
import org.bukkit.entity.Player;
import org.checkerframework.checker.nullness.qual.NonNull;

/**
 * 2023/3/17
* Gui
* * @author huanmeng_qwq */ @FunctionalInterface public interface ButtonPlaceInterface { /** * 尝试放置 * * @param slot 位置 * @param button 按钮 * @param player 玩家 * @return 是否成功 */ boolean tryPlace(@NonNull Slot slot, @NonNull Button button, @NonNull Player player); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy