Package dev.linwood.itemmods.utils
Class BetterGuiCustomModifier
- java.lang.Object
-
- dev.linwood.itemmods.utils.BetterGuiCustomModifier
-
- All Implemented Interfaces:
me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
public class BetterGuiCustomModifier extends java.lang.Object implements me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
A customItemModifier
for the BetterGUI library.
-
-
Constructor Summary
Constructors Constructor Description BetterGuiCustomModifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canLoadFromItemStack(org.bukkit.inventory.ItemStack itemStack)
boolean
compareWithItemStack(org.bukkit.inventory.ItemStack itemStack, java.util.UUID uuid, java.util.Map<java.lang.String,me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
@NotNull java.lang.String
getName()
void
loadFromItemStack(org.bukkit.inventory.ItemStack itemStack)
void
loadFromObject(java.lang.Object o)
@Nullable org.bukkit.inventory.ItemStack
modify(org.bukkit.inventory.ItemStack itemStack, java.util.UUID uuid, @NotNull java.util.Map<java.lang.String,me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
java.lang.Object
toObject()
-
-
-
Method Detail
-
getName
@NotNull public @NotNull java.lang.String getName()
- Specified by:
getName
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
modify
@Nullable public @Nullable org.bukkit.inventory.ItemStack modify(org.bukkit.inventory.ItemStack itemStack, java.util.UUID uuid, @NotNull @NotNull java.util.Map<java.lang.String,me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
- Specified by:
modify
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
toObject
public java.lang.Object toObject()
- Specified by:
toObject
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
loadFromObject
public void loadFromObject(java.lang.Object o)
- Specified by:
loadFromObject
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
canLoadFromItemStack
public boolean canLoadFromItemStack(org.bukkit.inventory.ItemStack itemStack)
- Specified by:
canLoadFromItemStack
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
loadFromItemStack
public void loadFromItemStack(org.bukkit.inventory.ItemStack itemStack)
- Specified by:
loadFromItemStack
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
compareWithItemStack
public boolean compareWithItemStack(org.bukkit.inventory.ItemStack itemStack, java.util.UUID uuid, java.util.Map<java.lang.String,me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
- Specified by:
compareWithItemStack
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
-