diff --git a/invui-core/pom.xml b/invui-core/pom.xml new file mode 100644 index 00000000..9a4ef08a --- /dev/null +++ b/invui-core/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + + + xyz.xenondevs.invui + invui-parent + 1.3 + ../pom.xml + + + invui-core + + + 11 + 11 + + + + + org.spigotmc + spigot-api + 1.19.4-R0.1-SNAPSHOT + provided + + + com.mojang + authlib + 1.5.21 + provided + + + * + * + + + + + xyz.xenondevs.invui + inventory-access + ${project.version} + + + + \ No newline at end of file diff --git a/invui/src/main/java/xyz/xenondevs/invui/InvUI.java b/invui-core/src/main/java/xyz/xenondevs/invui/InvUI.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/InvUI.java rename to invui-core/src/main/java/xyz/xenondevs/invui/InvUI.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/Animation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/Animation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/Animation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/Animation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/AbstractAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/AbstractAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/AbstractAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/AbstractAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/AbstractSoundAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/AbstractSoundAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/AbstractSoundAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/AbstractSoundAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/ColumnAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/ColumnAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/ColumnAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/ColumnAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/HorizontalSnakeAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/HorizontalSnakeAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/HorizontalSnakeAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/HorizontalSnakeAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/RandomAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/RandomAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/RandomAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/RandomAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/RowAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/RowAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/RowAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/RowAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/SequentialAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/SequentialAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/SequentialAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/SequentialAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/SplitSequentialAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/SplitSequentialAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/SplitSequentialAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/SplitSequentialAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/animation/impl/VerticalSnakeAnimation.java b/invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/VerticalSnakeAnimation.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/animation/impl/VerticalSnakeAnimation.java rename to invui-core/src/main/java/xyz/xenondevs/invui/animation/impl/VerticalSnakeAnimation.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/AbstractGui.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/AbstractGui.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/AbstractGui.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/AbstractGui.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/AbstractPagedGui.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/AbstractPagedGui.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/AbstractPagedGui.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/AbstractPagedGui.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/AbstractScrollGui.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/AbstractScrollGui.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/AbstractScrollGui.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/AbstractScrollGui.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/AbstractTabGui.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/AbstractTabGui.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/AbstractTabGui.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/AbstractTabGui.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/Gui.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/Gui.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/Gui.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/Gui.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/GuiParent.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/GuiParent.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/GuiParent.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/GuiParent.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/NormalGuiImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/NormalGuiImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/NormalGuiImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/NormalGuiImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/PagedGui.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/PagedGui.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/PagedGui.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/PagedGui.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/PagedItemsGuiImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/PagedItemsGuiImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/PagedItemsGuiImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/PagedItemsGuiImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/PagedNestedGuiImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/PagedNestedGuiImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/PagedNestedGuiImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/PagedNestedGuiImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/ScrollGui.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/ScrollGui.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/ScrollGui.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/ScrollGui.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/ScrollInventoryGuiImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/ScrollInventoryGuiImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/ScrollInventoryGuiImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/ScrollInventoryGuiImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/ScrollItemsGuiImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/ScrollItemsGuiImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/ScrollItemsGuiImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/ScrollItemsGuiImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/ScrollNestedGuiImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/ScrollNestedGuiImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/ScrollNestedGuiImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/ScrollNestedGuiImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/SlotElement.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/SlotElement.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/SlotElement.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/SlotElement.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/TabGui.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/TabGui.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/TabGui.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/TabGui.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/TabGuiImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/TabGuiImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/TabGuiImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/TabGuiImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/structure/Ingredient.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/Ingredient.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/structure/Ingredient.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/Ingredient.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/structure/IngredientList.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/IngredientList.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/structure/IngredientList.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/IngredientList.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/structure/InventorySlotElementSupplier.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/InventorySlotElementSupplier.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/structure/InventorySlotElementSupplier.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/InventorySlotElementSupplier.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/structure/Marker.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/Marker.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/structure/Marker.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/Marker.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/structure/Markers.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/Markers.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/structure/Markers.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/Markers.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/gui/structure/Structure.java b/invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/Structure.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/gui/structure/Structure.java rename to invui-core/src/main/java/xyz/xenondevs/invui/gui/structure/Structure.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/CompositeInventory.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/CompositeInventory.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/CompositeInventory.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/CompositeInventory.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/Inventory.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/Inventory.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/Inventory.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/Inventory.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/ReferencingInventory.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/ReferencingInventory.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/ReferencingInventory.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/ReferencingInventory.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/StackSizeProvider.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/StackSizeProvider.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/StackSizeProvider.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/StackSizeProvider.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/VirtualInventory.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/VirtualInventory.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/VirtualInventory.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/VirtualInventory.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/VirtualInventoryManager.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/VirtualInventoryManager.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/VirtualInventoryManager.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/VirtualInventoryManager.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/event/ItemPostUpdateEvent.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/ItemPostUpdateEvent.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/event/ItemPostUpdateEvent.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/ItemPostUpdateEvent.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/event/ItemPreUpdateEvent.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/ItemPreUpdateEvent.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/event/ItemPreUpdateEvent.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/ItemPreUpdateEvent.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/event/ItemUpdateEvent.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/ItemUpdateEvent.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/event/ItemUpdateEvent.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/ItemUpdateEvent.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/event/PlayerUpdateReason.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/PlayerUpdateReason.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/event/PlayerUpdateReason.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/PlayerUpdateReason.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/inventory/event/UpdateReason.java b/invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/UpdateReason.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/inventory/event/UpdateReason.java rename to invui-core/src/main/java/xyz/xenondevs/invui/inventory/event/UpdateReason.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/Click.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/Click.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/Click.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/Click.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/Item.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/Item.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/Item.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/Item.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/ItemProvider.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/ItemProvider.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/ItemProvider.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/ItemProvider.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/ItemWrapper.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/ItemWrapper.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/ItemWrapper.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/ItemWrapper.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/builder/AbstractItemBuilder.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/builder/AbstractItemBuilder.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/builder/AbstractItemBuilder.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/builder/AbstractItemBuilder.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/builder/ItemBuilder.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/builder/ItemBuilder.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/builder/ItemBuilder.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/builder/ItemBuilder.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/builder/PotionBuilder.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/builder/PotionBuilder.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/builder/PotionBuilder.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/builder/PotionBuilder.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/builder/SkullBuilder.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/builder/SkullBuilder.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/builder/SkullBuilder.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/builder/SkullBuilder.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/AbstractItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/AbstractItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/AbstractItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/AbstractItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/AsyncItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/AsyncItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/AsyncItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/AsyncItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/AutoCycleItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/AutoCycleItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/AutoCycleItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/AutoCycleItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/AutoUpdateItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/AutoUpdateItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/AutoUpdateItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/AutoUpdateItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/CommandItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/CommandItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/CommandItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/CommandItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/CycleItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/CycleItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/CycleItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/CycleItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/SimpleItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/SimpleItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/SimpleItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/SimpleItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/SuppliedItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/SuppliedItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/SuppliedItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/SuppliedItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/ControlItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/ControlItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/ControlItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/ControlItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/PageItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/PageItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/PageItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/PageItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/ScrollItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/ScrollItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/ScrollItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/ScrollItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/TabItem.java b/invui-core/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/TabItem.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/TabItem.java rename to invui-core/src/main/java/xyz/xenondevs/invui/item/impl/controlitem/TabItem.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/ArrayUtils.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/ArrayUtils.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/ArrayUtils.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/ArrayUtils.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/ColorPalette.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/ColorPalette.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/ColorPalette.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/ColorPalette.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/DataUtils.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/DataUtils.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/DataUtils.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/DataUtils.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/IOUtils.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/IOUtils.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/IOUtils.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/IOUtils.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/InventoryUtils.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/InventoryUtils.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/InventoryUtils.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/InventoryUtils.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/ItemUtils.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/ItemUtils.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/ItemUtils.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/ItemUtils.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/MathUtils.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/MathUtils.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/MathUtils.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/MathUtils.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/MojangApiUtils.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/MojangApiUtils.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/MojangApiUtils.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/MojangApiUtils.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/Pair.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/Pair.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/Pair.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/Pair.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/Point2D.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/Point2D.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/Point2D.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/Point2D.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/SlotUtils.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/SlotUtils.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/SlotUtils.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/SlotUtils.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/util/TriConsumer.java b/invui-core/src/main/java/xyz/xenondevs/invui/util/TriConsumer.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/util/TriConsumer.java rename to invui-core/src/main/java/xyz/xenondevs/invui/util/TriConsumer.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/AbstractDoubleWindow.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractDoubleWindow.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/AbstractDoubleWindow.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractDoubleWindow.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/AbstractMergedWindow.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractMergedWindow.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/AbstractMergedWindow.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractMergedWindow.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/AbstractSingleWindow.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractSingleWindow.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/AbstractSingleWindow.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractSingleWindow.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/AbstractSplitWindow.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractSplitWindow.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/AbstractSplitWindow.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractSplitWindow.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/AbstractWindow.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractWindow.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/AbstractWindow.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/AbstractWindow.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/AnvilSingleWindowImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/AnvilSingleWindowImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/AnvilSingleWindowImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/AnvilSingleWindowImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/AnvilSplitWindowImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/AnvilSplitWindowImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/AnvilSplitWindowImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/AnvilSplitWindowImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/AnvilWindow.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/AnvilWindow.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/AnvilWindow.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/AnvilWindow.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/CartographySingleWindowImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/CartographySingleWindowImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/CartographySingleWindowImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/CartographySingleWindowImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/CartographySplitWindowImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/CartographySplitWindowImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/CartographySplitWindowImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/CartographySplitWindowImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/CartographyWindow.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/CartographyWindow.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/CartographyWindow.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/CartographyWindow.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/NormalMergedWindowImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/NormalMergedWindowImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/NormalMergedWindowImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/NormalMergedWindowImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/NormalSingleWindowImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/NormalSingleWindowImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/NormalSingleWindowImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/NormalSingleWindowImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/NormalSplitWindowImpl.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/NormalSplitWindowImpl.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/NormalSplitWindowImpl.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/NormalSplitWindowImpl.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/Window.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/Window.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/Window.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/Window.java diff --git a/invui/src/main/java/xyz/xenondevs/invui/window/WindowManager.java b/invui-core/src/main/java/xyz/xenondevs/invui/window/WindowManager.java similarity index 100% rename from invui/src/main/java/xyz/xenondevs/invui/window/WindowManager.java rename to invui-core/src/main/java/xyz/xenondevs/invui/window/WindowManager.java diff --git a/invui/src/main/resources/colors.bin b/invui-core/src/main/resources/colors.bin similarity index 100% rename from invui/src/main/resources/colors.bin rename to invui-core/src/main/resources/colors.bin diff --git a/invui-kotlin/pom.xml b/invui-kotlin/pom.xml index a880163c..efee5467 100644 --- a/invui-kotlin/pom.xml +++ b/invui-kotlin/pom.xml @@ -12,7 +12,7 @@ invui-kotlin - 1.8.0 + 1.8.20 11 11 @@ -31,7 +31,7 @@ xyz.xenondevs.invui - invui + invui-core ${project.version} diff --git a/invui-resourcepack/pom.xml b/invui-resourcepack/pom.xml index 1fbc7551..7d8a296c 100644 --- a/invui-resourcepack/pom.xml +++ b/invui-resourcepack/pom.xml @@ -25,7 +25,7 @@ xyz.xenondevs.invui - invui + invui-core ${project.version} diff --git a/invui/pom.xml b/invui/pom.xml index 8122cdd6..146c5bd7 100644 --- a/invui/pom.xml +++ b/invui/pom.xml @@ -1,17 +1,16 @@ - 4.0.0 - xyz.xenondevs.invui invui-parent 1.3 - ../pom.xml invui + pom 11 @@ -19,27 +18,9 @@ - - org.spigotmc - spigot-api - 1.19.4-R0.1-SNAPSHOT - provided - - - com.mojang - authlib - 1.5.21 - provided - - - * - * - - - xyz.xenondevs.invui - inventory-access + invui-core ${project.version} diff --git a/pom.xml b/pom.xml index f6f1d4da..dcf78835 100644 --- a/pom.xml +++ b/pom.xml @@ -70,9 +70,10 @@ inventoryaccess/inventory-access-r11 inventoryaccess/inventory-access-r12 inventoryaccess/inventory-access-r13 - invui + invui-core invui-resourcepack invui-kotlin + invui