Skip to content

Release bomb.

Compare
Choose a tag to compare
@Hempfest Hempfest released this 05 Sep 02:57
· 140 commits to master since this release
cc4c1d8
  • Moved pagination related stuff from InventoryElement to InventoryElement.Paginated
  • Renamed PagedPlayer to MenuViewer
  • Added relative InventoryElement access to respective menu types
  • Changed loader source from plugin to any object type in Registry
  • Added new annotation LabeledAs for labeling VentListener's (if key contains 'test' method invocation obsoletes and debugs)
  • Added functionality to the ControlType enum.
    It now has default click implementations for common use cases. These are assigned automatically with ItemElement#setType. Also, there is an option to merge the default behaviour with a custom action. In accordance with these changes, adapted the ItemElement() constructor to delegate to the ItemElement(data) constructor, where a new default type, ItemElement.ControlType.DISPLAY, is set.
  • Fixed gradient colors not properly displaying in text component meta.
    For the longest time this has been an issue and its now resolved!
  • Added Service.java inheritance to all default Labyrinth services from LabyrinthAPI
    Custom services can be used/loaded into the manager.
  • Added public group list to Group.java
    Group.LIST - A list of all known groups
  • Optimized material matcher in Items.java replacing Items#getMaterial with Items#findMaterial
  • New utility for efficient random hex coloring! RandomHex
  • New small service manager for loading/using services similar to VentMap w/ ServiceManager
  • Added MagicConstant information to UpdateChecker for IDE's
  • Added random color generation to DefaultColor.java
  • Added inheritance Runnable to Applicable.java and moved .apply to .run
    This way any thing that takes a runnable will work with applicables
  • Added easy access service getter to LabyrinthProvider.java
    LabyrinthProvider#getService(ServiceType<? extends Service> type) is now here!
  • Fixed vent listener exception handling
  • Finalized Node interfacing with parsing from Primitive.java
  • Added new annotations Note & Experimental
  • Fixed services not properly casting upon retrieval
  • Added for each to AnnotationDiscovery and added Iterable inheritance
  • Added new Consumer like interface WideConsumer.java for double value applications that require no return value.
  • Added new read/write methods to FileManager
  • Filled in javadoc
  • Cooldown.java now uses json for data storage for quicker read/write
    master
  • Changed the internal behaviour of listener creation, caching, and execution for improving runtime and functionality.
  • Finished new FileManager overhaul w/ Configurable abstraction delegation.
    Configurable abstraction complete with full file support functionality
  • RandomHex fully serializable w/ both Yaml & Json
  • Added ConfigurationSerializable like interfacing with JsonAdapter for easy json element serialization.
  • Finished Json file support!!
  • Marked methods in FileManager deprecated to be removed next patch! Get used to Configurable!
  • Added component creation to StringUtils
  • Marked Items.getMaterial deprecated, being replaced with Items.findMaterial to instead heavily suggest inquiry aswell as search smarter for matches.
  • Added new method isNew to LegacyCheckService for 1.16-17 verification.
  • Added a new annotation type compatible with @subscribe, which will make it possible to catch and handle return values of listeners.
    The redirections are defined recursively, so that the workflow doesn't stop if you don't want it to stop. Also, you are able to pass return values to multiple methods with one annotation instead of 10 subsequent calls.
  • 9/7/21 - Updated jar due to slight issue with file stream reading not allowing the deletion of files in use.