跳到正文

[Fabric] ChatUtils

作者:aleferna12

Simple client-side mod that adds useful features as chat commands, such as a calculator.

收藏

介绍

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

ChatUtils

Simple client-side mod that adds useful features as chat commands, such as a calculator.

Usage

As of right now, there is only one command family: /calc
It consists of a few useful subcommands and a calculator, which supports:

  • – + * / ^ operators
  • Usage of parenthesis to indicate priority
  • Variables (including an "ans" variable, which represents the result of last calculation)
  • Functions

For more information of which functions are supported, see Javaluator.

Commands

  • Interpret the given equation

    • /calc <equation>
    • e.g.: /calc (3+pi) * sin(3)
  • Add a variable name so you can use it in equations

    • /calc add <variablename> <value>
    • e.g.: /calc add x 5 sets the value of "x" to 5
  • Clear all variables from memory

    • /calc clear
  • Calculate distance from player position to given x y z coordinates

    • /calc dist <x> <y> <z>
  • Get a quantity of items as whole stacks + remainder

    • /calc asstacks <number of items>

Installation

This is a fabric mod and, as such, will require to be loaded with Fabric Loader.

Mod dependencies:

  1. Fabric API
  2. Fabric Language Kotlin
  3. Cotton Client Commands
  4. [OPTIONAL] If you want to use CurseForge as your mod manager for fabric mods, check out Jumploader

常见问题

[Fabric] ChatUtils 支持哪些 Minecraft 版本?

[Fabric] ChatUtils 支持 Minecraft Java 版 1.16–1.16.5,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

[Fabric] ChatUtils 怎么安装?

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

评论

登录后评论和评分