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 Object implements me.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
- Author:
- CodeDoctorDE
-
-
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, UUID uuid, Map<String,me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
@NotNull String
getName()
void
loadFromItemStack(org.bukkit.inventory.ItemStack itemStack)
void
loadFromObject(Object o)
@Nullable org.bukkit.inventory.ItemStack
modify(org.bukkit.inventory.ItemStack itemStack, UUID uuid, @NotNull Map<String,me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
Object
toObject()
-
-
-
Method Detail
-
getName
@NotNull public @NotNull 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, UUID uuid, @NotNull @NotNull Map<String,me.hsgamer.bettergui.lib.core.common.interfaces.StringReplacer> map)
- Specified by:
modify
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
toObject
public Object toObject()
- Specified by:
toObject
in interfaceme.hsgamer.bettergui.lib.core.bukkit.item.ItemModifier
-
loadFromObject
public void loadFromObject(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
-
-