AutoDropX

Quick rating

AutoDropX

No reviews yet

A pure client-side mod to auto drop some items!

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
GNU Lesser General Public License v2.1 only
Latest Version
1.0.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description


AutoDropX

AutoDropX is a lightweight and intuitive Minecraft client-side mod that automatically discards excess items based on your rules when you pick them up, keeping your inventory tidy. It features three matching modes (Item ID / ID+NBT / Item Tag), rapid quantity adjustment with the mouse wheel, support for JEI ghost dragging, and quick switching between 9 configuration pages (with a JEI-style [<] 1/9 [>] navigator).

Primarily written in Kotlin.

Features at a Glance

  • Auto-Discard Overflow: Adheres to a "Minimum Quantity to Keep" rule, only retaining the amount you need.
  • Three Matching Modes:
    • ID: Matches by item ID only.
    • ID+NBT: Matches the item and its NBT data precisely.
    • Item Tag: Matches the item's tags (supports cycling through multiple tags if available).
    • User-Friendly Interface:
      • Adjust the minimum quantity with the mouse wheel (Default step: 1; Shift: ×8; Ctrl: ×64).
      • Right-click to switch matching modes (cycles through available tags in Tag mode).
      • Middle-click to delete a rule.
      • Hover over a config slot and press F to quickly enable/disable that rule.
      • Use the top [<] 1/9 [>] navigator to switch between "Configuration Pages," each with its own independent set of rules.
    • JEI Ghost Dragging: Drag items directly from the JEI panel into a configuration slot to create a rule (no actual item needed).
    • Auto-Save: Changes are saved to disk immediately; settings are automatically restored after a game restart.

Default Key Binds

  • Toggle Mod Globally: B (configurable in Controls)
  • Open Config GUI: N (configurable in Controls)

How to Use the Config Screen

  • Left-click on a config slot:
    • With an empty hand: "Picks up" the item from the slot (and deletes the rule).
    • With an item in hand: "Places" the held item into the slot (the count will automatically display the minimum quantity to keep).
    • Mouse Wheel: Adjusts the "Minimum Quantity to Keep" (Shift: ×8, Ctrl: ×64).
    • Right-click: Switches between ID → ID+NBT → Item Tag modes. In Tag mode, it cycles through the item's available tags.
    • Middle-click: Deletes the rule in that slot.
    • F key: Toggles the rule for the slot under the cursor (enable/disable).
    • Top Tabs: Use the [<] 1/9 [>] navigator for JEI-style page turning. The nine pages have independent rules, and the current page is saved automatically before switching.
    • When holding an item on your cursor:
      • Click a config slot to place it.
      • Click an empty area of the GUI or your player inventory to clear the item from your cursor.

Configuration File Paths

  • Current Page: config/autodropx/active_profile.txt (contains a number from 1-9)
  • Page Rules: config/autodropx/profiles/pageN.snbt (where N=1..9)
  • Legacy Migration: If config/autodropx.snbt exists, it will be automatically migrated to Page 1 on the first launch.

JEI Ghost Dragging

  • Open the JEI search panel and drag the desired item into a config slot to create a rule (no actual item is consumed).

Building and Running

  • Dependencies: JDK 17+
  • Build:
    • Windows: Run ./gradlew.bat build
    • Linux/macOS: Run ./gradlew build
    • Artifacts: The mod jars for each platform can be found in the corresponding subproject's build/libs/ directory.
    • Run for Development (Optional):
      • Forge Client: ./gradlew :forge:runClient
      • Fabric Client: ./gradlew :fabric:runClient
      • Quilt Client: ./gradlew :quilt:runClient

The actual supported Minecraft/loader versions are defined in gradle.properties.

Frequently Asked Questions (FAQ)

  • Why is the "Minimum Quantity to Keep" shown as the item's stack count?
    • This is a visual aid to preview the rule's threshold more intuitively; your actual inventory is not modified.
    • Can I save different sets of rules for different playstyles?
      • Yes. Use the top [<] 1/9 [>] navigator to switch to a different "page." Each page's rules are independent of the others.
    • Is there anything to note when using this with JEI?
      • JEI ghost dragging is only for creating or replacing a rule. It does not consume any actual items.

Quickly Locating Source Code

  • Forge Config Screen: forge/src/main/kotlin/ench/autodropx/forge/feature/config/ConfigContainerScreen.kt:1
  • Forge Config Manager: forge/src/main/kotlin/ench/autodropx/forge/feature/config/ConfigManager.kt:1
  • Forge Key Binding: forge/src/main/kotlin/ench/autodropx/forge/KeyBinding.kt:1

Contributing

  • Pull Requests (PRs) and Issues are welcome! Before submitting, please ensure the issue is consistently reproducible and aligns with the existing feature set.
  • Please try to maintain a code style consistent with the existing Kotlin format. For functional changes, please include a brief description.

Acknowledgments

  • Thanks to JEI for providing an excellent UI interaction paradigm.
  • Thanks to the community for their feedback and suggestions.

License

  • This project is licensed under the GNU Lesser General Public License v2.1 (LGPL-2.1).
  • For details, see the LICENSE file in the repository's root directory.
  • By submitting a contribution, you agree to license your work under the same license.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works