Skip to content

Release 2.0.0

Choose a tag to compare

@leo18bernese leo18bernese released this 24 May 09:25

⚠️With the v2 version of Utils, we have made significant changes to the code structure, requiring to do many changes especially in the ItemBuilder methods.

  • refactor NumberUtil to log conversion errors and return default values
  • add JsonUtils class for JSON array conversion utility
  • minor changes/optimization
  • add requestConfirmation methods for player command execution confirmation
  • add ifEnabled method to HookManager for conditional plugin execution
  • handle null world in Location serialization
  • marked name variable as deprecated and world as nullable in Region class. if would is null, Region#getBlocks return an empty array list
  • add PotionUtils utility class for potion effect management
  • refactor to use Lombok's Accessors and remove redundant setter methods