ActionLib icon

ActionLib -----

Easily enables plugins to implement data-driven actions




Changes
Actions
Rewrote the entire Action system
Actions now support general, optional, nested, and required actions
Registering Actions or Requirements now requires the use of ActionLib#getActionRegistry and ActionLib#getRequirementRegistry
Renamed ActionMetadata to Metadata
AbstractAction implementations now use runAction instead of execute
Added ActionObject#getOptionalActions
Renamed ActionObject#getActions to ActionObject#getGeneralActions
Plugins must now use ActionLib#getActionObjectManager
Rewrote ActionObjectManager so that it supports storing and clearing based on JavaPlugin
General
Updated MinecraftVersion so that it supports both x.x and x.x.x version schemes
Moved actions to optic_fusion1.registry.action.impl
Added NMSUtils#forceRespawn
Added NMSUtils#sendCameraPacket
Added Utils#walkResources
Removed AnimationType#LEAVE_BED
Added ShowEntityViewAction
Added ChanceUtil
Added a Chance requirement
Bug Fixes
Fixed bug caused by not supporting 1.21 in MinecraftVersion
Moved EntityType.BEE in SpawnEntityAction to the FRIENDLY list
Fixed player_chat Action​

Join my Discord Server for support and announcements.
----------, Oct 31, 2024

Changes
  • Fixed ParticleParser error checking
Join my Discord Server for support and announcements.
----------, Oct 2, 2024

Changes
Developer Improvements
Added ability to reload default actions
Added "minimumVersion" and "requiresMinimumVersion" to ActionMetadata via the new MinecraftVersion class
Added the ability for actions to require a minimum spigot version
Added a basic ItemStackParser
Added a basic LocationParser
Added a basic ParticleParser
Added Utils#randomTeleport(retries, player, showTeleportParticles)
Added Utils#getEnumValue(enumClass, value)
Added Utils#assertField(jsonObject, field)
Added Utils#assertEnumType(enumClass, value)
Added ActionObject#getActions
Added ActionObjectManager#clear​
General Improvements
Added better error handling
The launch_entity action now supports launching a specific entity type
The play_sound action now allows you to specify the pitch and volume
The shuffle action now uses "shuffle_hotbar_only" instead of "inv_type"
The give_item action now supports a larger range of item customization
The teleport_player action now supports a larger range of teleportation and location customization
The trip action now allows you to customize the pickup delay​
New Actions
Added indicate_damage action
Added player_animation action
Added player_status action
Added scale_player action
Added set_block action
Added set_glowing action
Added spawn_tree action
Join my Discord Server for support and announcements.
----------, Sep 30, 2024

Changes (0.7)
  • Added SetExp action
  • Added SetDifficulty action
  • Changed how actions are coded
Changes (0.6)
  • Added Shuffle action
  • Entities now properly show custom names
  • Added Bee support
  • anger_ticks is now set properly
Join my Discord Server for support and announcements.
----------, Sep 25, 2024

Changes (v0.5)
  • Added SendTitle action
Changes (v0.4)
  • Added SendMessage action
  • Added ShowParticle action
  • Added SpawnEntity action
  • Fixed SetHealth action
  • Removed debug statements
  • TeleportPlayer action now supports spawn & world. The format has been updated to support this
Join my Discord Server for support and announcements.
----------, Jun 25, 2024

Resource Information
Author:
----------
Total Downloads: 91
First Release: Jun 10, 2024
Last Update: Oct 31, 2024
Category: ---------------
All-Time Rating:
0 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings