Migrating to 3.0.0

Full changes from 2.2.0 to 3.0.0 can be found here.

  • To be yet explained in detail. Meanwhile you can check rest of the documentation!

Here is a small summary of all the changes that happened in 3.0.0:

  • DynamicHudIntegration was updated to now use DynamicHudConfigurator and methods such as getMoveableScreen() ,initAfter(), registerWidgets() , and so on, were removed and merged inside DynamicHudConfigurator.

  • Configuring WidgetRenderer is done through DynamicHudConfigurator.

  • GraphWidget was added to draw visually pleasant graphs and show the simplicity of DynamicHUD yet its powerful nature to add complex widgets.

  • DynamicValueWidget was added

  • Options now have variable complexity (Simple, Enhanced, Pro) to help reduce and make customization categorized for different people.

  • DynamicValueRegistry was updated to simplify registry handling.

  • AbstractMoveableScreeen no longer handles context menu or widget rendering. Its solely done by the widget and widget-renderer

  • ContextMenu has been heavily rewritten to support skin system (theming), properties of context menu are grouped under ContextMenuProperties.

  • ContextMenuManager now handles rendering and mouse inputs of context menu which is provided by ContextMenuProvider . Every class that wants to use ContextMenu must implement the ContextMenuProvider interface and register itself via ContextMenuManager.getInstance().register()

  • Skin System may also make use of ContextMenuScreenFactory like in ModernSkin or Minecraft Skin.

  • 3 skins are provided by DynamicHUD: ClassicSkin , MinecraftSkin, ModernSkin

  • AnimationHelpers have been added to make it easier for managing and applying various types of animations for developers.

  • Internally: DynamicHUD now manages integrators via the IntegrationManager.

  • Internally: DynamicHUD uses a DefaultIntegrationImpl that is used to register in-built widgets: GraphWidget , TextWidget, ItemWidget, and so on.

Last updated

Was this helpful?