All Mods Resource Packs Data Packs Shaders Modpacks Plugins
V

Version Detector

by AndrewGaming587 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Version Detector is a proof of concept that more is possible with datapacks than you'd think, and also an API for datapacks to detect what version they're running.

It doesn't do much on its own, but can be useful for other datapacks.

Note: when adding the datapack to a world, if you're using a game version older than 1.20.2, Minecraft will warn you that the pack was made for an older version of Minecraft. Ignore this warning, I can't do anything about it on versions older than 1.20.2 as the feature of pack.mcmeta that allows me to add a range of supported versions instead of having just 1 was added in 1.20.2.

Questions/Issues? Post them in my discord as they are more likely to get seen there. Find it on the sidebar.

This pack uses the fact that Minecraft completely removes functions with invalid syntax when loading a datapack, for example "execute if entity @e[type=pillager]" is invalid syntax in 1.13, because Pillagers don't exist yet, causing the whole function to get removed in 1.13, but the function will load successfully and will exist in 1.14 and later because there is no more invalid syntax because Pillagers were added, and the command was written correctly. Each function sets a number in a scoreboard objective to a number and runs the next function, which has a different syntax to the previous one, for example "execute if entity @e[type=bee]" instead of "execute if entity @e[type=pillager]" when moving from the 1.14 function to the 1.15 function, checking for a different feature. If at any point the chain stops, the number stops changing, which matches your version of Minecraft.

The ID is stored in a score for "MinecraftVersion" in the "VersionInfo" objective. It goes from 0 (1.13) up to whatever the latest detectable version is.

This pack also has NeoForge and Forge detection. Fabric and Quilt are currently undetectable, as there is nothing I can detect that fabric or quilt (without mods installed) adds to the game.

To Modpack Creators:

I permit the use of this datapack/mod in your modpacks. You can include it in modpacks without the need to ask me about it. However, notifying me if it is being included in your modpack would be nice.

Versions Detected

List of versions detected, in order from oldest to newest, starting at ID 0 (1.13) and going up (if a version isn't in this list it is grouped with the newest version from before the version, example 1.21.3 is grouped with 1.21.2):

Releases/Snapshots

  1. 1.13
  2. 1.13.1
  3. 1.14
  4. 1.14.3
  5. 1.14.4
  6. 1.15
  7. 1.15.2
  8. 1.16
  9. 1.16.2
  10. 1.17
  11. 1.18
  12. 1.18.2
  13. 1.19
  14. 1.19.3
  15. 1.19.4
  16. 1.20
  17. 1.20.2
  18. 1.20.3
  19. 1.20.5
  20. 1.21
  21. 1.21.2
  22. 1.21.4
  23. 25w02a
  24. 25w03a
  25. 25w04a
  26. 25w05a
  27. 25w06a
  28. 25w07a
  29. 25w08a
  30. 25w09a
  31. 25w10a
  32. 1.21.5
  33. 25w15a
  34. 25w20a
  35. 1.21.6
  36. 1.21.7-1.21.8
  37. 25w31a
  38. 25w32a
  39. 25w34a
  40. 25w35a
  41. 25w36a
  42. 1.21.9-1.21.10
  43. 25w41a
  44. 25w42a
  45. 25w43a
  46. 25w44a
  47. 1.21.11
  48. 26.1 Snapshot 1 (Yay new versioning system)
  49. 26.1 Snapshot 2
  50. 26.1 Snapshot 3
  51. 26.1 Snapshot 4
  52. 26.1 Snapshot 5
  53. 26.1 Snapshot 6 - Snapshot 7 (Don't you DARE say it)
  54. 26.1 Snapshot 8 - Snapshot 9
  55. 26.1 Snapshot 10
  56. 26.1 Snapshot 11
  57. 26.1

April Fools Snapshots:

  1. 20w14infinite
  2. 22w13oneBlockAtATime
  3. 23w13a_or_b
  4. 24w14potato Currently no 25w14craftmine yet, been too lazy to add that

How to Install Version Detector (Datapack)

Version Detector by AndrewGaming587 is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4 (latest release: 1.6.0+mod, file size: 94 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
  2. Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
  3. Move the downloaded Version Detector file into your Minecraft .minecraft/saves/<world>/datapacks folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.1.x 24w46a 24w45a +60
Fabric Forge Neoforge Quilt
7mo ago 1
26.1.x 24w46a 24w45a +60
Datapack
7mo ago 1
26.1-snapshot-1 1.21.x 1.20.x +7
Fabric Forge Neoforge Quilt
10mo ago 1
26.1-snapshot-1 1.21.x 1.20.x +7
Datapack
10mo ago 1
25w32a 25w31a 1.21.x +8
Fabric Forge Neoforge Quilt
last yr. 1
25w32a 25w31a 1.21.x +8
Datapack
last yr. 1
25w21a 25w20a 25w19a +24
Fabric Forge Neoforge Quilt
last yr. 1
25w21a 25w20a 25w19a +24
Fabric Forge Neoforge Quilt
last yr. 1
25w21a 25w20a 25w19a +24
Datapack
last yr. 1
1.21.x 1.20.x 1.19.x +6
Fabric Forge Neoforge Quilt
last yr. 1
1.21.x 1.20.x 1.19.x +6
Datapack
last yr. 1
25w21a 25w20a 25w19a +24
Fabric Forge Neoforge Quilt
last yr. 1
25w21a 25w20a 25w19a +24
Datapack
last yr. 1
25w19a 25w18a 25w17a +22
Fabric Forge Neoforge Quilt
last yr. 1
25w19a 25w18a 25w17a +22
Datapack
last yr. 1
25w19a 25w18a 25w17a +22
Datapack
last yr. 1
25w17a 25w16a 25w15a +20
Fabric Forge Neoforge Quilt
last yr. 1
25w17a 25w16a 25w15a +20
Datapack
last yr. 1
25w15a 25w14craftmine 25w10a +18
Fabric Forge Neoforge Quilt
last yr. 1
25w15a 25w14craftmine 25w10a +18
Datapack
last yr. 1
25w10a 25w09b 25w09a +19
Fabric Forge Neoforge Quilt
last yr. 1
25w10a 25w09b 25w09a +19
Datapack
last yr. 1
25w10a 25w09b 25w09a +16
Fabric Forge Neoforge Quilt
last yr. 1
25w10a 25w09b 25w09a +16
Datapack
last yr. 1
25w10a 25w09b 25w09a +16
Fabric Forge Neoforge Quilt
last yr. 1
25w10a 25w09b 25w09a +16
Datapack
last yr. 1
25w10a 25w09b 25w09a +16
Fabric Forge Neoforge Quilt
last yr. 1
25w10a 25w09b 25w09a +16
Datapack
last yr. 1
25w09b 25w09a 25w08a +15
Fabric Forge Neoforge Quilt
last yr. 1
25w09b 25w09a 25w08a +15
Datapack
last yr. 1
25w09a 25w08a 25w07a +14
Fabric Forge Neoforge Quilt
last yr. 1
25w09a 25w08a 25w07a +14
Datapack
last yr. 1
25w08a 25w07a 25w06a +13
Fabric Forge Neoforge Quilt
last yr. 1
25w08a 25w07a 25w06a +13
Datapack
last yr. 1
25w06a 25w05a 25w04a +11
Fabric Forge Neoforge Quilt
last yr. 1
25w06a 25w05a 25w04a +11
Datapack
last yr. 1
25w06a 25w05a 25w04a +11
Fabric Forge Neoforge Quilt
last yr. 1
25w06a 25w05a 25w04a +11
Datapack
last yr. 1
25w05a 25w04a 25w03a +10
Fabric Forge Neoforge Quilt
last yr. 1
25w05a 25w04a 25w03a +10
Datapack
last yr. 1
25w05a 25w04a 25w03a +10
Fabric Forge Neoforge Quilt
last yr. 1
25w05a 25w04a 25w03a +10
Datapack
last yr. 1
25w05a 25w04a 25w03a +10
Fabric Forge Neoforge Quilt
last yr. 1
25w05a 25w04a 25w03a +10
Datapack
last yr. 1
25w05a 25w04a 25w03a +10
Fabric Forge Neoforge Quilt
last yr. 1
25w05a 25w04a 25w03a +10
Datapack
last yr. 1
25w04a 25w03a 25w02a +9
Fabric Forge Neoforge Quilt
last yr. 1
25w04a 25w03a 25w02a +9
Datapack
last yr. 1
25w03a 25w02a 1.21.x +8
Fabric Forge Neoforge Quilt
last yr. 1
25w03a 25w02a 1.21.x +8
Datapack
last yr. 1
25w02a 1.21.x 1.20.x +7
Fabric Forge Neoforge Quilt
last yr. 1
25w02a 1.21.x 1.20.x +7
Datapack
last yr. 1
1.21.x 1.20.x 1.19.x +6
Fabric Forge Neoforge Quilt
last yr. 1
1.21.x 1.20.x 1.19.x +6
Datapack
last yr. 1
[1.6.0+mod] 1.6.0 by AndrewGaming587 on Mar 28, 2026
Download
Catch up in terms of updates
[1.6.0] 1.6.0 by AndrewGaming587 on Mar 28, 2026
Download
Catch up in terms of updates
[1.5.0+mod] v1.5.0 by AndrewGaming587 on Dec 31, 2025
Download
Support for all newly released versions from after last version detector release
[1.5.0] v1.5.0 by AndrewGaming587 on Dec 31, 2025
Download
Support for all newly released versions from after last version detector release
[1.4.0+mod] v1.4.0 by AndrewGaming587 on Aug 05, 2025
Download
add support for all new versions since last release
[1.4.0] v1.4.0 by AndrewGaming587 on Aug 05, 2025
Download
add support for all new versions since last release
[1.3.0+mod] 1.3.0 by AndrewGaming587 on Jun 26, 2025
Download
added about and about/more functions, added support for 1.21.7-rc1, and fixed a bug where printversion wasn't working
[1.3.0+mod] 1.3.0 by AndrewGaming587 on Jun 26, 2025
Download
added about and about/more functions, added support for 1.21.7-rc1, and fixed a bug where printversion wasn't working
[1.3.0] 1.3.0 by AndrewGaming587 on Jun 26, 2025
Download
added about and about/more functions, added support for 1.21.7-rc1, and fixed a bug where printversion wasn't working
[1.2.2+mod] v1.2.2 by AndrewGaming587 on Jun 17, 2025
Download
Support for 1.21.6 - Chase The Skies
[1.2.2] v1.2.2 by AndrewGaming587 on Jun 17, 2025
Download
Support for 1.21.6 - Chase The Skies
[1.2.1+mod] 1.2.1 by AndrewGaming587 on May 22, 2025
Download
group 25w21a with 25w20a

add a note in the pack description to ignore any version warnings because apparently the supported versions range doesn't work for pre-1.20.2 versions
[1.2.1] 1.2.1 by AndrewGaming587 on May 22, 2025
Download
group 25w21a with 25w20a

add a note in the pack description to ignore any version warnings because apparently the supported versions range doesn't work for pre-1.20.2 versions
[1.2.0+mod] 1.2.0 by AndrewGaming587 on May 13, 2025
Download
Add support for detecting Fabric/Quilt with Fabric API
[1.2.0] 1.2.0 by AndrewGaming587 on May 13, 2025
Download
Add support for detecting Fabric/Quilt with Fabric API
Download Version Detector
Select game version
Select platform