25w08a support with id 20
support 25w07a with id 19
Support 25w06a with id 18
Wow i'm fast not even 15 min of the snapshot being out
Fix a bug where the printversion says no mod loader was detected even if there was one detected
- This is because the variable IsModded changed to ModLoader.
Added NeoForge detection using a similar method to Forge detection, instead relying on the validity of the command /attribute @s neoforge:creative_flight get
instead of /attribute @s forge:swim_speed get
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
Support 25w05a with id 17
Support for 25w04a
Support 25w03a with id 15
Got this out in 2 hours of the snapshot being released, I'm fast with this! (not even Modrinth has 25w03a in their versions list yet!)
25w02a detection added with ID 14.