Class ItemTarget

java.lang.Object
com.sk89q.worldguard.blacklist.target.ItemTarget
All Implemented Interfaces:
Target

public class ItemTarget extends Object implements Target
  • Constructor Details

    • ItemTarget

      public ItemTarget(com.sk89q.worldedit.world.item.ItemType type)
  • Method Details

    • getTypeId

      public String getTypeId()
      Description copied from interface: Target
      Get the type ID.
      Specified by:
      getTypeId in interface Target
      Returns:
      the type ID
    • getFriendlyName

      public String getFriendlyName()
      Description copied from interface: Target
      Get a friendly name to be printed.
      Specified by:
      getFriendlyName in interface Target
      Returns:
      a friendly name