Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@DatAsianBoi123 DatAsianBoi123 released this 02 Nov 02:31
· 4 commits to master since this release
11865c3

Breaking Changes

  • Class command.CommandSource got moved to command.source.CommandSource

New features

  • Created many new argument types
    • WORLD - a loaded world
    • ENTITY - any entity
    • LIVING_ENTITY - any living entity
    • SPAWNABLE_ENTITY - any entity that is not a player
    • LOOT_TABLE - a loot table
  • Created 2 new command sources
    • Locatable - any command sender that can be located, like an entity or a command block
    • Command block - a command block

Improvements

  • Greatly improved error messages
    Old error:
    old error
    New error:
    new error
  • CommandCore#createSource is now an actual factory method

Bug fixes

  • Fixed bug with commands without descriptions
  • Gave the created root command a description if the root command isn't in your plugin.yml