Support a bunch of new versions! As such, the ids have changed.
NOTICE: THIS UPDATE WILL LIKELY BREAK ANY DATAPACK THAT USES VERSION DETECTOR AS THE IDS HAVE CHANGED
The new ID list is as follows:
IDs
- 1.13
- 1.13.1
- 1.14
- 1.14.3
- 1.14.4
- 1.15
- 1.15.2
- 1.16
- 1.16.2
- 1.17
- 1.18
- 1.18.2
- 1.19
- 1.19.3
- 1.19.4
- 1.20
- 1.20.2
- 1.20.3
- 1.20.5
- 1.21
- 1.21.2
- 1.21.4
- 25w02a
- 25w03a
- 25w04a
- 25w05a
- 25w06a
- 25w07a
- 25w08a
- 25w09a
- 25w10a
- 1.21.5 Pre-Releases 1 and 2
Support 1.21.5 Pre-Release 1 with id 23
This wouldn't have been possible if this one change didn't happen:
"Arguments in commands that accept inline values like loot tables, predicates, modifiers, data components, formatted text (/loot, /give, /tellraw, /execute if predicate, data components in /execute if items, etc.) have been reverted to accept numbers in place of booleans"
support 25w10a with id 22 also mention 25w09b in places 25w09a is mentioned
fun fact i updated this pack completely on my iphone
25w09a support with id 21
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 getto detect Forge. - Stored in IsForge under VersionInfo
- Running the function
verdetect:printversionwill 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


