Class TagModule

java.lang.Object
org.skriptlang.skript.bukkit.tags.TagModule

public class TagModule extends Object
  • Field Details

    • PAPER_TAGS_EXIST

      public static final boolean PAPER_TAGS_EXIST
    • tagRegistry

      public static TagRegistry tagRegistry
  • Constructor Details

    • TagModule

      public TagModule()
  • Method Details

    • load

      public static void load() throws IOException
      Throws:
      IOException
    • getKeyed

      @Contract(value="null -> null", pure=true) @Nullable public static @Nullable org.bukkit.Keyed[] getKeyed(Object input)
      Retrieves a Keyed array based on the type of the provided input object.
      Parameters:
      input - the input object to determine the keyed value, can be of type Entity, EntityData, ItemType, ItemStack, Slot, Block, or BlockData.
      Returns:
      a Keyed array corresponding to the input's type, or null if the input is null or if no corresponding Keyed value can be determined. ItemTypes may return multiple values, though everything else will return a single element array.