Download Drops — Minecraft Mods — MetaMods
Drops

Drops

Active

Downloads

0

Last update

5 years ago
Client
Fabric
Quilt
Forge
Neoforge
Control
Utils
World generators

Drops

The Drops modification adds configurable cargo containers to your world, containing various items that can be customized according to your preferences.

How the Modification Works

By default, every seventh in-game night at sunset, all players receive the X, Y, and Z coordinates of the next container. The cargo itself appears at midnight. If no one retrieves the container by sunrise, it disappears (this behavior can be changed in settings).

The mod includes a basic set of items for containers, but most pack developers are recommended to configure the contents to suit their needs.

Container Contents Configuration

The configuration file (drops.cfg) contains a string array. Each added line represents one item that can appear in the container. Items are configured in the following format:

[item] [rarity] [minStackSize] [maxStackSize] [nbtJSON]

All parameters in square brackets are optional.

[item] — item identifier (for example, minecraft:saddle)

[rarity] — integer > 0 (higher value = greater chance of appearing)

[minStackSize] — integer > 0 and < 65, minimum number of items in a stack

[maxStackSize] — integer > 0 and < 65, maximum number of items in a stack

note: if minStackSize is specified, maxStackSize must also be specified

[nbtJSON] — JSON string in NBT format.

Additional Settings

You can modify the following parameters: number of days until container appears; radius from spawn point where containers will appear (if world border is not set).

You can also enable and disable: beam display above container; container disappearance at the end of the night; container appearance with lightning flash.

Testing Configuration

To test your container settings, use the /drop-force command.

If the parameter is not specified (i.e., /drop-force), the container will appear at the next midnight.

If the parameter is specified (i.e., /drop-force now), the container will appear immediately, regardless of current game time.

Project members
msrcodes

msrcodes

Created: 6 Mar 2020

ID: 27270