项目作者: aleferna12

项目描述 :
Simple mod that adds useful features as commands.
高级语言: Kotlin
项目地址: git://github.com/aleferna12/ChatUtils.git
创建时间: 2021-03-05T14:02:06Z
项目社区:https://github.com/aleferna12/ChatUtils

开源协议:MIT License

下载


ChatUtils

Simple client-side mod that adds useful features as 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 \
      • e.g.: /calc (3+pi) * sin(3)
  • Add a variable name so you can use it in equations
    • /calc add \ \
    • 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 \ \ \
  • Get a quantity of items as whole stacks + remainder
    • /calc asstacks \

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

#