Skip to content

Lamp 3.0.6

Compare
Choose a tag to compare
@Revxrsal Revxrsal released this 11 Jun 09:18
  • Remove ktx module and migrate it to common
  • Add adventure APIs to Bukkit
    • BukkitCommandHandler#enableAdventure() and BukkitCommandHandler#enableAdventure(BukkitAudiences)
    • BukkitCommandActor#audience()
    • BukkitCommandActor#reply(ComponentLike)
    • Use Audience as a sender in commands
    • Returning Components from methods will be sent to the command actor
  • Add Kotlin extensions to Bukkit
    • bukkitCommandHandler {} DSL
    • brigadier {} DSL
    • CommandActor.sender: CommandSender
    • CommandActor.player: Player
    • CommandActor.playerOrNull: Player?
    • brigadier.bind<Type>(argumentType)
    • brigadier.bind<Type>(argumentTypeResolver)
    • brigadier.bind<Type>(String)