跳到正文

Mojo’s Dice Roller

作者:mojobeast

A datapack that lets you roll polyhedral dice in Minecraft, aimed at players of tabletop games

收藏

截图

介绍

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

This is a datapack that lets you roll polyhedral dice in Minecraft, aimed at players of tabletop games.

Usage

To roll dice, a player needs a dice bag. You can obtain the dice bag by entering the command /trigger dice_bag.

To use the dice bag, place it in the hotbar, select it, and right click.

The following interface should pop up:

Roll interface

To add a die to the roll, press the d4 through d20 buttons. The number after the “d” indicates how many sides each die has.

To add a positive or negative modifier, press the Modifier +1 or Modifier -1 buttons.

The forumla being rolled will show be shown as follows:

Roll Interface with Formula

To abandon the roll, click Cancel or the ESC key.
To roll the dice, click Roll.

Dice rolls will appear to the player who rolled them as follows:

Dice Result

Suppressing command output

The datapack uses /trigger commands to update the UI, and these send a message to the user in the chat each time these are used. To suppress these while using the datapack, you can use /gamerule sendCommandFeedback false to disable feedback from all commands – but be aware that this affects all players on the server.

常见问题

Mojo’s Dice Roller 支持哪些 Minecraft 版本?

Mojo’s Dice Roller 支持 Minecraft Java 版 1.21.6–26.2,共 10 个版本。下载时注意选择和你游戏版本一致的文件。

Mojo’s Dice Roller 怎么安装?

把下载的 .zip 文件(不用解压)放进游戏目录的 resourcepacks 文件夹,进游戏后在「选项 → 资源包」里把它移到右边启用。

评论

登录后评论和评分

mojobeast 的其他作品

查看全部 →