Package fr.andross.banitem.items
Class MetaItem
java.lang.Object
fr.andross.banitem.items.BannedItem
fr.andross.banitem.items.MetaItem
- All Implemented Interfaces:
 ICustomName
An item wrapper for meta items.
- Version:
 - 3.3
 - Author:
 - Andross
 
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class fr.andross.banitem.items.BannedItem
getData, getItemMeta, getItemStack, getType, hashCode, toItemStack 
- 
Constructor Details
- 
MetaItem
public MetaItem(@NotNull @NotNull String name, @NotNull @NotNull org.bukkit.inventory.ItemStack itemStack) Constructor of a meta item, which represents a Bukkit ItemStack with a custom name.- Parameters:
 name- The name of this meta itemitemStack- The item stack representing the item
 
 - 
 - 
Method Details
- 
getName
Get the meta item name from metaitems.yml- Specified by:
 getNamein interfaceICustomName- Returns:
 - the meta item name from metaitems.yml
 
 - 
equals
- Overrides:
 equalsin classBannedItem
 
 -