跳到正文

Loot Table Inserter

作者:Siscu

This project adds a Loot Table Inserter item. Catered to minecraft developers who make custom structures.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Loot Table Inserter

This small datapack adds a Loot Table Inserter item which is used to change the Loot Tables of most Block Entities.

## ⚠ This datapack is intended for development purposes ⚠

Beware, adding this tool in multiplayer survival servers would add the possibility for any players to break the game progression

Who’s this for?

This item will be useful to any minecraft mod or datapack developers that want to add containers with random loot to their structures, but can’t be bothered to use commands on each one of them.

Some of us have experienced the ordeal of changing the data of all chests on a structure with commands, which is an unpleasant experience due to the waste of time during the correct positioning of the player and the mess that’s repositioning already placed chests.

With this item, it’ll be as easy as pointing and clicking a container to change their loot table.

Using the item

How to get

To gain access to the item, simply use the quick actions hotkey (G by default). It can also be acquired through the pause menu in “Custom Options”.

The dialog can be exited anytime by pressing “esc”.

Dialog Menu to obtain the item

Prepping the item

To set a loot table, rename the item in an anvil with the path to a loot table. To ensure the correct syntax of the paths, copying them from /loot commands is advised.

Be careful when using the item, as it will always be primed and ready for use. The interaction range of your player will be practically nonexistent.

Renaming the item to your preferred Loot Table

常见问题

Loot Table Inserter 支持哪些 Minecraft 版本?

Loot Table Inserter 支持 Minecraft Java 版 1.21.11–26.3,共 2 个版本。下载时注意选择和你游戏版本一致的文件。

Loot Table Inserter 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Siscu 的其他作品

查看全部 →