Class MetaItem

java.lang.Object
fr.andross.banitem.items.BannedItem
fr.andross.banitem.items.MetaItem
All Implemented Interfaces:
ICustomName

public final class MetaItem extends BannedItem implements ICustomName
An item wrapper for meta items
Version:
3.3
Author:
Andross
  • Constructor Details

    • MetaItem

      public MetaItem(@NotNull String name, @NotNull org.bukkit.inventory.ItemStack itemStack)
  • Method Details

    • getName

      @NotNull public String getName()
      Get the custom banned item name from customitems.yml
      Specified by:
      getName in interface ICustomName
      Returns:
      the custom banned item name from customitems.yml
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BannedItem