Skip to content

Commit 0cb1271

Browse files
committed
feat: HypixelInventoryGUI as deprecated
1 parent 8f09d5f commit 0cb1271

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

type.generic/src/main/java/net/swofty/type/generic/gui/inventory/HypixelInventoryGUI.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import java.util.concurrent.ConcurrentHashMap;
2121

2222
@Getter
23+
@Deprecated
2324
public abstract class HypixelInventoryGUI {
2425
public static final Map<UUID, HypixelInventoryGUI> GUI_MAP = new ConcurrentHashMap<>();
2526
public static final ItemStack.Builder FILLER_ITEM = ItemStack.builder(Material.BLACK_STAINED_GLASS_PANE)

type.generic/src/main/java/net/swofty/type/generic/gui/inventory/HypixelPaginatedGUI.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import java.util.List;
1717
import java.util.Objects;
1818

19+
@Deprecated
1920
public abstract class HypixelPaginatedGUI<T> extends HypixelInventoryGUI {
2021

2122
protected PaginationList<T> latestPaged;

type.generic/src/main/java/net/swofty/type/generic/gui/inventory/RefreshingGUI.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import net.swofty.type.generic.user.HypixelPlayer;
44

5+
@Deprecated
56
public interface RefreshingGUI {
67
/**
78
* If the GUI implements this method, this is the method that should be using in setting all the items

type.generic/src/main/java/net/swofty/type/generic/gui/inventory/SharedInventory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import java.util.concurrent.CopyOnWriteArraySet;
1212
import java.util.function.Consumer;
1313

14+
@Deprecated
1415
public abstract class SharedInventory extends HypixelInventoryGUI {
1516

1617
private static final Map<String, SharedInventoryContext> SHARED_CONTEXTS = new ConcurrentHashMap<>();

0 commit comments

Comments
 (0)