Interface TagEntity


public interface TagEntity
Represents an entity that can be tagged.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Gets the tag resolver for this entity.
    net.kyori.adventure.text.minimessage.tag.resolver.TagResolver
    Gets the tag resolver for this entity.
  • Method Details

    • resolver

      net.kyori.adventure.text.minimessage.tag.resolver.TagResolver resolver(String id)
      Gets the tag resolver for this entity.
      Parameters:
      id - the id of the entity
      Returns:
      the tag resolver
    • placeholder

      static String placeholder(String id, String value)
      Gets the tag resolver for this entity.
      Parameters:
      id - the id of the entity
      value - the value of the entity
      Returns:
      the tag resolver key