Class BetterGuiCustomModifier

  • All Implemented Interfaces:
    me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier

    public class BetterGuiCustomModifier
    extends Object
    implements me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
    Author:
    CodeDoctorDE
    • Constructor Detail

      • BetterGuiCustomModifier

        public BetterGuiCustomModifier()
    • Method Detail

      • getName

        @NotNull
        public @NotNull String getName()
        Specified by:
        getName in interface me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
      • modify

        @Nullable
        public @Nullable org.bukkit.inventory.ItemStack modify​(org.bukkit.inventory.ItemStack itemStack,
                                                               UUID uuid,
                                                               @NotNull
                                                               @NotNull Map<String,​me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
        Specified by:
        modify in interface me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
      • toObject

        public Object toObject()
        Specified by:
        toObject in interface me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
      • loadFromObject

        public void loadFromObject​(Object o)
        Specified by:
        loadFromObject in interface me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
      • canLoadFromItemStack

        public boolean canLoadFromItemStack​(org.bukkit.inventory.ItemStack itemStack)
        Specified by:
        canLoadFromItemStack in interface me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
      • loadFromItemStack

        public void loadFromItemStack​(org.bukkit.inventory.ItemStack itemStack)
        Specified by:
        loadFromItemStack in interface me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
      • compareWithItemStack

        public boolean compareWithItemStack​(org.bukkit.inventory.ItemStack itemStack,
                                            UUID uuid,
                                            Map<String,​me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
        Specified by:
        compareWithItemStack in interface me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier