Uses of Class
xyz.geik.farmer.model.inventory.FarmerItem
Package
Description
-
Uses of FarmerItem in xyz.geik.farmer.api.handlers
ModifierConstructorDescriptionFarmerItemSellEvent
(Farmer farmer, FarmerItem farmerItem, org.bukkit.OfflinePlayer offlinePlayer) FarmerItemSellEvent constructor with Farmer, FarmerItem and OfflinePlayer -
Uses of FarmerItem in xyz.geik.farmer.helpers.gui
Modifier and TypeMethodDescriptionstatic @NotNull org.bukkit.inventory.ItemStack
GroupItems.getGroupItem
(@NotNull Farmer farmer, @NotNull FarmerItem farmerItem) Farmer stock item which can be anything in items.yml It also calculates stock and percent for display stock. -
Uses of FarmerItem in xyz.geik.farmer.model.inventory
Modifier and TypeFieldDescriptionstatic List<FarmerItem>
FarmerInv.defaultItems
default items which farmer can takeModifier and TypeMethodDescriptionFarmerItem.clone()
Clones FarmerItemstatic @NotNull FarmerItem
FarmerInv.getDefaultItem
(xyz.geik.glib.shades.xseries.XMaterial material) Gets item from default items.FarmerInv.getStockedItem
(xyz.geik.glib.shades.xseries.XMaterial material) Gets item from farmer inv.Modifier and TypeMethodDescriptionstatic List<FarmerItem>
FarmerItem.deserializeItems
(String items) Deserialize FarmerItem from flat string to a listModifier and TypeMethodDescriptionstatic String
FarmerItem.serializeItems
(@NotNull List<FarmerItem> items) Serializing FarmerItem set to flat string Because it should save to databaseModifierConstructorDescriptionFarmerInv
(List<FarmerItem> items, long capacity) Farmer inv which contains items set. -
Uses of FarmerItem in xyz.geik.farmer.modules.geyser.gui
Modifier and TypeMethodDescriptionstatic void
GeyserGui.showGui
(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack cursorItem, xyz.geik.glib.shades.xseries.XMaterial cursorItemMaterial, Farmer farmer, FarmerItem slotItem) Opens gui to player -
Uses of FarmerItem in xyz.geik.farmer.modules.production
Modifier and TypeMethodDescriptionstatic boolean
Production.isCalculateItem
(@NotNull FarmerItem item) is item suitable to calculate