This tutorial is set by the author's setting without permission.
Many people in the comment area need to use the module as the front in version 1.20.
So I also conducted comment and reply, but it is really better to add a tutorial directly here.
First of all, we need a software that supports opening the compressed file. Here is 7zip as an example.
The module version used here is the latest version (the version is not important).
Fabric:
Patchouli-1.20.1-81-fabric.jar
Then we downloaded the module and right-click the file-> 7-zip-> Open the compressed package.
We decompress the file fabric.mod.json and right-click-> Edit
Position
"depends": {"FabricLoader": "> = 0.14.21",
"Fabric": "> = 0.83.1",
"Minecraft": "> = 1.20.1 <1.21"
},
Change the demand to a version that can be run 1.20.
"depends": {"FabricLoader": "> 0.14.0",
"Fabric": "> 0.80",
"Minecraft": "> = 1.20"
},
Save the file, drag the file back to the compressed package and replace it:
Click "is" replacement, and then start the game successfully.
Forge:
Patchouli-1.20.1-81-Forge.jar
Right-click the file-> 7-zip-> Open the compressed package.
Let's enter the folder "META-INF" before dragging the file mods.toml to decompress it and right-click-> Edit
Modify the following:
modloader = "javafml"License = "CC by-NC-SA 3.0"
loaderversion = "[46,)" ""
issuetrackerurl = "https://github.com/vazkiimods/patchouli"
logoFile = "logo.png"
[[MODS]]
Modid = "Patchouli"
displayName = "Patchouli"
version = "$ {file.jarversion}"
authors = "vazkii"
description = '' '
Accessible, Data-Driven, Dependency-Free Documentation for Minecraft Modders and Pack Makers
'' '
[[DependenCies.patchouli]] Modid = "Forge"
MANDATORY = TRUE
versionRange = "[46,)" "" "
[DependenCies.patchouli]]
modid = "Minecraft"
MANDATORY = TRUE
versionRange = "[1.20,)"