Language

Old Combat Datapack

Modrinth

Restore the old Minecraft combat, or change it to your liking! 1.21.2 to 1.21.11 supported. (1.21.1 experimental)

6.7k downloads 18 followers updated 4mo ago
latest v1.5.0-rc1+mod Modrinth
Datapack Fabric Forge Neoforge Quilt 1.21 – 26.1-snapshot-4 Game-mechanicsManagementUtility

NOTICE: 1.21.2-1.21.4 is supported and most features are available, but doesn't have sword blocking and is not a priority when it comes to updates and feature compatibility. 1.21.1 isn't supported, though experimental 1.21.1 builds are in the works (available now), and the pack doesn't work on 1.20 and below at all, and will never be supported, for many reasons.

Some features require my mod Andrew's Datapack Utilities to work/function properly, but the pack will still work without it. Without it, some features won't work as well and some don't work at all.

Questions/Issues? Post them in my discord server as they are more likely to get seen there. Find it on the sidebar.

This 1.21.11 datapack aims to restore the pre-combat update mechanics as much as possible using a datapack. The datapack restores sword blocking, removes the attack speed mechanic, restores the old axe damages, disables the offhand, and so much more! Examples of what is possible can be found in the features section below.

Customizability

Each mechanic is togglable. A few settings have other associated settings that allow more customizability of that setting.
To access the configuration menu, run:

/function oldcombat:config

Note:
when you run the above command, one of 2 different menus may show. The first being the brand-new dialog menu that acts like an actual gui thanks to 1.21.6

the other is the old chat-based menu, which shows when the new menu cannot load for whatever reason, for example on 1.21.5 and older where dialogs didn't exist.

Features

Too many to list here! See them for yourself in-game!

Here are examples of what's possible:

  • Bringing back 1.8's combat system (which is already done using the pack's default settings
  • Bringing back Beta 1.7.3 and earlier's mechanics
    • such as the old hunger system (where food heals health directly and hunger doesnt exist (and therefore sprinting and swimming is off-limits). Requires Andrew's Datapack Utilities or a player data modification mod) and no food stacking and instant eating/drinking (currently both no food stacking and instant eating are the same setting, will become separate soon)
  • Completely breaking Reverting Minecraft 1.2.1's changes to mob ai, that added pathfinding
    • A bit buggy and resource-intensive, but also funny to look at
  • Breaking physics and the game
    • Not a great idea

Known issues

Performance sucks. Not much I can do about that as of current, but... (see Future Plans)

Notes

This datapack will likely cause lag and/or break on servers with many players, it is not recommended to use this datapack outside of singleplayer or smaller servers unless the server runs on a NASA computer. For best performance for larger servers,

This pack was created with the help of the MC-Build project. Without the project this pack wouldn't have been as easy to make. You can see the MC-Build Github Repository here: https://github.com/mc-build/mcb
1.21.5 - 1.21.11 is recommended, but 1.21.6+ may be annoying to configure due to the warnings that show when you click buttons. A dialog version of the config menu is being worked on to make configuration easier in 1.21.6+. For now, I have a Fabric clientside mod to remove that warning.

Crashing and Errors

The datapack might occasionally "crash", disabling itself and dropping a long error message to the chat. When this happens, the issue should be posted on my discord server so i can quickly respond to it. If you think it is safe to re-enable the pack, run the following command:

/scoreboard players set Disable OldCombatSettings 0

Datapack crashes are more likely to happen when there is a lot of entities in your world (dropped items, mobs, etc.)

The pack disables itself so that the datapack doesn't cause lag and eventually freeze the server due to the pack not being able to remove temporary stuff used for calculations because minecraft stops the functions early if a limit is hit.

For Modpack creators

You may use this pack in any of your modpacks, but asking me first is always nice.

For Developers

You may depend on, make mods (somehow) for, and help contribute to this project. However, if you wish to publish this project elsewhere/post a fork of this project, I would like if you asked me for permission beforehand.

For Content Creators/Streamers

I am completely fine with, and even encourage, creating of content with this project. If you do, please credit this project and maybe link to this page if you use this in your content/stream.

Why?

1.21.5 snapshot 25w04a (Which added the blocks_attacks item component that can be added to an item, including swords, to make it block like a shield, and has a lot of settings) gave me an idea. What if you could fit almost the entire 1.8 combat system into a datapack? 25w04a gave me the rest of the tools to do this (blocks_attacks), so I decided to work on it. It also gave me a chance to try out an alternate datapack language called MC-Build (see above) that compiles into a normal datapack, and I don't regret that decision, as it's been extremely helpful. A while later, I created my Fabric (and sometimes NeoForge, soon to be a Paper Plugin too) mod Andrew's Datapack Utilities which gave me the rest of the tools I needed (player data modification and entity velocity manipulation) to recreate the 1.8 combat system nearly 1:1.

What's special about this datapack is that it's a datapack which means you can use it without a mod, (mostly, Andrew's Datapack Utilities is required for some parts of the pack) and it doesn't require anything at ALL on the client, only the server/singleplayer world, (though the fabric/forge/neoforge/quilt version of the pack is available for easier access).

Future Plans

As many of you that use this datapack know, it has some severe performance issues. I plan to partially heal that in the future, by running certain code only when necessary, for example, item-disabling code running only upon inventory change. Currently, most functions run every tick, which is inefficient.

Versions

Release
1.5.0-rc1+mod
fabric, forge, neoforge · 1.21, 1.21.1, 1.21.2 · 4mo ago
Fix bugs relating to _lots of noise,_ disable attack cooldown not working for <= 1.21.10, and add a feature for disabling mending!
1.3k
Release
1.5.0-rc1
datapack · 1.21, 1.21.1, 1.21.2 · 4mo ago
Fix bugs relating to _lots of noise,_ disable attack cooldown not working for <= 1.21.10, and add a feature for disabling mending!
372
Release
1.5.0-rc1-legacy
datapack · 1.21.2, 1.21.3, 1.21.4 · 4mo ago
Fix bugs relating to _lots of noise,_ disable attack cooldown not working for <= 1.21.10, and add a feature for disabling mending!
16
Release
1.5.0-rc1-lt
datapack · 1.21.5, 1.21.6, 1.21.7 · 4mo ago
Fix bugs relating to _lots of noise,_ disable attack cooldown not working for <= 1.21.10, and add a feature for disabling mending!
24
Release
1.5.0-rc1-lt-legacy
datapack · 1.21.2, 1.21.3, 1.21.4 · 4mo ago
Fix bugs relating to _lots of noise,_ disable attack cooldown not working for <= 1.21.10, and add a feature for disabling mending!
9
Release
1.5.0-rc1-ul
datapack · 1.21, 1.21.1, 1.21.2 · 4mo ago
Fix bugs relating to _lots of noise,_ disable attack cooldown not working for <= 1.21.10, and add a feature for disabling mending!
12
Release
1.5.0-rc1-ul-old
datapack · 1.21.2, 1.21.3, 1.21.4 · 4mo ago
Fix bugs relating to _lots of noise,_ disable attack cooldown not working for <= 1.21.10, and add a feature for disabling mending!
11
Release
1.5.0-pre2
datapack · 1.21.5, 1.21.6, 1.21.7 · 5mo ago
fixed the item disable features added last update not working
85
Release
1.5.0-pre2-legacy
datapack · 1.21.2, 1.21.3, 1.21.4 · 5mo ago
fixed the item disable features added last update not working
22
Release
1.5.0-pre2-lite
datapack · 1.21.5, 1.21.6, 1.21.7 · 5mo ago
fixed the item disable features added last update not working
12
Release
1.5.0-pre2-lite-legacy
datapack · 1.21.2, 1.21.3, 1.21.4 · 5mo ago
fixed the item disable features added last update not working
10
Release
1.5.0-pre2-ultralite
datapack · 1.21.5, 1.21.6, 1.21.7 · 5mo ago
fixed the item disable features added last update not working
13

Comments 0

No comments yet. Be the first to share your thoughts.

Download Old Combat Datapack

R 1.5.0-rc1+mod 1.21, 1.21.1, 1.21.2 fabric, forge, neoforge 1.7 MB R 1.5.0-rc1 1.21, 1.21.1, 1.21.2 datapack 777 KB R 1.5.0-rc1-legacy 1.21.2, 1.21.3, 1.21.4 datapack 765 KB R 1.5.0-rc1-lt 1.21.5, 1.21.6, 1.21.7 datapack 412 KB R 1.5.0-rc1-lt-legacy 1.21.2, 1.21.3, 1.21.4 datapack 402 KB R 1.5.0-rc1-ul 1.21, 1.21.1, 1.21.2 datapack 291 KB R 1.5.0-rc1-ul-old 1.21.2, 1.21.3, 1.21.4 datapack 278 KB R 1.5.0-pre2 1.21.5, 1.21.6, 1.21.7 datapack 768 KB R 1.5.0-pre2-legacy 1.21.2, 1.21.3, 1.21.4 datapack 760 KB R 1.5.0-pre2-lite 1.21.5, 1.21.6, 1.21.7 datapack 399 KB R 1.5.0-pre2-lite-legacy 1.21.2, 1.21.3, 1.21.4 datapack 394 KB R 1.5.0-pre2-ultralite 1.21.5, 1.21.6, 1.21.7 datapack 278 KB R 1.5.0-pre2-ultralite-legacy 1.21.2, 1.21.3, 1.21.4 datapack 270 KB R 1.5.0-pre1 1.21.5, 1.21.6, 1.21.7 datapack 763 KB R 1.5.0-pre1-legacy 1.21.2, 1.21.3, 1.21.4 datapack 755 KB R 1.5.0-pre1-lite 1.21.5, 1.21.6, 1.21.7 datapack 393 KB R 1.5.0-pre1-lite-legacy 1.21.2, 1.21.3, 1.21.4 datapack 388 KB R 1.5.0-pre1-ultralite 1.21.5, 1.21.6, 1.21.7 datapack 273 KB R 1.5.0-pre1-ultralite-legacy 1.21.2, 1.21.3, 1.21.4 datapack 273 KB A 1.5.0-1.21.1-ALPHA1-Lite+mod 1.21.1 fabric, forge, neoforge 607 KB A 1.5.0-1.21.1-ALPHA1-Lite 1.21.1 datapack 366 KB A 1.5.0-1.21.1-ALPHA1+mod 1.21, 1.21.1 fabric, forge, neoforge 1.5 MB A 1.5.0-1.21.1-ALPHA1 1.21, 1.21.1 datapack 770 KB B 1.5.0-beta2-legacy-lite+mod 1.21.2, 1.21.3, 1.21.4 fabric, forge, neoforge 604 KB B 1.5.0-beta2-legacy-lite 1.21.2, 1.21.3, 1.21.4 datapack 364 KB B 1.5.0-beta2-legacy+mod 1.21.2, 1.21.3, 1.21.4 fabric, forge, neoforge 1.5 MB B 1.5.0-beta2-legacy 1.21.2, 1.21.3, 1.21.4 datapack 769 KB B 1.5.0-beta2-lite+mod 1.21.5, 1.21.6, 1.21.7 fabric, forge, neoforge 609 KB B 1.5.0-beta2+mod 1.21.5, 1.21.6, 1.21.7 fabric, forge, neoforge 1.5 MB B 1.5.0-beta2-lite 1.21.5, 1.21.6, 1.21.7 datapack 368 KB B 1.5.0-beta2 1.21.5, 1.21.6, 1.21.7 datapack 776 KB B 1.5.0-beta1+mod 1.21.5, 1.21.6, 1.21.7 fabric, forge, neoforge 1.7 MB B 1.5.0-beta1 1.21.5, 1.21.6, 1.21.7 datapack 850 KB R 1.4.0-legacy+mod 1.21.2, 1.21.3, 1.21.4 fabric, forge, neoforge 659 KB R 1.4.0-legacy 1.21.2, 1.21.3, 1.21.4 datapack 410 KB R 1.4.0+mod 1.21.5, 1.21.6 fabric, forge, neoforge 657 KB R 1.4.0 1.21.5, 1.21.6-pre1 datapack 410 KB R 1.3.0-legacy+mod 1.21.2, 1.21.3, 1.21.4 fabric, forge, neoforge 618 KB R 1.3.0-legacy 1.21.2, 1.21.3, 1.21.4 datapack 389 KB R 1.3.0+mod 1.21.5, 25w21a fabric, forge, neoforge 617 KB R 1.3.0 1.21.5, 25w21a datapack 390 KB R 1.2.1+mod 1.21.5, 25w14craftmine, 25w15a fabric, forge, neoforge 605 KB R 1.2.1-legacy+mod 1.21.2, 1.21.3, 1.21.4 fabric, forge, neoforge 606 KB R 1.2.1-legacy 1.21.2, 1.21.3, 1.21.4 datapack 366 KB R 1.2.1 1.21.5, 25w14craftmine, 25w15a datapack 367 KB R 1.2.0-legacy+mod 1.21.2, 1.21.3, 1.21.4 fabric, forge, neoforge 586 KB R 1.2.0-legacy 1.21.2, 1.21.3, 1.21.4 datapack 375 KB R 1.2.0+mod 1.21.5, 25w14craftmine, 25w15a fabric, forge, neoforge 586 KB R 1.2.0 1.21.5, 25w14craftmine, 25w15a datapack 375 KB R 1.1.0-legacy+mod 1.21.2, 1.21.3, 1.21.4 fabric, forge, neoforge 280 KB

Files are served directly from the original source. Modgrid does not host or modify them.