Class ItemFactoryMock
java.lang.Object
be.seeseemelk.mockbukkit.inventory.ItemFactoryMock
- All Implemented Interfaces:
org.bukkit.inventory.ItemFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.meta.ItemMetaasMetaFor(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.inventory.ItemStack stack) org.bukkit.inventory.meta.ItemMetaasMetaFor(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material) booleanequals(org.bukkit.inventory.meta.ItemMeta meta1, org.bukkit.inventory.meta.ItemMeta meta2) org.bukkit.Colororg.bukkit.inventory.meta.ItemMetagetItemMeta(org.bukkit.Material material) booleanisApplicable(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.inventory.ItemStack stack) booleanisApplicable(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material) org.bukkit.MaterialupdateMaterial(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material)
-
Constructor Details
-
ItemFactoryMock
public ItemFactoryMock()
-
-
Method Details
-
getItemMeta
public org.bukkit.inventory.meta.ItemMeta getItemMeta(org.bukkit.Material material) - Specified by:
getItemMetain interfaceorg.bukkit.inventory.ItemFactory
-
isApplicable
public boolean isApplicable(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.inventory.ItemStack stack) - Specified by:
isApplicablein interfaceorg.bukkit.inventory.ItemFactory
-
isApplicable
public boolean isApplicable(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material) - Specified by:
isApplicablein interfaceorg.bukkit.inventory.ItemFactory
-
equals
public boolean equals(org.bukkit.inventory.meta.ItemMeta meta1, org.bukkit.inventory.meta.ItemMeta meta2) - Specified by:
equalsin interfaceorg.bukkit.inventory.ItemFactory
-
asMetaFor
public org.bukkit.inventory.meta.ItemMeta asMetaFor(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.inventory.ItemStack stack) - Specified by:
asMetaForin interfaceorg.bukkit.inventory.ItemFactory
-
asMetaFor
public org.bukkit.inventory.meta.ItemMeta asMetaFor(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material) - Specified by:
asMetaForin interfaceorg.bukkit.inventory.ItemFactory
-
getDefaultLeatherColor
public org.bukkit.Color getDefaultLeatherColor()- Specified by:
getDefaultLeatherColorin interfaceorg.bukkit.inventory.ItemFactory
-
updateMaterial
public org.bukkit.Material updateMaterial(org.bukkit.inventory.meta.ItemMeta meta, org.bukkit.Material material) - Specified by:
updateMaterialin interfaceorg.bukkit.inventory.ItemFactory
-