Мова

Pehkui Hurts

Pehkui Hurts

Modrinth

Adds mob collision damage based on size differences.

11 завантажень оновлено 10d ago
остання v1.1.2 Modrinth
Forge 1.20.1 – 1.20.6 Game-mechanicsMobs

Adds mob collision damage based on size differences.

I've only tested it on 1.20.1 with pehkui 3.8.2, but it should work on other versions.

How the logic works:

Spoiler
  • First it checks if the bigger mob is moving into the smaller mob.

  • Then it finds the scale difference between the two coliding mobs.

  • Then it checks if the bigger one is at least 4x the scale.

  • Then it checks if the bigger mob is less than 100x the scale.

  • Then it adds random variance to the difference.

  • After adding varience it checks if the bigger mob was either walking, sprinting, crouching, or falling, adding different multipliers off that.

  • Finally it checks if config allows the smaller mob to die before applying the difference as damage to the smaller mob.

You may put my mod in whatever you want, whether it's a modpack, or your own mod, just make sure people are able to either find my name or the mod page. You can not edit my code and upload it as your own, this means you can edit, and use it privately, just dont upload it without my permission.

Версії

Beta
1.1.2
forge · 1.20.1, 1.20.2, 1.20.3 · 10d ago
## Adds mob collision damage based on size differences. I've only tested it on 1.20.1 with pehkui 3.8.2, but it should work on other versions. How the logic…
11

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити Pehkui Hurts

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.