github SpongePowered/SpongeAPI v5.1.0
Release 5.1.0

latest releases: v10.0.0, v8.2.0, v9.0.0...
7 years ago

Summary of changes since API 5.0.0 release:

  • Minor changes to default implement PluginContainer#getMinecraftVersion
  • Add isMainThread check for server threadedness
  • Update RespawnPlayerEvent to handle player cloning during respawn
  • Add methods to ChannelRegistrar for getting existing channels
  • Add AreaEffectCloudData for manipulating AreaEffectClouds
  • Add Minecraft container to Platform
  • Add NamedCause 'HitTarget' for events targeting a block or an entity
  • Add #getTargetPos and #isUsingBlock to TabCompleteEvent
  • Add More NamedCauses for ChangeBlockEvent.Pre
  • Add LocatableBlock for location based events where a snapshot is unnecessary
  • Add NamedCause for block decay
  • Make EnderDragon a ProjectileSource to launch DragonFireballs
  • Add BlockState.StateMatcher for matching BlockStates specific values
  • Provide CatalogtypeAlreadyRegisteredException a useful message
  • Add methods to CompositeValueStore and ValueContainer to require a value returned
  • Add ChunkTicketManager#loadingTicket#getCompanionData() for mod compatibility
  • Improve event generation performance. All events are pre-compiled for the project.
  • Fix all checkstyle issues and codestyle issues
  • Enhance DataTransactionResult with some functional methods for consumers and throwing exceptions
  • Add spectator controlling methods to Player
  • Add API to simulate Player chatting

All of this is a minor addition for API 5. API 5 is the last major release to target Minecraft 1.10.2
as API 6 requires deprecation changes and some minor breaking changes to target Minecraft 1.11.2 feature
changes.

Signed-off-by: Gabriel Harris-Rouquette gabizou@me.com

Don't miss a new SpongeAPI release

NewReleases is sending notifications on new releases.