Minecraft Mods

Simple Calculator [Datapack]

  • 3,883 views, 0 today
  • 133 downloads, 0 today
  • 9
  • 8
  • 3
legopitstop's Avatar legopitstop
Level 76 : Legendary Programmer
269
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
CreditLegopitstop
Progress100% complete
Game VersionMinecraft 1.14
Tags

4 Update Logs

Update #4 : by legopitstop 10/31/2020 6:36:05 pmOct 31st, 2020

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

Create an account or sign in to comment.

Animyos Fox
11/12/2020 1:03 pm
Level 19 : Journeyman Geek
Animyos Fox's Avatar
Very good idea!
1
BluePirot
03/07/2020 9:36 am
Level 1 : New Miner
BluePirot's Avatar
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 76 : Legendary Programmer
legopitstop's Avatar
It should work in 1.14.X
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome