Back to mods
Dropt project artwork

CurseForge · Minecraft mod

Dropt

Modify block drops based on player, gamestage, dimension, biome, held item, y-level, items dropped, fortune level, silktouch. Rules can be defined using ZenScript, JSON, or the DroptAPI.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Dropt release should I use?

Updated 2 years ago
beta file dropt-1.12.2-1.19.4.jar
Game version 1.12.2
Loader Forge

dropt-1.12.2-1.19.4.jar targets 1.12.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Dropt required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does dropt-1.12.2-1.19.4.jar need?

dropt-1.12.2-1.19.4.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Athenaeum first. We found matching files for this game-version and loader setup.

Athenaeum Needed by dropt-1.12.2-1.19.4.jar
required
Matching file found Matched file: athenaeum-1.12.2-1.19.6.jar

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Dropt without breaking your instance.

Built for dropt-1.12.2-1.19.4.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use dropt-1.12.2-1.19.4.jar. It targets 1.12.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Athenaeum first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside dropt-1.12.2-1.19.4.jar. It opens that exact file at the source.

About this project

What does Dropt add?

Dropt is a block drop replacement mod that allows defining complex drop conditions and replacement rules.

Dropt rules can be defined using ZenScript, JSON, or the DroptAPI.

* * * * *

Features

Performance:

  • uses rule caching per block state to significantly improve performance

Matches based on:

  • block (meta, meta wildcard, multiple meta values) (whitelist/blacklist)
  • items dropped (meta, meta wildcard, multiple meta values, oredict) (whitelist/blacklist)
  • harvester type (player, non-player, any)
  • harvester held item (meta, meta wildcard) (whitelist/blacklist)
  • harvester game stages (requires gamestages mod)
  • harvester player name
  • biome (whitelist/blacklist)
  • dimension (whitelist/blacklist)
  • vertical range

Replacement strategies:

  • add to existing drops
  • replace all drops
  • replace all drops if drop selected
  • replace all matched dropped items (replace items defined in match)
  • replace all matched dropped items if drop selected (replace items defined in match)

Drop strategies:

  • repeat (can select the same drop more than once)
  • unique (can select a drop only once)

Drop selection count based on:

  • fixed value
  • random value in defined range
  • fortune modified

Drop selection based on:

  • fortune modified weight value
  • minimum fortune level
  • silk touch requirement (required, excluded, any)

Drop quantity based on:

  • fixed value
  • random value in defined range
  • fortune modified

Drops:

  • can define drop list per drop
  • can define drops with meta wildcard
  • can define drops as oredict entry
  • can define xp to drop (fortune modified range)
  • can define drops with NBT data

Performance

Dropt parses all strings when the rules are loaded to reduce unnecessary string parsing and string concatenation during matching. Some string equivalency testing is used during matching. It uses a simple linear search to cache rules in lists and the profiling output below is the result of a worst-case scenario in which the rule to match is at the end of a 100k+ rule list.

  • [INFO] Injected 103573 rules in 118 ms
  • [INFO] Parsed 103575 rules in 532 ms
  • [INFO] Cached 1 rules from 103575 rules in 56 ms, blockState: minecraft:stone[variant=stone]
  • [INFO] Searched 1 rules in 1 ms
  • [INFO] Modified drops in 0 ms
  • [INFO] Searched 1 rules in 1 ms
  • [INFO] Modified drops in 0 ms

To reproduce the profiling on your machine, see the config options.

Commands

/dropt reload - reload configuration during runtime

/dropt hand - copy the held item's string for quick pasting into the .json file; also assists with lengthy NBT tags

/dropt verbose - log the resource location and meta value for all broken blocks to the console

Configuration

Dropt uses .json configuration files placed in the [instance]/config/dropt folder. Filenames are not important so long as they have the .json extension and you can have as many files as you like.

Logging

Any errors in the .json syntax are reported via the Forge log. When reloading in-game, errors will be reported to the chat console.

All errors are also logged to the log file: [instance]/dropt.log.

Additional debug output can be enabled per-rule and will be dumped to the log file. See the docs for more information.

* * * * *

Required Mods

Related Mods

* * * * *

This mod may NOT be reposted to any mod rehosting websites. #StopModReposts

Project description from CurseForge.

Pick your setup

Dropt by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Dropt versions and loaders

47 of 47 releases match

Looking for an older file? The official CurseForge project page is in Resources.