Fluid API icon

Fluid API -----

A Spigot API designed to make plugin development a breeze




- Fixed a bunch of issues relating to the FluidListener not working
- Removed another accidental debug message

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to beta-0.6.4. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Sep 29, 2021

- Fixed a bug stopping the FluidListener from working
- Fixed a bug relating to the FluidCommand class
- Removed accidental debug message in FluidCommand class
- Added some new methods to the Group class

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to beta-0.6.3. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Sep 29, 2021

- Completely overhauled the fluid listener. It is now the same as the old group subclass except you don't need to annotate each method with @EventHandler
- You can now create separate delays and priorities for each event in a listener by using the @EventData method annotation
- Completely redesigned the command system. Commands can now also be created through the @CommandHook method annotation
- Completely overhauled the task system. You may now use one FluidTask class with the appropriate run methods and runnable method overrides
- You can now create and manage holograms using the fluid hologram class
- Cleaned up the fluid command class
- Moved some non-server related utility methods to a new java utils class
- Added some more handy methods to the util classes
- Added set particle and location methods to fluid particle class
- Removed chat prefix methods/constructor from fluid plugin class
- Added global chat prefix methods to fluid message class
- Chat prefix now has the default value: "[PLUGIN NAME] "
- You no longer need to specify the plugin name when registering a plugin
- You can now create a list of command arguments from a set of strings
- Removed redundant type subclass in task classes
- Removed redundant fill array methods in utils class
- Renamed fluid group class to fluid team
- Changed loot table builder class name to builder
- Renamed get action type method in utils class to get action value to better match the return type
- Fixed a bug where the plugin prefix wouldn't be displayed when a message was sent to the console
- Probably a few other things so minuscule I forgot what they are

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to beta-0.6.2. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Sep 15, 2021

- You can now create, delete, and manage worlds using the fluid world class
- You can now easily create and manage particles with the fluid particle class
- You can now register interact, drop, and pickup events directly in a fluid item
- Added hex colour code support to messages - the to color method also supports this
- Added player jump event
- Added the ability to add exclusions to command tab arguments
- Added on complete methods to most tasks
- Added remove parent method to command tab argument class
- Added equals ignore amount method to fluid item class
- Renamed the fluid loot entry class to entry and moved it into the fluid loot class
- Changed the default interval tick for the step animation type for schematics from 2 to 1
- Spawners are now placed and set at once to avoid incorrect entity spawning
- Moved all tasks into the new tasks package - this could break some project imports
- Fixed a bug making the get latest version method in the fluid plugin class return null
- Fixed a bug where entities/inventories would spawn at the wrong time when using the step animation type when pasting schematics

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to beta-0.5.0. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 24, 2021

- You can now check the version of the plugin in the fluid plugin class
- Added return type support for tasks
- Added asynchronous task class
- Added asynchronous support to tasks
- Added round method (to decimal places) in fluid utils class
- Added colour code support for chat prefix
- Added colour code support for subtitles
- Changed some internal methods of the delayed task class
- Fixed a bug where you sometimes couldn't shift-click inventory items when not in a gui

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.4.7. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 21, 2021

- Added action support for fluid messages
- Added functionality for parented command arguments
- You can now specify arguments for fluid messages in the send() method. At the moment, this is only used for displaying titles
- Replaced left/right click gui item method with onClick() and getClickType()
- The click method in items within fluid guis is now optional
- Replaced draggable variable in the fluid gui class with canTakeItems
- Added canAddItems variable in the fluid gui class
- Added unregister method to fluid gui class to unregister the draggable listener
- Added data container methods to the fluid player class
- Added remove data methods for all classes with container data
- Static entity/player/block container methods now return the object
- Fluid guis are now non-draggable by default
- Fixed null item exception in fluid guis
- Fixed a bug where you couldn't pick up items in your own inventory when using a non-draggable fluid gui
- Fixed a bug where item click methods wouldn't be called if the gui was draggable

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.4.5. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 17, 2021

- Added get receivers method to the fluid message class
- Added get message method to the fluid message class
- Added another remove flags method to the fluid item class
- Fixed non-static form of add enchantment glow method in fluid item class
- Fixed the lack of the build method in the fluid head class

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.4.1. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 15, 2021

- You can now make your own programmable guis using the fluid gui class
- You can now make your own animated boss bar using the fluid bar class
- Added argument support for commands
- Added group support for fluid listeners for multiple instances of events. For more advanced functions like delaying events, it is still recommended to use the standard fluid listener class.
- Added fluid block class
- You can now get the id of a task
- Added unregister method to fluid listener
- Fixed misspelling of 'receivers' in the fluid message class

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.4.0. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 10, 2021

- Fixed a bug where fluid listeners wouldn't trigger at all
- The fluid listener can now keep track of how many calls an event has
- Added set receivers methods to fluid message class
- Removed redundant set player and entity methods

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.3.1. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 8, 2021

- You can now get event data in fluid listeners
- Renamed some methods in fluid message class
- You can now use command sender as a receiver for a fluid message
- Reworked receiver system in fluid message class
- Renamed function method in task classes to run

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.3.0. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 7, 2021

- You can now register events in a simpler manner using the fluid listener class
- You can now create commands in a simpler manner using the fluid command class
- Added support for creating written books through the fluid book class
- You can now create a fluid item with a count
- You can now create a fluid item from an existing item
- Added support for adding players to a message by their name
- You can now instantiate a new fluid message with players pre-defined.
- Added remove players method to fluid message class
- Added remove player method to fluid message class
- Changed value of physical action in get action type method

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.2.9. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 7, 2021

For some reason, none of the changes listed in version pre-0.2.8 were published, so this pre-release contains all those listed additions plus an improvement to the fluid listener.

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.2.9. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 7, 2021

- You can now register events in a simpler manner using the fluid listener class
- You can now create commands in a simpler manner using the fluid command class
- Added support for creating written books through the fluid book class
- You can now create a fluid item with a count
- You can now create a fluid item from an existing item
- Added support for adding players to a message by their name
- Added remove players method to fluid message class
- Added remove player method to fluid message class
- Changed value of physical action in get action type method

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.2.8. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 6, 2021

Fixed a bug stopping a message from being sent to the console.

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.2.3. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 5, 2021

Fixed group id namespace.

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.2.2. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 5, 2021

Reverted Recipe class back to old format/methods.

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.2.1. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 5, 2021

Completely overhauled file structure and method placement. Now you must instantiate most classes.

Please note: since this API is still in heavy development, upgrading to a newer version could break your project's imports. You can choose to update to this version by changing the dependency version number to pre-0.2.0. If you wish to automatically update every time an update is released, change the dependency version number to main-SNAPSHOT.
----------, Aug 5, 2021

Resource Information
Author:
----------
Total Downloads: 632
First Release: Aug 4, 2021
Last Update: Sep 29, 2021
Category: ---------------
All-Time Rating:
2 ratings
Find more info at definedoddy.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings