Description
Made as a comission for kittydisco4u on discord
REQUIRES PLAYER ANIMATOR
Backports the functionality of 1.21.11's spears (via tags) and lunge enchant to 1.20.1, complete with configs to adjust multipliers.
This was made to improve spartan weaponry's jousting lances, though any item will work so long as it has the "lancelikeitem" tag
I had to jump through some hoops to get this working, so make sure to bind the "Stab Spear" keybind to your preferred key (mouse buttons also work!)
This project uses tags, meaning anything can become a spear with a quick datapack
File structure is as follows :
MyDatapackName > data > joustinglances > tags > items > lancelike_item.json
Any item you place in the file will be able to use the spear functionality, including the lunge enchant.
File Details:
Inside the file (assuming you're making it completely by hand) paste this:
{
"values": [
]
}
Any item id you put in the square brackets will make its item act like a lance.
For example, if i wanted to make an iron sword act like a spear, i'd put the following in the square brackets.
"minecraft:iron_sword"
If you want to place a tag of items inside, just put the tag id with a hashtag like this:
"#spartanweaponry:lances"


