跳到正文

Simple Display Items

作者:HuoKnight

A simple datapack geared towards server admins that allows you to easily disable interaction with an item, make it float, and make it immune to fire.

收藏

截图

介绍

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

Simple Display Items

A simple datapack that allows you to disable interaction with an item, make it float, and make it immune to fire.

Showcase

(Watch on YouTube for better quality)

Usage

First run the following command:

/function sdi:craft/craft_papers

This will give you two papers, one called “Display On” and one called “Display Off”.

To put an item in “display mode”, throw the item on the block you want, then throw the “Display On” paper on top. If you see green particles, then it worked.

To take an item out of display mode, simply throw the “Display Off” paper at the item, and you can immediately pick it up.

❗WARNING❗

Items are not immune to explosions for now. This may change in the near future.

⚙️ Optional Crafting Recipe

There is a built in crafting recipe that is disabled by default. To enable it, unzip the datapack and navigate to:

data/sdi/recipes/papers.json.disabled

Rename the file to just “papers.json”. (If you are on windows, you may need to enable file extensions. You can learn how to do so here)

Once you finish this and reload with “/reload”, the papers can be crafted by all players with the following recipe:\
Crafting Recipe

You can also replace the recipe with any recipe you want, as long as the file is still called “papers.json”.

常见问题

Simple Display Items 支持哪些 Minecraft 版本?

Simple Display Items 支持 Minecraft Java 版 1.17–1.19.3,共 9 个版本,可用的加载器:Fabric / Forge / Quilt。下载时注意选择和你游戏版本一致的文件。

Simple Display Items 怎么安装?

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

评论

登录后评论和评分

HuoKnight 的其他作品

查看全部 →