With this release, SpongeAPI has a global MetricsConfigurationManager for specifying the configuration flags for plugins to determine whether metrics are enabled etc.
Full Changelog
Dependencies:
- Configurate version bump from 3.3 to 3.6
Additions:
- Timings#generateReport
- MetricsConfigurationManager
- BlockTrait#parseValue
- Add CommandArgs snapshots
- Add CommandContext#requireOne
- Add choicesInsensitive for command arguments
- Add Keys.INVULNERABILITY_TICKS and related data.
- Add ElytraFlying data
- Add CollectionValue#copy overrides for better usability of the values themselves to allow copying the value itself and the underlying collection. No guarantees are being made about the elements contained within the collection being copied.
- Add User#getPosition and other related position methods to allow offline user location manipulation.
- Added missing EventContextKeys to signify liquid physics during block events
- Added ClickInventoryEvent.Recipe and sub events
- Added Crafting events
- Added InventoryTransformations for allowing more expected transformation usage of inventories
- Added ItemStack#of(ItemType) to create a single sized item stack of that type
- Moved ItemStack comparators into the implementation
- This isn't a breaking change since the fields are still the same declarations, just the initialization is different. The implemented classes previously available were package private and not intended to be used outside the comparators.
- Add Chunk#getInhabitedTime()
Fixes:
- Fix space tokenizer with some added unit tests
- SpectralArrow is now an entity