Meteor Client addon development for Minecraft. Use when creating, updating, or working with Meteor Client addons - a Fabric mod framework for Minecraft.
This skill provides guidance for developing addons for Meteor Client, a Fabric-based Minecraft utility mod.
When you need to find reference implementations, always use the filter_addons.py script to search the addon database rather than manually browsing GitHub or guessing repository URLs.
Clone the meteor-addon-template and customize:
git clone https://github.com/MeteorDevelopment/meteor-addon-template my-addon
cd my-addon
Check if template needs updating by comparing against meteor-client:
git clone --depth=1 https://github.com/MeteorDevelopment/meteor-clientbuild.gradle, gradle.properties, dependencies, Fabric/Minecraft versionsgradle.properties: Set Minecraft version, Fabric API version, Meteor dependencybuild.gradle: Configure repositories, dependencies, build settingssrc/main/resources/fabric.mod.json: Define mod metadata, entrypointsrc/main/java/com/example/addon/Addon.java: Main addon classWhen Minecraft or Meteor updates:
cd /path/to/workspace
git clone --depth=1 https://github.com/MeteorDevelopment/meteor-client
Check version changes:
gradle.propertiesUpdate breaking changes:
Find updated examples: Use scripts/filter_addons.py to find verified addons on current version
The addon database contains metadata about all known Meteor Client addons. Use the filter_addons.py script to find high-quality examples for reference.
# Find verified addons for a specific Minecraft version
python scripts/filter_addons.py --mc-version 1.21.11 --verified
# Find all addons for a version (including unverified)
python scripts/filter_addons.py --mc-version 1.21.11 --no-verified
# Limit results
python scripts/filter_addons.py --mc-version 1.21.11 --verified --limit 10
# Get JSON output for programmatic use
python scripts/filter_addons.py --mc-version 1.21.11 --verified --json
# Find addons with specific features
python scripts/filter_addons.py --feature-type modules --feature-name "AutoTotem"
# Filter by minimum stars
python scripts/filter_addons.py --mc-version 1.21.11 --min-stars 50
# Sort by different criteria
python scripts/filter_addons.py --mc-version 1.21.11 --sort-by last_update
# Include archived repositories (normally excluded)
python scripts/filter_addons.py --mc-version 1.21.11 --include-archived
supported_versions field: Some addons list multiple compatible versions in their custom.supported_versions field. The filter script checks both mc_version and supported_versions when filtering.
None handling: The addon database may contain null values for features lists or supported_versions. The filter script handles these gracefully.
Default behavior: Without --no-verified, the script only shows verified addons by default.
Always follow these rules when searching references:
Clone addons for analysis (stores in ai_reference/ or similar):
# Single addon
python scripts/clone_for_analysis.py https://github.com/owner/addon-name
# Multiple from filter results
python scripts/filter_addons.py --mc-version 1.21.1 --verified --limit 5 --json | \
python scripts/clone_for_analysis.py --from-json
# Custom target directory
python scripts/clone_for_analysis.py https://github.com/owner/addon --target ./my_refs
Best practice: If an ai_reference/ directory exists in workspace, use it for storing cloned repos and keep them there (don't cleanup automatically).
Meteor addons typically include:
extends Module): Features that can be toggled on/offextends Command): Chat commands for addon functionalityextends HudElement): On-screen display componentsWhen updating to newer Minecraft/Meteor versions:
Example workflow:
cd /workspace
git clone --depth=1 https://github.com/MeteorDevelopment/meteor-client
cd meteor-client
git log --oneline --grep="breaking" -20
If working with older Minecraft/Meteor versions:
--include-archived flag when searching if truly necessary--mc-version when filteringcustom.supported_versions field for compatibilitypython scripts/filter_addons.py --mc-version X.XX.XX --no-verifiedpython scripts/filter_addons.py --feature-type modules --feature-name YourFeatureIf filter_addons.py encounters errors:
ai_reference/ for easy access