Skip to content

feat!: JPMS for net.minestom.data#54

Open
kermandev wants to merge 2 commits intomasterfrom
jpms
Open

feat!: JPMS for net.minestom.data#54
kermandev wants to merge 2 commits intomasterfrom
jpms

Conversation

@kermandev
Copy link
Member

Currently net.minestom.data sits in the unnamed module which is incorrect. This change adds JPMS support to data and moves the data into /net/minestom/data. Which is a breaking change for any library that requires it in the unnamed module and flattened.

Migration:
MinestomData.class.getResourceAsStream(String) -> MinestomData.resource(String)

Changes data path to net/minestom/data to be resolved inside the module. This would break anything that may be relying on another method of retrieving the data as it wouldnt be available anymore.
TLDR: Required to move MinestomData.class.getResourceAsStream(String) to MinestomData.resource(String)
@kermandev kermandev changed the title Use JPMS for data feat!: JPMS for net.minestom.data Mar 8, 2026
@kermandev kermandev mentioned this pull request Mar 9, 2026
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