Fixed some issues and added some stuff
Changes
- Removed Bukkit detection (I couldn't make it work)
Fixes
- Pack doesn't load on versions prior to 1.21
- This is because the '/data/verdetect/functions' (for versions prior to 1.21) folder was missing; only '/data/verdetect/function' (for 1.21+) existed.
Additions
- Forge detection support
- Uses the validity of the command
/attribute @s forge:swim_speed get
to detect Forge. - Stored in IsForge under VersionInfo
- Running the function
verdetect:printversion
will tell you that forge has been detected
- Uses the validity of the command
- General Mod detection
- Currently only detects Forge, but detection for other mod-related things like Fabric (if a mod with a server-side command is installed; Fabric Loader itself doesn't add anything that can be detected)
- Stored in IsModded under VersionInfo