跳到正文

Ponder lib

作者:dvirov

give datapacks the abbility to add ponder pages (like in create mod) to items with the new dialogs in 1.21.6

收藏

截图

介绍

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

Ponder lib allow datapack makers to add direct connection between items and dialogs.

this way players can access matching dialog wiki pages without navigating in endless menues every single time

How to use :

opening matching ponder :

while holding supported item in main hand run the command

/trigger ponder.inspect 

Creating dialog :

just create new dialog inside your namespace

Creating supported item :

to create supported item you need to add the folowing custom data to the item

{ponder_id:"NAMESPACE:DIALOG"}

you can summon example item with /loot give @s loot ponder:example_item

Advanced features :

you can add custom triggers to your pack
to do so you need to add the following commands to your custom trigger function

data merge storage ponder:id {ponder_id:"NAMESPACE:DIALOG"}

function ponder:open_ponder with storage ponder:id

possible uses for custom triggers :

  • adding help menu inside custom block with custom menu
  • opening dialog via interaction entity
  • adding tool to inspect certain blocks and then opening dialog

additional info :

  • uses the smithed datapack conventions

–

Feedback and bugs:

join to my discord server

dvirov_logo)

常见问题

Ponder lib 支持哪些 Minecraft 版本?

Ponder lib 支持 Minecraft Java 版 1.21.6–1.21.11,共 6 个版本。下载时注意选择和你游戏版本一致的文件。

Ponder lib 怎么安装?

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

评论

登录后评论和评分

dvirov 的其他作品

查看全部 →