Data Packs Tool

Calculator

  • 3.9k views 0 today
  • save_alt 75 downloads 1 today
Compatibility
Minecraft 1.13
to version
Minecraft 1.15
Changes include
  • Functions
  • 4
  • 1
Basicprogrammer10
Lvl 45Master System
9
This datapack will implement a basic calculator Minecraft.
This datapack is kinda stupid I only made it because I was bored and wanted something to do...

In order to use this datapack first download it, extract the zip file and put it into the datapack folder of your world. Once you do that you should either restart your world or use the "/reload" command. Now, to use this datapack type "/trigger num1 set <incert number here>" and "/trigger num2 set <incert number here>" to set the numbers you want to use. then set the operation by typing "/trigger operation set <incert operation number here>" See table for Operation codes.   
Operation numberOperation
1Addition
2Subtraction
3Multiplication
4Divison
5Divison (Remainder)


Once you do that you are ready to do some math! first type "/trigger domath" and you should see the answer to the math equation you made appear on the screen. If you want to reset all of the numbers you entered (num1. num2, operation) just type "/trigger reset".

More like this

  Have something to say?

Welcome