Skip to content

Conversation

@Dragon-Seeker
Copy link
Member

@Dragon-Seeker Dragon-Seeker commented Sep 8, 2025

This PR attempts to update owo's built-in ItemGroup to be instead an extension on top of Vanillas ItemGroup to be more compatible with other mods and have better handling for Client/Server code.

Features:

  • Adjust OwoItemGroup to be an extension stored on the ItemGroup, with now the needing to use the OwoItemGroupBuilder to either create/modify an ItemGroup, meaning any ItemGroup can be easily modified in code to be an OwoItemGroup
  • Icons are now data objects with required IconRender to be registered in IconRendererRegistry
  • OwoItemGroupState handles all states for active tabs and accessing the given entries for a given OwoItemGroup
  • [NEW] A given ItemGroup can now be given CondensedEntry based on Bedrock's feature, where a given collection of stacks is toggable to either hide or show with a cycling icon
  • Data-driven OwoItemGroup's are now more feature-rich and remove the dangerous replacement of the original item group and load on both client and server

…ension of a ItemGroup

- Adjust Icons to be more date driven for use in data driven manipulation of item groups
- Separate state from item group to allow for proper state on client vs server
- Adjust data format for item groups to allow for more features and use endec
- Inject owo extensions on server and client
- Use item groups registry key rather than item group it self for Item settings
…esides tabs and enable support for condensed entries

- Rework DispatchedEndec to use a builder for all the configurable values
- Adjust Icon to allow for typeless data decoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant