类 DeathMarkApi

java.lang.Object
cn.handyplus.death.mark.api.DeathMarkApi

public final class DeathMarkApi extends Object
API
  • 方法详细资料

    • look

      public static Integer look(@NotNull @NotNull UUID playerUuid)
      查看当前数量
      参数:
      playerUuid - 玩家uid
      返回:
      数量
    • give

      public static boolean give(@NotNull @NotNull UUID playerUuid, @NotNull @NotNull Integer number)
      参数:
      playerUuid - 玩家
      number - 数量
      返回:
      true成功
    • take

      public static boolean take(@NotNull @NotNull UUID playerUuid, @NotNull @NotNull Integer number)
      扣除
      参数:
      playerUuid - 玩家
      number - 数量
      返回:
      true成功
    • set

      public static boolean set(@NotNull @NotNull UUID playerUuid, @NotNull @NotNull Integer number)
      设置
      参数:
      playerUuid - 玩家
      number - 数量
      返回:
      true成功