Class Tips

java.lang.Object
cn.lanink.gamecore.utils.Tips

public class Tips extends Object
Author:
LT_Name
  • Field Details

    • TIPS

      private static final Tips TIPS
      静态方法似乎会加载所有使用到的依赖 我们需要兼容多个Tips版本
  • Constructor Details

    • Tips

      private Tips()
  • Method Details

    • closeTipsShow

      public static void closeTipsShow(@NotNull @NotNull String level, @NotNull @NotNull cn.nukkit.Player player)
      关闭Tips显示
      Parameters:
      level - 世界
      player - 玩家
    • removeTipsConfig

      public static void removeTipsConfig(@NotNull @NotNull String level, @NotNull @NotNull cn.nukkit.Player player)
      移除Tips设置
      Parameters:
      level - 世界
      player - 玩家
    • closeTipsShowInternal

      private void closeTipsShowInternal(@NotNull @NotNull String level, @NotNull @NotNull String playerName)
    • removeTipsConfigInternal

      private void removeTipsConfigInternal(@NotNull @NotNull String level, @NotNull @NotNull String playerName)