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.
Quick answer
Which Dropt release should I use?
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.
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.
Install Athenaeum first. We found matching files for this game-version and loader setup.
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.
- 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.
- 02
Bring the mods it needs
Install Athenaeum first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 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.
1.12.2
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Dropt versions and loaders
dropt-1.12.2-1.19.4.jar
7 Jun 2024
dropt-1.12.2-1.19.3.jar
18 Apr 2022
dropt-1.12.2-1.19.2.jar
8 Feb 2022
dropt-1.12.2-1.19.1.jar
11 Aug 2021
dropt-1.19.0.jar
10 Aug 2021
dropt-1.12.2-1.18.0.jar
15 May 2020
dropt-1.12.2-1.17.0.jar
28 Feb 2020
dropt-1.12.2-1.16.1.jar
4 Sept 2019
dropt-1.12.2-1.16.0.jar
19 Aug 2019
dropt-1.12.2-1.15.1.jar
30 Jun 2019
dropt-1.12.2-1.15.0.jar
18 Jun 2019
dropt-1.12.2-1.14.0.jar
15 Mar 2019
Looking for an older file? The official CurseForge project page is in Resources.