Object GlowAPI

  • All Implemented Interfaces:

    
    public class GlowAPI
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static GlowAPI INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit addGlow(Player $self, Entity entity, ChatColor color) 给玩家添加发光实体
      final static Unit removeGlow(Player $self, Entity entity, ChatColor color) 给玩家删除发光实体
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • addGlow

         final static Unit addGlow(Player $self, Entity entity, ChatColor color)

        给玩家添加发光实体

        Parameters:
        entity - Entity 实体
        color - ChatColor 颜色
      • removeGlow

         final static Unit removeGlow(Player $self, Entity entity, ChatColor color)

        给玩家删除发光实体

        Parameters:
        entity - Entity 实体
        color - ChatColor 颜色