hammy275 / mc-vr-api

An API to allow mod developers to see VR player data from Vivecraft.
GNU Lesser General Public License v3.0
8 stars 0 forks source link

System to Make Optional #4

Closed hammy275 closed 2 years ago

hammy275 commented 2 years ago

If a mod wants to integrate this API, they should be able to do so without making the mod mandatory for players. This way, mods can be enhanced with VR, and the API can be left out if no one is going to be in VR on a server.

hammy275 commented 2 years ago

Initial add to https://github.com/hammy3502/mc-vr-api/commit/3224e2a870f6c9ca1003db04910c17ebecf32da1 . Haven't yet tested with an actual external mod, but that is currently in-progress!

hammy275 commented 2 years ago

README has been updated in https://github.com/hammy3502/mc-vr-api/commit/be2277e886e66f06baf95dfd0cbd3448f938935e to have instructions to do this properly!