Package me.hsgamer.bettergui.modifier
Class NBTModifier
- java.lang.Object
-
- me.hsgamer.bettergui.modifier.NBTModifier
-
- All Implemented Interfaces:
ItemModifier<org.bukkit.inventory.ItemStack>
public class NBTModifier extends Object implements ItemModifier<org.bukkit.inventory.ItemStack>
This is a legacy modifier that was removed from HSCore. I decide to keep it here for compatibility.
-
-
Constructor Summary
Constructors Constructor Description NBTModifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadFromObject(Object object)
@NotNull org.bukkit.inventory.ItemStack
modify(@NotNull org.bukkit.inventory.ItemStack original, UUID uuid, @NotNull StringReplacer stringReplacer)
Object
toObject()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface me.hsgamer.hscore.minecraft.item.ItemModifier
loadFromItem, modify, modify
-
-
-
-
Method Detail
-
modify
@NotNull public @NotNull org.bukkit.inventory.ItemStack modify(@NotNull @NotNull org.bukkit.inventory.ItemStack original, UUID uuid, @NotNull @NotNull StringReplacer stringReplacer)
- Specified by:
modify
in interfaceItemModifier<org.bukkit.inventory.ItemStack>
-
toObject
public Object toObject()
- Specified by:
toObject
in interfaceItemModifier<org.bukkit.inventory.ItemStack>
-
loadFromObject
public void loadFromObject(Object object)
- Specified by:
loadFromObject
in interfaceItemModifier<org.bukkit.inventory.ItemStack>
-
-