Skip to content

2.2

Choose a tag to compare

@Ontey6 Ontey6 released this 10 Jun 20:20
· 9 commits to master since this release

2.2

  • Added an Input and PlayerInput interface and an implementation for dialogs (DialogPlayerInput)
    It makes getting text and other kinds of input easy and has support for custom types.
  • ItemBuilder API:
    • Removed convertsTo(), effect() and effects() from FoodComponentBuilder as these methods don't exist
      anymore in 26.1.2.
    • Deprecated customModelData() and fireResistant() for removal as they don't exist anymore in minecraft and are
      deprecated in paper.
    • Added itemModel() methods. Item models replaced custom model data (some time ago already...).
    • Added customModelDataComponent() and useCooldownComponent() methods (see docs for more information)
    • Made name() use meta.customName() as meta.displayName() is obsolete.
    • Added more documentation
    • Deprecated methods that use Strings where Components could be used instead for removal.
  • Removed previously deprecated color classes LegacyColor, LegacyHexColor, MinecraftColor and RgbTagColor
    as they all use an old API which uses section signs (§) that only allow a few preset colors and are less readable
  • Added a currently unused enum SynchronizationType for sync and async operations
  • Added a new formatter API that uses mini-message's TagResolver system.
  • Updated paper dependency to version 26.1.2
  • Now uses paperweight-userdev for possible NMS access
  • Deprecated the CommandRegistrationEvent. Read its documentation for the reason.
  • Removed the recommendation to use paper-plugin.yml in README.md as it's irrelevant for this project;
    doesn't specifically need it or have any (optional) features that require it
  • Reformatted entire project using IntelliJ's Reformat Code tool.
  • Added TagAPI in formatting package