Package de.jeff_media.chestsort.api
Class Sortable
java.lang.Object
de.jeff_media.chestsort.api.Sortable
- All Implemented Interfaces:
ISortable
,org.bukkit.inventory.InventoryHolder
Deprecated.
Public class that can be used as InventoryHolder to tell ChestSort that the associated inventory is sortable.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable org.bukkit.inventory.InventoryHolder
Deprecated.org.bukkit.inventory.Inventory
Deprecated.void
Deprecated.void
setHolder(@NotNull org.bukkit.inventory.InventoryHolder player)
Deprecated.void
setInventory(org.bukkit.inventory.Inventory inv)
Deprecated.
-
Constructor Details
-
Sortable
public Sortable()Deprecated. -
Sortable
public Sortable(org.bukkit.inventory.InventoryHolder h)Deprecated.
-
-
Method Details
-
removeHolder
public void removeHolder()Deprecated. -
getHolder
@Nullable public @Nullable org.bukkit.inventory.InventoryHolder getHolder()Deprecated. -
setHolder
public void setHolder(@NotNull @NotNull org.bukkit.inventory.InventoryHolder player)Deprecated. -
getInventory
public org.bukkit.inventory.Inventory getInventory()Deprecated.- Specified by:
getInventory
in interfaceorg.bukkit.inventory.InventoryHolder
-
setInventory
public void setInventory(org.bukkit.inventory.Inventory inv)Deprecated.
-
ChestSortAPI.setSortable(Inventory)
instead