Class ItemFactoryMock

java.lang.Object
be.seeseemelk.mockbukkit.inventory.ItemFactoryMock
All Implemented Interfaces:
org.bukkit.inventory.ItemFactory

public class ItemFactoryMock extends Object implements org.bukkit.inventory.ItemFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.inventory.meta.ItemMeta
    asMetaFor(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.inventory.ItemStack stack)
     
    org.bukkit.inventory.meta.ItemMeta
    asMetaFor(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material)
     
    boolean
    equals(org.bukkit.inventory.meta.ItemMeta meta1, org.bukkit.inventory.meta.ItemMeta meta2)
     
    org.bukkit.Color
     
    org.bukkit.inventory.meta.ItemMeta
    getItemMeta(org.bukkit.Material material)
     
    boolean
    isApplicable(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.inventory.ItemStack stack)
     
    boolean
    isApplicable(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material)
     
    org.bukkit.Material
    updateMaterial(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material)
     

    Methods inherited from class java.lang.Object

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

    • ItemFactoryMock

      public ItemFactoryMock()
  • Method Details

    • getItemMeta

      public org.bukkit.inventory.meta.ItemMeta getItemMeta(org.bukkit.Material material)
      Specified by:
      getItemMeta in interface org.bukkit.inventory.ItemFactory
    • isApplicable

      public boolean isApplicable(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.inventory.ItemStack stack)
      Specified by:
      isApplicable in interface org.bukkit.inventory.ItemFactory
    • isApplicable

      public boolean isApplicable(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material)
      Specified by:
      isApplicable in interface org.bukkit.inventory.ItemFactory
    • equals

      public boolean equals(org.bukkit.inventory.meta.ItemMeta meta1, org.bukkit.inventory.meta.ItemMeta meta2)
      Specified by:
      equals in interface org.bukkit.inventory.ItemFactory
    • asMetaFor

      public org.bukkit.inventory.meta.ItemMeta asMetaFor(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.inventory.ItemStack stack)
      Specified by:
      asMetaFor in interface org.bukkit.inventory.ItemFactory
    • asMetaFor

      public org.bukkit.inventory.meta.ItemMeta asMetaFor(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material)
      Specified by:
      asMetaFor in interface org.bukkit.inventory.ItemFactory
    • getDefaultLeatherColor

      public org.bukkit.Color getDefaultLeatherColor()
      Specified by:
      getDefaultLeatherColor in interface org.bukkit.inventory.ItemFactory
    • updateMaterial

      public org.bukkit.Material updateMaterial(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material)
      Specified by:
      updateMaterial in interface org.bukkit.inventory.ItemFactory