Version Detector

Mod and data pack

An API for datapacks to detect your Minecraft Version

Server CursedGame MechanicsLibraryManagementTechnologyUtility

100 downloads
1 follower
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

v1.0.5

Changelog

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
  • 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

Files

verdetect.zip(16.88 KiB) Primary Download

Project members

AndrewGaming587

Member

Details

Licensed CC-BY-4.0
Published 17 days ago
Updated 5 hours ago