Calculator Command Help

Started by Nino3245 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Calculator Command Help

Hello, I am quite new to MCreator and I need help implementing a Calculator command into my mod,

Examples for the command are:

/calc 1 + 1 

Output : 2

/calc 5 - 2

Output :

3

/calc 5 x 5

Output :

25

/calc 5 / 2

Output :

2.5

Can someone help me with a procedure to do this?