AutoLoot

Mod that automatically collects items from broken blocks and killed mobs directly into the player's inventory.

File Details

autoloot-2.0.jar

  • R
  • Jun 4, 2026
  • 36.25 KB
  • 22
  • 1.21.1
  • NeoForge

File Name

autoloot-2.0.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:autoloot-1260665:8194150"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven




## SkyBlock-Style AutoLoot Rewrite

AutoLoot 2.0 is a full rewrite of the original mod logic. The mod now uses an owner-based loot flow inspired by Hypixel SkyBlock: drops are assigned to the player who caused them instead of being vacuumed from the ground by radius.

## Highlights

- Rebuilt the project from the recovered `autoloot-1.1.jar`.
- Replaced radius-based pickup with owner-based block and mob drop handling.
- Added a SkyBlock-style stash for overflow items.
- Added `/pickupstash`.
- Added support for full-inventory behavior:
  `inventory -> Sophisticated Backpacks -> stash -> ground`.
- Added direct experience collection from mobs and blocks.
- Added cascading plant handling for sugar cane, cactus, bamboo, and kelp.
- Updated the build to Minecraft `1.21.1` and NeoForge `21.1.233+`.

## Loot Logic

- Block drops are handled through `BlockDropsEvent`.
- Mob drops are handled through `LivingDropsEvent`.
- Experience is collected directly instead of relying on spawned XP orbs.
- Drops are tied to the player who broke the block or killed the mob.
- The old radius-based block pickup logic was removed to avoid collecting nearby unrelated items.

## Farming Drops

- Sugar cane, cactus, bamboo, and kelp now use cascading plant tracking.
- The mod records the exact plant positions affected by the player's break action.
- Cascading drops are only collected when they match those tracked positions.
- This avoids accidentally collecting another player's nearby drops.

## Stash

- Overflow items are stored in a player stash when the inventory is full.
- Stackable items are stored safely in normal stack-sized chunks.
- Non-stackable item storage is limited by config.
- Stash data is saved in persistent player data.
- Players can retrieve stash items with `/pickupstash`.
- Optional stash reminders are shown while items remain in the stash.

## Compatibility

- Optional Sophisticated Backpacks overflow support.
- Optional compatibility safeguards for:
  - Apotheosis
  - Relics
  - Artifacts
  - Mystical Agriculture

## Configuration

New and updated config options include:

- `enabled`
- `collectItems`
- `collectMobDrops`
- `collectExperience`
- `collectToBackpack`
- `collectToStash`
- `itemStashLimit`
- `stashReminderIntervalSeconds`
- `cascadePlantHeight`
- `itemBlacklist`