Skip to content

btwonion/autodrop

Repository files navigation

autodrop

This mod provides a function to automatically drop items from the inventory.

Managing items

Config screen sample

  • press the keybinding for the config GUI (default: o)
  • use the configuration section of the modmenu integration
  • archives can be toggled by double-clicking the archive in the GUI

Component/Nbt filtering

You have to be careful: Setting the item to air and leaving an empty component will cause the mod to drop every item.

The format of the components/nbt is always the item predicate syntax of the version of Minecraft you're playing on. Unless you know the syntax by heart, you can use a give command generator and copy the component part (enclosed by {} or []). The syntax is also described on this wiki post.


How to drop everything except a specific item?

A string like this: [!minecraft:stored_enchantments={mending:1}] will do the trick. It will drop every item that does not have Mending enchanted. If you want to only drop enchanted books that do not have Mending enchanted you have to add an item identifier for it as well.

Other

If you need help with any of my mods, join my discord server.

About

Fabric/Quilt mod that adds a simple auto drop function

Topics

Resources

License

Stars

Watchers

Forks

Contributors