Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| dropt-1.12.2-1.19.1.jar beta | 145.39 KB | Aug 11, 2021 | 1.12.2 | 0 | Download |
| dropt-1.19.0.jar beta | 145.38 KB | Aug 10, 2021 | 1.12.2 | 115 | Download |
| dropt-1.12.2-1.18.0.jar beta | 144.87 KB | May 15, 2020 | 1.12.2 | 775,404 | Download |
| dropt-1.12.2-1.17.0.jar beta | 140.38 KB | Feb 28, 2020 | 1.12.2 | 286,282 | Download |
| dropt-1.12.2-1.16.1.jar beta | 136.73 KB | Sep 4, 2019 | 1.12.2 | 671,844 | Download |
| dropt-1.12.2-1.16.0.jar beta | 136.73 KB | Aug 19, 2019 | 1.12.2 | 52,502 | Download |
| dropt-1.12.2-1.15.1.jar beta | 129.61 KB | Jun 30, 2019 | 1.12.2 | 128,377 | Download |
| dropt-1.12.2-1.15.0.jar beta | 129.60 KB | Jun 18, 2019 | 1.12.2 | 26,060 | Download |
| dropt-1.12.2-1.14.0.jar beta | 127.86 KB | Mar 15, 2019 | 1.12.2 | 214,883 | Download |
| dropt-1.12.2-1.13.0.jar beta | 120.21 KB | Jan 19, 2019 | 1.12.2 | 15,468 | Download |
| dropt-1.12.2-1.12.0.jar beta | 125.15 KB | Dec 5, 2018 | 1.12.2 | 10,132 | Download |
| dropt-1.12.2-1.11.2.jar beta | 122.09 KB | Dec 3, 2018 | 1.12.2 | 149 | Download |
| dropt-1.12.2-1.11.1.jar beta | 122.09 KB | Dec 3, 2018 | 1.12.2 | 80 | Download |
| dropt-1.12.2-1.11.0.jar beta | 109.04 KB | Dec 2, 2018 | 1.12.2 | 78 | Download |
| dropt-1.12.2-1.10.2.jar beta | 88.53 KB | Oct 10, 2018 | 1.12.2 | 10,326 | Download |
| dropt-1.12.2-1.10.1.jar beta | 88.46 KB | Oct 6, 2018 | 1.12.2 | 439 | Download |
| dropt-1.12.2-1.10.0.jar beta | 88.47 KB | Jul 27, 2018 | 1.12.2 | 2,355 | Download |
| dropt-1.12.2-1.9.4.jar beta | 87.08 KB | May 2, 2018 | 1.12.2 | 1,888 | Download |
| dropt-1.12.2-1.9.3.jar beta | 87.20 KB | Apr 13, 2018 | 1.12.2 | 228 | Download |
| dropt-1.12.2-1.9.2.jar beta | 86.86 KB | Apr 2, 2018 | 1.12.2 | 156 | Download |
| dropt-1.12.2-1.9.1.jar beta | 86.72 KB | Mar 28, 2018 | 1.12.2 | 572 | Download |
| dropt-1.12.2-1.9.0.jar beta | 86.66 KB | Mar 27, 2018 | 1.12.2 | 93 | Download |
| dropt-1.12.2-1.8.2.jar beta | 86.53 KB | Mar 23, 2018 | 1.12.2 | 17,177 | Download |
| dropt-1.12.2-1.8.1.jar beta | 86.26 KB | Mar 17, 2018 | 1.12.2 | 6,311 | Download |
| dropt-1.12.2-1.8.0.jar beta | 86.30 KB | Mar 12, 2018 | 1.12.2 | 3,151 | Download |
| dropt-1.12.2-1.7.0.jar beta | 83.78 KB | Mar 11, 2018 | 1.12.2 | 1,312 | Download |
| dropt-1.12.2-1.6.10.jar beta | 81.61 KB | Mar 4, 2018 | 1.12.2 | 3,801 | Download |
| dropt-1.12.2-1.6.9.jar beta | 81.62 KB | Feb 21, 2018 | 1.12.2 | 1,764 | Download |
| dropt-1.12.2-1.6.8.jar beta | 80.86 KB | Feb 21, 2018 | 1.12.2 | 104 | Download |
| dropt-1.12.2-1.6.7.jar beta | 80.86 KB | Feb 18, 2018 | 1.12.2 | 108 | Download |
| dropt-1.12.2-1.6.6.jar beta | 84.12 KB | Feb 17, 2018 | 1.12.2 | 72 | Download |
| dropt-1.12.2-1.6.5.jar beta | 83.77 KB | Feb 6, 2018 | 1.12.2 | 417 | Download |
| dropt-1.12.2-1.5.5.jar beta | 82.67 KB | Jan 30, 2018 | 1.12.2 | 370 | Download |
| dropt-1.12.2-1.5.4.jar beta | 80.41 KB | Jan 20, 2018 | 1.12.2 | 234 | Download |
| dropt-1.12.2-1.4.4.jar beta | 77.76 KB | Jan 20, 2018 | 1.12.2 | 51 | Download |
| dropt-1.12.2-1.4.3.jar beta | 77.75 KB | Jan 17, 2018 | 1.12.2 | 91 | Download |
| dropt-1.12.2-1.3.4.jar beta | 79.64 KB | Jan 14, 2018 | 1.12.2 | 74 | Download |
| dropt-1.12.2-1.2.3.jar beta | 62.80 KB | Jan 10, 2018 | 1.12.2 | 118 | Download |
| dropt-1.12.2-1.2.2.jar beta | 61.77 KB | Jan 10, 2018 | 1.12.2 | 65 | Download |
| dropt-1.12.2-1.3.3.jar alpha | 76.02 KB | Jan 11, 2018 | 1.12.2 | 725 | Download |
| dropt-1.12.2-1.1.2.jar alpha | 60.84 KB | Jan 9, 2018 | 1.12.2 | 74 | Download |
| dropt-1.12.2-1.1.1.jar alpha | 59.99 KB | Jan 8, 2018 | 1.12.2 | 74 | Download |
| dropt-1.12.2-1.0.1.jar alpha | 50.42 KB | Jan 8, 2018 | 1.12.2 | 47 | Download |
| dropt-1.12.2-1.0.0.jar alpha | 48.79 KB | Jan 7, 2018 | 1.12.2 | 63 | Download |
Description
Want to hire codetaylor to work on a mod or other Java project?
Join the discord and check out the #hire-me channel for details.
* * * * *
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
Get 0.05 TON 💎
Download
Add a comment