HomeJavaModsDropt
Dropt
ModsJava

Dropt

by codetaylor · on CurseForge

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

⬇ Download on CurseForge

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:

Matches based on:

Replacement strategies:

Drop strategies:

Drop selection count based on:

Drop selection based on:

Drop quantity based on:

Drops:

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.

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Dropt is a free Minecraft Java mod. Downloaded 4,564,003 times (via CurseForge). Download it and open it directly in the game.

Explore more