类 TellRawUtil


  • public class TellRawUtil
    extends java.lang.Object
    可点击Json文本
    作者:
    FzmXer 2023年07月12日 18时58分
    • 构造器概要

      构造器 
      构造器 说明
      TellRawUtil()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static com.comphenix.protocol.events.PacketContainer getTellRawPacket​(com.comphenix.protocol.ProtocolManager pm, java.lang.String json)
      获取tellRaw包
      static void sendTellRaw​(org.bukkit.entity.Player player, java.lang.String json)
      发送TellRaw文本
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • TellRawUtil

        public TellRawUtil()
    • 方法详细资料

      • getTellRawPacket

        public static com.comphenix.protocol.events.PacketContainer getTellRawPacket​(com.comphenix.protocol.ProtocolManager pm,
                                                                                     java.lang.String json)
        获取tellRaw包
        参数:
        pm - 数据包管理(PacketManager.getPm()可获取)
        json - json文本
        返回:
        PacketContainer
      • sendTellRaw

        public static void sendTellRaw​(org.bukkit.entity.Player player,
                                       java.lang.String json)
        发送TellRaw文本
        参数:
        player - 玩家
        json - json文本