I. Additions
- Inherit AlgorithmLib library
- New methods:
+ BlockUtils#rotateFace(BlockFace face, double angle)
+ VaultUtils#addPermission(OfflinePlayer player, String permission)
+ VaultUtils#addPermission(String world, OfflinePlayer player, String permission)
+ VaultUtils#removePermission(OfflinePlayer player, String permission)
+ VaultUtils#removePermission(String world, OfflinePlayer player, String permission)
+ VaultUtils#addPermissionGroup(OfflinePlayer player, String group)
+ VaultUtils#addPermissionGroup(String world, OfflinePlayer player, String group)
+ VaultUtils#removePermissionGroup(OfflinePlayer player, String group)
+ VaultUtils#removePermissionGroup(String world, OfflinePlayer player, String group)
+ Table#find(E obj)
+ Paginator#current()
+ Paginator#pages()
+ Paginator#size()
+ Cooldown#elapsedTime()
+ TimeUnit#format(TimeUnit unit, double duration, TimeUnit[] formattedUnits)
- New element for annotation DataField: oldNames (optional). It can be used to determine old field names.
- Added ImmutableTable
II. Changes
- Optimized LocationUtils#loc2str()
- BlockUtils#getNearbyBlocks: changed the return type from list to array
- LocationUtils#getNearbyLocations: changed the return type from list to array
- Renamed VaultUtils#reset() to VaultUtils#resetBalance()
- Renamed the field Cooldown#current to Cooldown#lastTime. Old serialized data still can be used
- Recoded almost parts of MaterialUtils to improve the performance and support older Minecraft versions
- Removed Paginator#min(), Paginator#max()
- Removed TimeUnit#format(TimeUnit origin, long duration, TimeUnit min, TimeUnit max)
- Removed TimeUnit#format(TimeUnit origin, long duration, TimeUnit min, TimeUnit max, TimeUnit... ignore)
III. Fixes
- Fixed #25: CommandBuilder#sendHelpMessages got errors below 1.12
- Fixed Paginator did not work properly