How to use this example to build 1.16.5 mod #117

Closed
opened 2021-07-09 06:38:47 +00:00 by T4M-Moling · 3 comments
T4M-Moling commented 2021-07-09 06:38:47 +00:00 (Migrated from github.com)

I want to build the 1.16.5 mod, but when I build the project, the fabric loader says it needs minecraft 1.17

I want to build the 1.16.5 mod, but when I build the project, the fabric loader says it needs minecraft 1.17
StoneLabs commented 2021-07-14 11:38:38 +00:00 (Migrated from github.com)

On github you can look at the history by clicking on commits in the top right when browsing the code of the repositry.

You can then use an older commit of this repository like this one, which seems to be the last commit targeted for 1.16.5.

You can then just download the code as you usually do with download as zip.
image

Alternatively you can of course just change the version used in your project by changing gradle.propertied like this. And resources/fabric.mod.json like this.

~ Stone

On github you can look at the history by [clicking on commits in the top right](https://stackoverflow.com/a/63925422) when browsing the code of the repositry. You can then use an older commit of this repository like [this one](https://github.com/FabricMC/fabric-example-mod/tree/29c522536fc16233833221e22eed3f106c0726bc), which seems to be the last commit targeted for 1.16.5. You can then just download the code as you usually do with download as zip. ![image](https://user-images.githubusercontent.com/19885942/125615764-d258cb6e-cdd5-4959-abb4-c69573097680.png) **Alternatively you can of course just change the version used in your project by changing gradle.propertied [like this](https://github.com/FabricMC/fabric-example-mod/blob/29c522536fc16233833221e22eed3f106c0726bc/gradle.properties). And resources/fabric.mod.json like [this](https://github.com/FabricMC/fabric-example-mod/blob/29c522536fc16233833221e22eed3f106c0726bc/src/main/resources/fabric.mod.json).** ~ Stone
nebspacefarer commented 2021-07-14 11:39:53 +00:00 (Migrated from github.com)

Hello.

Another solution is just to select the master branch on the Github repository, which is the version corresponding to 1.16.5.
Directly on Github website, you can switch branches from this dropdown menu:

image

Hello. Another solution is just to select the master branch on the Github repository, which is the version corresponding to 1.16.5. Directly on Github website, you can switch branches from this dropdown menu: ![image](https://user-images.githubusercontent.com/65596181/125615884-5ed29472-c3e1-4b5a-bfe6-5b09f577d8ca.png)
SolidBlock-cn commented 2021-08-25 00:43:52 +00:00 (Migrated from github.com)

You can also just check this page: https://fabricmc.net/versions.html?&version=1.16.5

You can also just check this page: https://fabricmc.net/versions.html?&version=1.16.5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Steven/fabric-example-mod#117