Confirmedusers
536
edits
(Created "Simple Item Tutorial" page) |
m (Intro and navigation.) |
||
Line 3: | Line 3: | ||
{{GameVersion|1.19.4}} | {{GameVersion|1.19.4}} | ||
__FORCETOC__ | __FORCETOC__ | ||
== Introduction == | == Introduction == | ||
=== Objective === | === Objective === | ||
In this tutorial, you will | In this tutorial, you will create an item - A simple wand! Although this item will have no real functionality, it will demonstrate how to create assets in json, as well as how to use shapes, textures, and lang files. | ||
=== Assets === | === Assets === | ||
Before starting, it is recommended you [https://github.com/Nateonus/vsmodexamples/releases/tag/SimpleItemTutorial download the workspace and assets] for this tutorial. The completed files can also be found here. | |||
This tutorial starts with the following assets: | |||
This tutorial starts with the following assets: | |||
* Mod Setup & Folder Structure | * Mod Setup & Folder Structure | ||
Line 23: | Line 19: | ||
* Item shape file | * Item shape file | ||
* Item texture file | * Item texture file | ||
=== Prerequisites === | === Prerequisites === | ||
This tutorial will assume you understand the following topics: | This tutorial will assume you understand the following topics: | ||
* [[Modding:Developing a Content Mod|Setting up a content mod.]] | |||
* [[Modding:Content Tutorial Basics|The functions of shape, texture and lang files.]] | |||
== | == Navigating Assets == | ||
Using the downloaded workspace, have a look at the files that currently exist. | |||
* ''modinfo.json'' - The mod info file, which registers your mod with the ID 'simpleitem'. | |||
* ''modicon.png'' - The mod icon file, which will be displayed on the mod manager menu. | |||
* ''assets/simpleitem/itemtypes/simplewand.json'' - An empty file, this is where you shall put the code for your item. | |||
* ''assets/simpleitem/lang/en.json'' - A sample language file, which is where you will add your translation values. | |||
* ''assets/simpleitem/shapes/item/simplewand.json'' - A shape file for the wand. | |||
* ''assets/simpleitem/textures/item/simplewand.png'' - A texture file for the wand. | |||
== Conclusion == | == Conclusion == |