Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Releases: RyseInventory/RyseInventory

Changelog v1.6.5

14 Jul 11:20
Compare
Choose a tag to compare

Changelog v1.6.5:

  • You can now update titles in version 1.19.4.
  • You can now give items a delay, so that they are executed only after a certain time.
  • Unused data will now be deleted.

Changelog v1.6.4

17 Jun 16:53
Compare
Choose a tag to compare

Changelog v1.6.4:

  • Fixed a bug where the vertical position of the items in the inventory view was not respected.
  • If no SlotIterator type is selected, Horizontal is used by default.
  • Fixed an error where the number of pages in the pagination were not correct.

Changelog v1.6.3

03 Jun 14:30
Compare
Choose a tag to compare

Changelog v1.6.3:

  • Fixed a bug where an attempt was made to place an item in a non-existent slot.
  • Fixed a bug where the vertical position of the items in the inventory view was not respected.
  • Fixed a bug where no plugin instance was passed to AnvilGUI.

Changelog v1.6.2

16 May 20:02
Compare
Choose a tag to compare

Changelog v1.6.2:

  • Fixed a bug where an attempt was made to place an item in a non-existent slot.

Changelog v1.6.1

16 May 18:53
Compare
Choose a tag to compare

Changelog v1.6.1:

  • Adventure is no longer shaded

Changelog v1.6.0

12 May 16:04
a8f3a88
Compare
Choose a tag to compare

Changelog v1.6.0:

  • There is now the method InventoryContents#readOnlyProperties to get a copy of the properties.
  • There is now a method RyseInventory#restoreOriginal to restore the original inventory.
  • There is now a method RyseInventory.Builder#keepOriginal to keep the original inventory.
  • The updateOrSet methods now return a boolean whether all slots have been successfully updated or placed.
  • There is now a method InventoryContents#findCorner to find the corners of the inventory.
  • There is now a method InventoryContents#fillDiagonal to fill an inventory diagonally.
  • Performance improvements
    • A list is now created once with the data, what slots and pages are available. Previously, each new page was recalculated.
    • The pagination is now cached so that only 1x the slots and pages have to be calculated. The cache is released when closing the inventory.
  • You can now specify a delay for the following methods:
    • InventoryContents#update
    • InventoryContents#updateOrSet
    • InventoryContents#updateTitle
  • The custom events of RyseInventory can now be used in the builder in the #listener method.
  • Fixed a bug in the De(serialization) method.
  • RyseAnvil was removed and replaced with AnvilGUI.Builder.
  • You can now set afterwards whether the player can close the inventory or not.
  • Adventure is now shaded and is no longer needed as an extra dependency (you can still add the Adventure dependency).

Changelog v1.5.7

29 Jan 08:16
65d5506
Compare
Choose a tag to compare

Changelog v1.5.7:

  • There is now the method set for multiple slots
  • RyseInventory Copy Constructor now takes over the new data
  • RyseInventory should now be thread-safe
  • RyseInventory now supports Adventure
  • RyseInventory Events revised

Changelog v1.5.6.2

30 Dec 17:20
Compare
Choose a tag to compare

Changelog v1.5.6.2:

  • Inside the AnvilGUI now onComplete can be null.
  • There is now onClick (Called when either the left or right slot is clicked)
  • There is now onClose when the inventory is closed.

Changelog v1.5.6

25 Dec 16:44
0c1a666
Compare
Choose a tag to compare

Changelog v1.5.6:

  • Fixed an error when using the #clearAndSafe method.
  • Added missing documentation for some methods in InventoryContents method.
  • Method InventoryContents#move was removed because there is method InventoryContents#updatePosition.
  • The inventory can now be permanently cached using the #permanentCache method.
  • RyseInventory now offers an implemented AnvilGui! More details here: https://wiki.ryseinventory.de/classes/anvilgui
  • The bottom inventory is now canceled by default. To disable this there is a method #ignoreClickEvent

Changelog v1.5.5

17 Dec 15:36
9216693
Compare
Choose a tag to compare

Changelog v1.5.5:

  • There is now the method InventoryContents#updateMaterial
  • Removed #manager, #setData, #getData, #clearData and #removeData method
  • Methods documentation partially revised