跳到正文

JJCalculator

作者:JavaJumper

Clientside /calc command

收藏

截图

介绍

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

Minecraft /calc Command Mod

Description

The Minecraft /calc command mod is a versatile addition to your game that allows you to perform complex mathematical calculations using the exp4j Java library. Whether you need to solve simple equations or compute more intricate expressions, this mod provides a convenient way to harness the power of mathematics within the Minecraft world.

Features

  • /calc Command: The mod introduces the /calc command, which enables players to input mathematical expressions and receive immediate results.

Usage

To use the /calc command, simply open the in-game chat and type:

Replace <expression> with the mathematical expression you want to calculate. The mod will evaluate the expression and display the result in the chat.

Examples

Basic Arithmetic

  • Addition: Calculate the sum of 5 and 3:

/calc 5 + 3

Result: 8.0

  • Subtraction: Calculate the difference between 10 and 4:

/calc 10 – 4

Result: 6.0

  • Multiplication: Calculate the product of 6 and 2:

/calc 6 * 2

Result: 12.0

  • Division: Calculate the quotient of 8 divided by 2:

/calc 8 / 2

Result: 4.0

Complex Expressions

  • Advanced Calculations: Solve more complex expressions, including parentheses and exponentiation:

/calc (3 + 4) * 2^2

Result: 28.0

  • Trigonometric Functions: Utilize trigonometric functions for calculations:

/calc sin(30) + cos(45)

Result: -0.4627096352751321

常见问题

JJCalculator 支持哪些 Minecraft 版本?

JJCalculator 支持 Minecraft Java 版 1.19–1.21.8,共 21 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

JJCalculator 怎么安装?

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

评论

登录后评论和评分

JavaJumper 的其他作品

查看全部 →