Skip to content

Releases: SpongePowered/SpongeAPI

v11.0.0

16 Jun 20:32
1460c68
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v10.0.0...v11.0.0

v10.0.0

02 Sep 22:08
8b74231
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v9.0.0...v10.0.0

v8.2.0

02 Sep 21:50
09a9034
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.1.0...v8.2.0

Release v9.0.0

19 May 17:37
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.1.0...v9.0.0

Release v8.1.0

19 May 17:04
Compare
Choose a tag to compare

What's Changed

  • New dependency: MiniMessage is now available as part of SpongeAPI for text templating. See the Kyori docs for more on how to use MiniMessage.
  • World management updates, including the ability to name worlds and grab worlds of a specific type easily
  • Added being able to get the entity type that a spawn egg will produce
  • Added the ability to grab inventory titles and the menu it was built off, if available
  • Make ItemStack also implement HoverEventSource by @zml2008 in #2414
  • Expose BlockState string representation by @Yeregorix in #2425

New Contributors

Full Changelog: v8.0.0...v8.1.0

Release v8.0.0

08 Jan 23:05
Compare
Choose a tag to compare

SpongeAPI 8 is our new API version for Minecraft 1.16.5.

See our status update here

What's Changed

Read more

Release v7.4.0

28 Nov 19:38
Compare
Choose a tag to compare

This is the final API release for the API 7.x series (for Minecraft 1.12.2)

The highlights are:

  • Add getWorldUUID to SaveChunkEvent
  • Bump configurate to 3.7.2
  • Add missing locked field in Score
  • Add missing scoreboard criteria
  • Expose entity tags

Release v7.3.0

30 Aug 15:18
Compare
Choose a tag to compare

Some of the highlights of this build are:

  • Updated Configurate to 3.7.1.
  • Added totem particle effect to ParticleTypes.
  • Added SerializationBehaviors.METADATA_ONLY as a world serialisation type, meaning you can create worlds where chunks are not saved - good for game worlds that require resetting between rounds by just unloading and reloading them.
  • Added select and whilst to BlockRay to make how to use a block ray clearer.
  • Added a SaveChunkEvent.
  • Added an inbuilt Placeholder system for storing and using text tokens across plugins without the need for an external dependency.
  • Added ability to see which flags were used in a command via the CommandContext.
  • Added isAvailable to Location for checking if a Location's Extent is still valid.
  • Deprecated some methods on KickPlayerEvent and completely deprecated LaunchProjectileEvent.
  • Minor updates to some Javadocs.

Release v7.2.0

29 Mar 12:15
Compare
Choose a tag to compare

Some of the highlights are (this is not an exhasutive list):

  • New Data manipulators
    • PlainPagedData for unsigned books
    • ActiveItemData to access the item a Living entity is currently using
    • PotionTypeData and associated PotionType for getting the type of a potion
    • PotionColorData for getting the color of a potion
    • TargetedEntityData for use with ShulkerBullets
    • DisabledSlotsData for ArmorStands
    • AccelerationData for Fireballs
  • Various event additions and updates
    • Added UpdateAnvilEvent
    • Updated ChangeEntityEquipmentEvents
    • Added ClickInventoryEvent.Creative
    • Added PlayerSoundEvents
    • Added Position and Rotation subevents for MoveEntityEvent
    • Added many EventContextKeys
      • Many block event keys were added
      • USED_HAND has been added for interact events
  • Service updates
    • ContextualServices have been updated with better documentation
    • EconomyService now supports account deletions
  • Minor command updates
    • Added GenericArguments#requiringPermissionWeak
    • Added ability to filter commands based on source permission
    • Make the PatternMatchingElement not use regex by default for simpler matching, allowing elements containing [] to be matched with ease
  • Add Shulker and ShulkerBullet intefaces for representing these entities
  • Added Text replacement and removal methods
  • Updated Metrics collection states
  • Upgrade of the Sponge Schematic format to v2
  • Transactions now contain any intermediary transactions that took place to explain how a transaction came to be
  • Ability to get and set the phase of an active EnderDragon
  • Update Configurate to version 3.7

Release 7.1.0

07 Sep 02:40
v7.1.0
ff990df
Compare
Choose a tag to compare

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: