Uses of Class
dev.lone.itemsadder.api.CustomStack
Packages that use CustomStack
-
Uses of CustomStack in dev.lone.itemsadder.api
Subclasses of CustomStack in dev.lone.itemsadder.apiModifier and TypeClassDescriptionclass
Class representing a custom block in ItemsAdder.class
class
Class representing a CustomFurniture of ItemsAdder.Methods in dev.lone.itemsadder.api that return CustomStackModifier and TypeMethodDescriptionstatic @Nullable CustomStack
CustomStack.byItemStack
(org.bukkit.inventory.ItemStack itemStack) Returns null if the providedItemStack
is not a custom item created with ItemsAdder.static @Nullable CustomStack
CustomStack.getInstance
(String namespacedID) Gets a clone of the custom stack declared in ItemsAdder registry.CustomCrop.getSeed()
Gets aCustomStack
instance of the Seeds associated with this CustomCrop.Methods in dev.lone.itemsadder.api that return types with arguments of type CustomStackModifier and TypeMethodDescriptionstatic List<CustomStack>
ItemsAdder.getAllItems()
Returns all the registered items.static List<CustomStack>
ItemsAdder.getAllItems
(String namespace) Returns all the registered items by a specific namespace.static List<CustomStack>
ItemsAdder.getAllItems
(org.bukkit.Material material) Returns all the registered items which use a specific Bukkit Material.Methods in dev.lone.itemsadder.api with parameters of type CustomStackModifier and TypeMethodDescriptionboolean
CustomStack.matchNamespacedID
(CustomStack other) Returns whether the namespace and id of the provided CustomStack match the one of this CustomStack.