Geyser
Geyser copied to clipboard
let extensions specify geyser api version instead of base api version
Relies on https://github.com/GeyserMC/api/pull/2
Changes:
- added geyserApiVersion() to Geyser API, which returns a ApiVersion class with a built in version compatibility check
- Extensions are checked against Geyser API version now to prevent crashes when trying to load extensions using newer api than is provided - to account for the old way, we check if the version is 1.0.0.
Bumping the base api version seems to have fixed building.
Needs rebase or merge
~~Merge once https://github.com/GeyserMC/api/pull/6 is merged - not merging now as the api/2.4.1
branch wont build if i do~~ API publishing works now; merging