作者:rebot | 分类:模组
Minecraft 版本: 26.1 26.1.1 26.1.2
平台: fabric quilt
标签: storage transportation utility
This mod provides a function to automatically drop items from the
inventory.

default: o)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.
For sub-types of items, such as Bottle of Water (subtype of Potion) use a specialized relevant generator like the Minecraft Maps Generators.
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.
If you need help with any of my mods, join my discord server.
请登录后举报
暂无评论,抢个沙发吧~