
McLib 2.0
mchorse opened this issue ยท 0 comments
New stuff
- Add
Icon
API for easier icon rendering - Add configuration API to allow easier management of global config options
- Add references to original category and config instances
- Add some appearance related McLib configuration
- Primary color (allows to change color of button backgrounds, etc.)
- Toggle for element borders (allow to disable/enable borders for buttons and other elements)
- Background color and image options
- Model renderer's grid option instead of grass block
- Toggle check box rendering instead of toggles
- Make config options show up in the order they were added
- Add a
GuiUtils.openWebLink(String)
- Add list sorting feature (suggested by Frtc and Chunk7)
- Add a method to return keybinds within GUI (and add help rendering menu)
- Add a possibility to register keybinds within GUI elements
- Add context menu (on right clicking) API
- Add active element switching to the next by pressing tab
- Doesn't work sometimes with nested elements, needs investigation
- Add color picker element
Changes
- Rewrite GUI element hierarchy (introduce parent-child)
- Rewrite GUI element input (introduce GUI context)
- Rewrite key handling (from plain
void
to cancel-ableboolean
) - Rewrite list elements to support multi select
- Rewrite old wrapper elements:
- Rewrite
GuiTrackpadElement
- Rewrite
GuiButtonElement
into their ownGuiClickElement<T>
subclasses-
GuiButton
->GuiButtonElement
-
GuiTexturedButton
->GuiIconElement
-
GuiCheckBox
->GuiToggleElement
-
GuiCirculate
->GuiCirculateElement
-
- Rewrite
GuiSlot
andGuiInventory
- Slightly adjust the code for easier use (with no copy paste)
- Make sure that all of these wrappers support locked input (
enabled = false
) indicators
- Rewrite
- Move
MatrixUtils
from Blockbuster - Move pickable
GuiModelRenderer
from Blockbuster - Move mouse cursor rendering code from Aperture
Fixes
- Fix
Interpolations.envelope
to not go above and beyond in negative directions... - Fix language strings updating with resource packs problem