
SuperMartijn642's Core Lib
SuperMartijn642's Core Lib adds lots of basic implementations that allow for similar code between different Minecraft versions!
Автор: SuperMartijn64219,4 млн807обновлён 14 окт. 2026 г.
Библиотеки
Описание

SuperMartijn642's Core Lib adds lots of basic implementations for guis, blocks, tile entities, and network packets that allow for similar code between Minecraft 1.12, 1.14, 1.15, 1.16, 1.17, 1.18, and 1.19!
FAQ
Can I use your mod in my modpack?
Yes, feel free to use my mod in your modpack
Discord
For future content, upcoming mods, and discussion, feel free to join the SuperMartijn642 discord server!

Последние версии
Все версии →release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc26.214 окт. 2026 г.886Minecraft: 26.2forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 65.1.4
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- `Widget` backgrounds are now rendered earlier, in the same way as vanilla menu background, for improved mod compatibility
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Added support for vanilla z rotation in `BlockStateGenerator`
- Added support for material `force_translucent` property in `ModelGenerator`
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21b
- Fixed `ClientRegistrationHandler` item model overwrites not working due to accessing item components too early
### SuperMartijn642's Core Library 1.1.21a
- Fixed crash on dedicated server when receiving a packet through `PacketChannel`
## Update to Minecraft 26.2
## Update to Minecraft 26.1
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18
- Initial release of SuperMartijn642's Core Library for Minecraft 1.21.11
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc26.114 окт. 2026 г.430Minecraft: 26.1, 26.1.1, 26.1.2forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 64.1.4
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- `Widget` backgrounds are now rendered earlier, in the same way as vanilla menu background, for improved mod compatibility
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Added support for vanilla z rotation in `BlockStateGenerator`
- Added support for material `force_translucent` property in `ModelGenerator`
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21b
- Fixed `ClientRegistrationHandler` item model overwrites not working due to accessing item components too early
### SuperMartijn642's Core Library 1.1.21a
- Fixed crash on dedicated server when receiving a packet through `PacketChannel`
## Update to Minecraft 26.1
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18
- Initial release of SuperMartijn642's Core Library for Minecraft 1.21.11
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc1.21.1114 окт. 2026 г.728Minecraft: 1.21.11forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 61.2.2
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- `Widget` backgrounds are now rendered earlier, in the same way as vanilla menu background, for improved mod compatibility
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Added support for vanilla z rotation in `BlockStateGenerator`
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18
- Initial release of SuperMartijn642's Core Library for Minecraft 1.21.11
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc1.21.1014 окт. 2026 г.164Minecraft: 1.21.9, 1.21.10forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 60.1.16
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- `Widget` backgrounds are now rendered earlier, in the same way as vanilla menu background, for improved mod compatibility
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
- Added packet direction restrictions to `PacketChannel`
### SuperMartijn642's Core Library 1.1.18
- Initial release of SuperMartijn642's Core Library for Minecraft 1.21.9 & 1.21.10
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc1.21.714 окт. 2026 г.88Minecraft: 1.21.7, 1.21.8forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 58.1.24
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- `Widget` backgrounds are now rendered earlier, in the same way as vanilla menu background, for improved mod compatibility
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18d
- Fixed `Widget` screens using horizontal instead of vertical scrolling
### SuperMartijn642's Core Library 1.1.18c
- Fixed custom rendering in guis not showing when Iris is installed
### SuperMartijn642's Core Library 1.1.18b
- Fixed vanilla tooltips being offset in `ContainerWidgetScreen`
### SuperMartijn642's Core Library 1.1.18a
- Added picture in picture renderer registration through `ClientRegistrationHandler`
- Added picture in picture state submission in `GuiGraphicsHelper`
- Added method to submit arbitrary rendering to `GuiGraphicsHelper`
- Fixed `GuiGraphicsHelper#submitTooltipForTopStratum` not using matrix stack transformations
### SuperMartijn642's Core Library 1.1.18
- Initial release of SuperMartijn642's Core Library for Minecraft 1.21.7
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc1.21.614 окт. 2026 г.46Minecraft: 1.21.6forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 55.1.16
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- `Widget` backgrounds are now rendered earlier, in the same way as vanilla menu background, for improved mod compatibility
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18d
- Fixed `Widget` screens using horizontal instead of vertical scrolling
### SuperMartijn642's Core Library 1.1.18c
- Fixed custom rendering in guis not showing when Iris is installed
### SuperMartijn642's Core Library 1.1.18b
- Fixed vanilla tooltips being offset in `ContainerWidgetScreen`
### SuperMartijn642's Core Library 1.1.18a
- Added picture in picture renderer registration through `ClientRegistrationHandler`
- Added picture in picture state submission in `GuiGraphicsHelper`
- Added method to submit arbitrary rendering to `GuiGraphicsHelper`
- Fixed `GuiGraphicsHelper#submitTooltipForTopStratum` not using matrix stack transformations
### SuperMartijn642's Core Library 1.1.18
- Initial release of SuperMartijn642's Core Library for Minecraft 1.21.6
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc1.21.514 окт. 2026 г.84Minecraft: 1.21.5forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 55.1.16
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23b
- Added workaround for guis not rendering correctly when ImmediatelyFast is present
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18a
- Fixed `Widget` screens using horizontal instead of vertical scrolling
### SuperMartijn642's Core Library 1.1.18
- Initial release of SuperMartijn642's Core Library for Minecraft 1.21.5
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc1.21.414 окт. 2026 г.106Minecraft: 1.21.4forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 54.1.20
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23b
- Added workaround for guis not rendering correctly when ImmediatelyFast is present
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18a
- Fixed `Widget` screens using horizontal instead of vertical scrolling
- Fixed crash when mods bake models outside vanilla model baker
### SuperMartijn642's Core Library 1.1.18
- Fixed `TextFieldWidget` allowing one more character than the max length
### SuperMartijn642's Core Library 1.1.17c
- Fixed models from model consumer not getting loaded
- Fixed model overwrites not getting applied
### SuperMartijn642's Core Library 1.1.17b
- Fixed `BaseBlock` not dropping anything when using default drops
### SuperMartijn642's Core Library 1.1.17a
- Fixed crash on dedicated server
### SuperMartijn642's Core Library 1.1.17
- Initial release of SuperMartijn642's Core Library for Minecraft 1.21.4
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc1.21.314 окт. 2026 г.58Minecraft: 1.21.2, 1.21.3forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 53.1.14
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24b
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24a
- Fixed `tag_populated` resource condition always failing on first resource reload
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23b
- Added workaround for guis not rendering correctly when ImmediatelyFast is present
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18a
- Fixed `Widget` screens using horizontal instead of vertical scrolling
### SuperMartijn642's Core Library 1.1.18
- Fixed `TextFieldWidget` allowing one more character than the max length
### SuperMartijn642's Core Library 1.1.17a
- Fixed `BaseBlock` not dropping anything when using default drops
### SuperMartijn642's Core Library 1.1.17
- Initial release of SuperMartijn642's Core Library for Forge 1.21
release
SuperMartijn642's Core Lib 1.1.25a
1.1.25a-forge-mc1.2114 окт. 2026 г.1,1 тыс.Minecraft: 1.21, 1.21.1forge
Что нового
### SuperMartijn642's Core Library 1.1.25a
- Account for changes in Forge 52.1.18
### SuperMartijn642's Core Library 1.1.25
- Main widget for `WidgetScreen` and `WidgetContainerScreen` can now be offset rather than always centered
- Added `Widget#right` and `#bottom`
- Fixed `ObjectBaseWidget#left` and `ObjectBaseContainerWidget#left` returning width instead of left
### SuperMartijn642's Core Library 1.1.24a
- `TextComponents#block` now lets the block create the text component rather than using its translation key
### SuperMartijn642's Core Library 1.1.24
- Fixed `CustomSlot` hover check area being 2 pixels too large
### SuperMartijn642's Core Library 1.1.23b
- Added workaround for guis not rendering correctly when ImmediatelyFast is present
### SuperMartijn642's Core Library 1.1.23a
- Fixed code for adding items to creative groups scaling with #total items * #total groups, thus being extremely slow when there's many mods
### SuperMartijn642's Core Library 1.1.23
- Added `#getWidget` method for `WidgetScreen` and `WidgetContainerScreen`
- Fixed multipart conditions not being flattened correctly in `BlockStateGenerator`
### SuperMartijn642's Core Library 1.1.22
- Fixed `InteractionFeedback#pass` using `SUCCESS` instead of `PASS`
- Fixed `ElementBuilder#shape` having one parameter as an int instead of float
- Fixed `BaseBlockItem#useOn` returning `CONSUME` instead of `FAIL` when a block cannot be placed
### SuperMartijn642's Core Library 1.1.21
- Fixed client not being updated when `BaseBlockEntity#writeClientData` returns empty tag
### SuperMartijn642's Core Library 1.1.20
- Added `Widget#cursor` to change the cursor when hovering a widget
- Added `ScrollbarWidget` for creating a configurable scrollbar
- Added `ScissorWidet` that restricts rendering and input handling of child widgets to its bounds
- Added `CustomSlot` for creating container slots
- Added `AbstractButtonWidget#isClickable` and `AbstractButtonWidget#setActive`
- Improved `BaseWidget` focus handling
- Fixed `GuiGraphicsHelper#submitCustomRendering` not respecting active scissor
- Fixed child widgets not getting unfocused when focused widget changes
- Fixed output from `BlockStateGenerator`, `ModelGenerator`, and `TagGenerator` not being consistent
### SuperMartijn642's Core Library 1.1.19
- Added additional properties to `BlockProperties` to match vanilla
### SuperMartijn642's Core Library 1.1.18a
- Fixed `Widget` screens using horizontal instead of vertical scrolling
### SuperMartijn642's Core Library 1.1.18
- Fixed `TextFieldWidget` allowing one more character than the max length
### SuperMartijn642's Core Library 1.1.17f
- Fixed data component types not getting registered on Forge 52.0.17 and newer
### SuperMartijn642's Core Library 1.1.17e
- Added registry wrapper for criterion trigger types
### SuperMartijn642's Core Library 1.1.17d
- Fixed tag-dependent recipe conditions not working
### SuperMartijn642's Core Library 1.1.17c
- Fixed `RecipeGenerator` not applying resource conditions
### SuperMartijn642's Core Library 1.1.17b
- Fixed `LootTableGenerator` errors with custom enchant functions
### SuperMartijn642's Core Library 1.1.17a
- Fixed `CommonUtils#getRegistryAccess` returning nothing when in a multiplayer world
### SuperMartijn642's Core Library 1.1.17
- Initial release of SuperMartijn642's Core Library for Forge 1.21