Skip to content

Update to 1.19.4.#129

Open
gniftygnome wants to merge 1 commit into
Draylar:1.19.2from
gniftygnome:1.19.2
Open

Update to 1.19.4.#129
gniftygnome wants to merge 1 commit into
Draylar:1.19.2from
gniftygnome:1.19.2

Conversation

@gniftygnome
Copy link
Copy Markdown

This requires the updated Magna here: Draylar/magna#28

  • Updated deps. Followed some simple vanilla changes.
  • Rewrote the Item Group implementation for 1.19.4 (will need a small change for 1.20).
  • Removed ItemGroupAccessor in favor of ItemGroups.getGroups()

I've tested Creative inventory and Survival crafting and block breaking, so I think the major features are intact. In some cases where I'm not certain exactly why something is the way it is I've tried to preserve existing behavior. The following items should probably be reviewed.

I'm not sure about changing HammerData.group to be an Identifier. This might affect an API and/or Magna. However, the String name of ItemGroups is only for display as far as I can tell.

I'm also not certain how to replace the functionality of ExtendedHammerItem.isIn(ItemGroup) which overrode a removed vanilla method and may have been the only reason for HammerData.group and HammerData.cachedGroup to exist.

@ghost ghost mentioned this pull request Aug 22, 2023
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