跳到正文

Simroll

作者:odderb

A simple loot table utility for modpack development.

收藏

介绍

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

Features

Adds the /simroll command which takes two parameters:

  • A regex to match any loot tables
  • The amount of times you want to roll

Example: /simroll "minecraft/chests/.*" 100

Running this command will simulate the rewards for all chest loot tables 100 times and output the results to a file under rolls/ with a timestamp.

Examples

  • /simroll sim "minecraft:chests/.*" 500 Simulates every chest loot table 500 times

Commands

All commands should start with /simroll

  1. sim <regex> <amount> the base command, runs a simulation. Regex is what tables should be matched, amount if how many rolls should be performed
  2. iterations <amount> how many iterations are ran per tick, increase this to speed up simulations at the cost of performance (if iterations == rolls, the simulation runs in a single tick… SLOW)
  3. finish finishes the current simulation no matter how many rolls and outputs the results
  4. cancel like finish, but doesn’t output anything

FAQ

Q. When running against certain entities, nothing is output

A. Some mods require certain context to generate loot, we cannot create sensible defaults for these so we skip them in the simulation. There will be logs notifying you of this. Feel free to create an issue / comment with these log lines so we can reduce these occurrences.

Credits

  • Cycle icon by Lorc under CC BY 3.0 (in the logo)

常见问题

Simroll 支持哪些 Minecraft 版本?

Simroll 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Simroll 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

odderb 的其他作品

查看全部 →