You are browsing as a guest. Sign up (or log in) to start making projects!

MWDC

  • 2 Devlogs
  • 3 Total hours

Minecraft Weapons Damage Calculator

Open comments for this post

1h 32m 5s logged

MWDC - Calculator for Minecraft sword damage (material, enchant & critical hits)


  • I’ve added the option to imput your sword material, using if-statements and the minecraft wiki for the base damage.
  • You can also select your sharpness level, it calculates the damage with this formula: 1 + (sharpness_level -1) * 0.5
  • I’ve also added the option to make your attack a critical hit. I just used this simple formula: base_damage * 1.5
  • It calculates your total damage in this order:
  1. Picks the base damage depending on the material.
  2. Multiplies the base damage with 1.5 if it’s a critical hit.
  3. Adds bonus damage depending on the sharpness level.

Future plans

I’ve only started today so im planning on expanding it by a lot! There are 3 features im sertain i want to add.

  • More weapons like the Axe, Mace & Spear.
  • Option to choose armor for the targeted hit. With protection enchants.
  • More stats like DPS

Some of these are gonna be a struggle to add. But im gonna try my best and annoy my friend!:>

2
1
125
Open comments for this post

1h 33m 4s logged

I spend my time today and yesterday to learn Python. So i did some assignments to learn it a bit. I made a little game guess the number with helped a lot to learn!

My plan for now on is to make a calculator for minecraft weapon damage. I still need to start working on it. But atleast im a bit more familiar with python.

I really want to get better at Python. So when a friend of mine invited me i started working!
I came up with the idea because i play Minecraft a lot and i was curious how the game calculates the damage. And a Sword is a bit basic. But the Mace and the Spear work allot differently.

I also switched from VS code to Antigravity IDE. So ai could help me more easy when i need it to.

Here is a screenshot of my guess the number game.

2
2
36

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…