Mods Aesthetic

Simple Calculator [DATAPACK]

  • 4.3k views 0 today
  • save_alt 136 downloads
Game Version
Minecraft 1.14
Progress
100% complete
Added CreditLegopitstop
  • 10
  • 10
  • 3
legopitstop
Lvl 77Legendary Programmer
281
Simple Calculator
by Legopitstop

Simple Calculator [DATAPACK] Minecraft Mod Simple Calculator [DATAPACK] Minecraft Mod Simple Calculator [DATAPACK] Minecraft Mod

To put it simply, it's a calculator. What can I use the calculator for? Well, you can use the calculator to add, subtract, divide and multiply numbers, exactly like the calculator that's right next to you, or is that just me? There currently is no craftable recipe but you can still get the calculator item by using the function give a command in creative or with cheats on. Be careful though as some larger numbers cause issues, max 9 digits. Currently only add [+], subtract [-], multiplication [​x] and division [/] are supported



How to use

1.Get your hands on the item, via command for now.

2.Hold the item in your main hand and right-click

3.After clicking the item open your inventory.

4.Now you can use your mouse to click on the buttons.

5.Start by entering a number or numbers, ex: 12

6.Then click on the function that you want to use, ex: +

7.Now, like the start, enter your second numbers to add to the first one. ex: 21

8.Finally press equals [=] it should then give you the output number. ex: 33

9.You can then use [​C] to clear the calculator if you accidentally type in the wrong number press [​CE] to clear that entry.


Commands

gives @p the calculator item
/function give:calculator

Known Bugs



-Cannot enter "0" example: 200




Planning to add
May add more calculators, like a stack calculator to calculate how many items you have ex: 3 stacks + 5 items = 197 total items, and/or add more buttons like square root, pi, sine, cosine, tangent, and even add input support for negative numbers. May also add a percentage [%] function to a simple calculator.



Buy Me a Coffee at ko-fi.com

4 Update Logs

Update #4 : by legopitstop 10/31/2020 6:36:05 pmOctober 31, 2020 @ 10:36 pm UTC

v1.3.0 ChangeLog
New
+ Completely rewrote pack, new fresh code
+ Now uses a custom item
+ Different system altogether Greatly decreased file size. (was 203KB, now 13KB)
+ Calculator buttons can be changed in the resource pack lang file, may add custom Unicode characters.
+ you can now use larger numbers, be careful some super large numbers will cause issues max 9 digits due to Minecraft number limit inside scoreboards.
+ May add more calculators, like a stack calculator to calculate how many items you have ex: 3 stacks + 5 items = 197 total items, and/or add more buttons like square root, pi, sine, cosine, tangent, and even add input support for negative numbers.
LOAD MORE LOGS

  Have something to say?

Animyos Fox
11/12/2020 1:03 pm
He/Him • Level 20 : Expert Geek
Very good idea!
1
BluePirot
03/07/2020 9:36 am
Level 1 : New Miner
I need your calculator data pack very much but 1.14.4 please thank you :3
1
legopitstop
03/07/2020 11:51 am
Level 77 : Legendary Programmer
It should work in 1.14.X
1

Welcome