<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ornithemc.net/index.php?action=history&amp;feed=atom&amp;title=Setting_up_a_Mod_Development_Environment</id>
	<title>Setting up a Mod Development Environment - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ornithemc.net/index.php?action=history&amp;feed=atom&amp;title=Setting_up_a_Mod_Development_Environment"/>
	<link rel="alternate" type="text/html" href="https://wiki.ornithemc.net/index.php?title=Setting_up_a_Mod_Development_Environment&amp;action=history"/>
	<updated>2026-04-29T01:41:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.ornithemc.net/index.php?title=Setting_up_a_Mod_Development_Environment&amp;diff=34&amp;oldid=prev</id>
		<title>Space Walker: Created page with &quot;This article is a guide on how to set up an Ornithe mod development environment.  == Before You Get Started ==  If you have no prior experience with programming in Java, it is strongly recommended you learn at least the basics first. Here are some resources to help you on your way: * Oracle Java tutorials: https://docs.oracle.com/javase/tutorial/ * Java tutorial at W3Schools: https://www.w3schools.com/java/  Ornithe modding is essentially the same as Fabric/Quilt modding...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ornithemc.net/index.php?title=Setting_up_a_Mod_Development_Environment&amp;diff=34&amp;oldid=prev"/>
		<updated>2025-07-31T14:57:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This article is a guide on how to set up an Ornithe mod development environment.  == Before You Get Started ==  If you have no prior experience with programming in Java, it is strongly recommended you learn at least the basics first. Here are some resources to help you on your way: * Oracle Java tutorials: https://docs.oracle.com/javase/tutorial/ * Java tutorial at W3Schools: https://www.w3schools.com/java/  Ornithe modding is essentially the same as Fabric/Quilt modding...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This article is a guide on how to set up an Ornithe mod development environment.&lt;br /&gt;
&lt;br /&gt;
== Before You Get Started ==&lt;br /&gt;
&lt;br /&gt;
If you have no prior experience with programming in Java, it is strongly recommended you learn at least the basics first. Here are some resources to help you on your way:&lt;br /&gt;
* Oracle Java tutorials: https://docs.oracle.com/javase/tutorial/&lt;br /&gt;
* Java tutorial at W3Schools: https://www.w3schools.com/java/&lt;br /&gt;
&lt;br /&gt;
Ornithe modding is essentially the same as Fabric/Quilt modding. There are, however, a few key differences. If you are not familiar with Fabric/Quilt modding, you may peruse their documentation ([https://wiki.fabricmc.net/ here] for Fabric, [https://wiki.quiltmc.org/ here] for Quilt), though it is not required to follow this guide.&lt;br /&gt;
&lt;br /&gt;
== The Mod Template ==&lt;br /&gt;
&lt;br /&gt;
The mod template is a bare bones mod development project. It has all the necessary elements, and can be customized to suit your own needs. You can visit the repository on GitHub at https://github.com/OrnitheMC/ornithe-mod-template/.&lt;br /&gt;
&lt;br /&gt;
=== Using the Template ===&lt;br /&gt;
&lt;br /&gt;
The first step is to create a new repository from the template. In the &amp;lt;code&amp;gt;Create a new repository&amp;lt;/code&amp;gt; dialog, make sure to select the &amp;lt;code&amp;gt;Include all branches&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
Next, you must choose the correct branch for your project. Which branch to choose depends on the mod loader of your choice, and the Minecraft version your mod will be targeting.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;fabric/merged&amp;lt;/code&amp;gt; for a Fabric mod for Minecraft 1.3 or later.&lt;br /&gt;
* &amp;lt;code&amp;gt;fabric/split&amp;lt;/code&amp;gt; for a Fabric mod for Minecraft 12w30e or earlier.&lt;br /&gt;
* &amp;lt;code&amp;gt;quilt/merged&amp;lt;/code&amp;gt; for a Quilt mod for Minecraft 1.3 or later.&lt;br /&gt;
* &amp;lt;code&amp;gt;quilt/split&amp;lt;/code&amp;gt; for a Quilt mod for Minecraft 12w30e or earlier.&lt;br /&gt;
&lt;br /&gt;
You may rename the chosen branch to &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt; (or otherwise as you see fit) and discard the others.&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Project ===&lt;br /&gt;
&lt;br /&gt;
Once you have prepared your new repository, you can clone it to your computer and import the project into your IDE.&lt;br /&gt;
&lt;br /&gt;
Next, it&amp;#039;s time to configure the project for the target Minecraft version. The &amp;lt;code&amp;gt;gradle.properties&amp;lt;/code&amp;gt; file contains the versions for key dependencies. Visit https://ornithemc.net/develop/ to look up the latest versions. Then edit the values for the following fields.&lt;br /&gt;
* &amp;lt;code&amp;gt;minecraft_version&amp;lt;/code&amp;gt;: the Minecraft version your mod will be targeting.&lt;br /&gt;
* &amp;lt;code&amp;gt;loader_version&amp;lt;/code&amp;gt;: the version of the mod loader.&lt;br /&gt;
* &amp;lt;code&amp;gt;osl_version&amp;lt;/code&amp;gt;: the version of OSL (Ornithe Standard Libraries).&lt;br /&gt;
&lt;br /&gt;
Some dependencies are different for Minecraft versions before 1.3 compared to 1.3 and later. These dependencies may also not be available at all for the Minecraft version your mod is targeting. In that case you will also need to make changes to the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
==== Dependencies for Minecraft 1.3 or Later ====&lt;br /&gt;
&lt;br /&gt;
Edit the values for the following fields in the &amp;lt;code&amp;gt;gradle.properties&amp;lt;/code&amp;gt; file.&lt;br /&gt;
* &amp;lt;code&amp;gt;feather_build&amp;lt;/code&amp;gt;: the build number of the [[Feather]] mappings.&lt;br /&gt;
* &amp;lt;code&amp;gt;raven_build&amp;lt;/code&amp;gt;: the build number for [[Raven]].&lt;br /&gt;
* &amp;lt;code&amp;gt;sparrow_build&amp;lt;/code&amp;gt;: the build number for [[Sparrow]].&lt;br /&gt;
* &amp;lt;code&amp;gt;nests_build&amp;lt;/code&amp;gt;: the build number for [[Nests]].&lt;br /&gt;
&lt;br /&gt;
If Raven is not avaliable, remove the following line from the &amp;lt;code&amp;gt;dependencies { }&amp;lt;/code&amp;gt; block in the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
 	exceptions ploceus.raven(project.raven_build)&lt;br /&gt;
&lt;br /&gt;
If Sparrow is not avaliable, remove the following line from the &amp;lt;code&amp;gt;dependencies { }&amp;lt;/code&amp;gt; block in the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
 	signatures ploceus.sparrow(project.sparrow_build)&lt;br /&gt;
&lt;br /&gt;
If Nests are not avaliable, remove the following line from the &amp;lt;code&amp;gt;dependencies { }&amp;lt;/code&amp;gt; block in the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
 	nests ploceus.nests(project.nests_build)&lt;br /&gt;
&lt;br /&gt;
==== Dependencies for Minecraft 12w30e or Earlier ====&lt;br /&gt;
&lt;br /&gt;
Edit the values for the following fields in the &amp;lt;code&amp;gt;client/gradle.properties&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;server/gradle.properties&amp;lt;/code&amp;gt; files.&lt;br /&gt;
* &amp;lt;code&amp;gt;feather_build&amp;lt;/code&amp;gt;: the build number of the [[Feather]] mappings.&lt;br /&gt;
* &amp;lt;code&amp;gt;raven_build&amp;lt;/code&amp;gt;: the build number for [[Raven]].&lt;br /&gt;
* &amp;lt;code&amp;gt;sparrow_build&amp;lt;/code&amp;gt;: the build number for [[Sparrow]].&lt;br /&gt;
* &amp;lt;code&amp;gt;nests_build&amp;lt;/code&amp;gt;: the build number for [[Nests]].&lt;br /&gt;
&lt;br /&gt;
If Raven is not avaliable, remove the following line from the &amp;lt;code&amp;gt;project.dependencies { }&amp;lt;/code&amp;gt; block in the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
 	exceptions project.ploceus.raven(project.raven_build)&lt;br /&gt;
&lt;br /&gt;
If Sparrow is not avaliable, remove the following line from the &amp;lt;code&amp;gt;project.dependencies { }&amp;lt;/code&amp;gt; block in the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
 	signatures project.ploceus.sparrow(project.sparrow_build)&lt;br /&gt;
&lt;br /&gt;
If Nests are not avaliable, remove the following line from the &amp;lt;code&amp;gt;project.dependencies { }&amp;lt;/code&amp;gt; block in the &amp;lt;code&amp;gt;build.gradle&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
 	nests project.ploceus.nests(project.nests_build)&lt;br /&gt;
&lt;br /&gt;
=== Updating Mod Metadata ===&lt;br /&gt;
&lt;br /&gt;
The last step is to update the mod metadata to make it your own.&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;code&amp;gt;gradle.properties&amp;lt;/code&amp;gt; file, update the value of the &amp;lt;code&amp;gt;archives_base_name&amp;lt;/code&amp;gt; field. This will be used to construct file name of the compiled mod jar.&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;code&amp;gt;src/main/resources/&amp;lt;/code&amp;gt; folder, update the &amp;lt;code&amp;gt;mod.json&amp;lt;/code&amp;gt; file. This step differs slightly depending on the mod loader you chose to use.&lt;br /&gt;
&lt;br /&gt;
==== Updating &amp;lt;code&amp;gt;fabric.mod.json&amp;lt;/code&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;code&amp;gt;fabric.mod.json&amp;lt;/code&amp;gt; file, update the following fields.&lt;br /&gt;
* &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;: the mod id. This ought to be a unique identifier for your mod. It should have only lowercase letters and underscores. Generally, you can use your mod&amp;#039;s name, turned all lowercase, and replacing any spaces with underscores. For example, for a mod named &amp;lt;code&amp;gt;My Cool Mod&amp;lt;/code&amp;gt;, the mod id could be &amp;lt;code&amp;gt;my_cool_mod&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;: the name of your mod.&lt;br /&gt;
* &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt;: a short description of your mod, what it&amp;#039;s for and/or what it does.&lt;br /&gt;
* &amp;lt;code&amp;gt;authors&amp;lt;/code&amp;gt;: a list of people who made the mod. Add your name(s) to this list.&lt;br /&gt;
&lt;br /&gt;
There are other fields in the &amp;lt;code&amp;gt;mod.json&amp;lt;/code&amp;gt; that may be relevant to your mod. Feel free to fill those in or remove them as you see fit.&lt;br /&gt;
&lt;br /&gt;
==== Updating &amp;lt;code&amp;gt;quilt.mod.json&amp;lt;/code&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;code&amp;gt;quilt.mod.json&amp;lt;/code&amp;gt; file, update the following fields.&lt;br /&gt;
* &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;: the mod id. This ought to be a unique identifier for your mod. It should have only lowercase letters and underscores. Generally, you can use your mod&amp;#039;s name, turned all lowercase, and replacing any spaces with underscores. For example, for a mod named &amp;lt;code&amp;gt;My Cool Mod&amp;lt;/code&amp;gt;, the mod id could be &amp;lt;code&amp;gt;my_cool_mod&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;: the name of your mod.&lt;br /&gt;
* &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt;: a short description of your mod, what it&amp;#039;s for and/or what it does.&lt;br /&gt;
* &amp;lt;code&amp;gt;contributors&amp;lt;/code&amp;gt;: a list of people who made the mod. Add your name(s) to this list.&lt;br /&gt;
&lt;br /&gt;
There are other fields in the &amp;lt;code&amp;gt;mod.json&amp;lt;/code&amp;gt; that may be relevant to your mod. Feel free to fill those in or remove them as you see fit.&lt;br /&gt;
&lt;br /&gt;
== Almost Done! ==&lt;br /&gt;
&lt;br /&gt;
With the mod template set up and configured, you are almost ready to start working on your mod. You may have to refresh your IDE for the changes to take effect. After that, it&amp;#039;s time to write some code!&lt;br /&gt;
&lt;br /&gt;
[[Category:Mod Development]]&lt;/div&gt;</summary>
		<author><name>Space Walker</name></author>
	</entry>
</feed>