me.huanmeng.opensource.bukkit.gui.button.function.PlayerItemInterface Maven / Gradle / Ivy
package me.huanmeng.opensource.bukkit.gui.button.function;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;
/**
* 2023/3/17
* Gui
*
* @author huanmeng_qwq
*/
@FunctionalInterface
public interface PlayerItemInterface {
/**
* 获取物品
*
* @param player 玩家
* @return 物品
*/
@Nullable
ItemStack get(@NonNull Player player);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy