mtr_extra:resourcepack:make:texture
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mtr_extra:resourcepack:make:texture [2025/11/11 22:26] – initial commit Navi | mtr_extra:resourcepack:make:texture [2025/11/11 23:12] (current) – Changed the title Navi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== How to add custom train models | + | ====== How to add custom train retextures |
| This guide will tell you how to retexture existing trains for MTR mod. | This guide will tell you how to retexture existing trains for MTR mod. | ||
| + | |||
| + | <WRAP center round important 90%> | ||
| + | |||
| + | **MTR4 format** is used in this tutorial. | ||
| + | |||
| + | </ | ||
| ===== Before we get started ===== | ===== Before we get started ===== | ||
| Line 12: | Line 18: | ||
| - A [[wp> | - A [[wp> | ||
| - A text editor. Using Notepad is sufficient, but you can use applications designed for coding such as VS Code. | - A text editor. Using Notepad is sufficient, but you can use applications designed for coding such as VS Code. | ||
| + | |||
| + | ===== Editing a texture ===== | ||
| + | |||
| + | * Go to [[https:// | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | Some train textures may share the same model (such as Class 802 and all LRVs). | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Open Bloackbench, | ||
| + | * {{ : | ||
| + | * Now you can select a cube to find its UV position and start retexturing. By clicking the eye icon to the right of each cube / group you can hide / unhide cubes. | ||
| + | * {{ : | ||
| + | |||
| + | ===== Adding a texture ===== | ||
| + | |||
| + | * Go to your // | ||
| + | |||
| + | * Then find the // | ||
| + | |||
| + | * Create a folder with a name that you want (for example: My custom signs) {{: | ||
| + | * Create a new folder inside of the existing folder called '' | ||
| + | * Upload a pack.png to your folder, this image will show in the resourcepack selection screen and should be 128x128. | ||
| + | * Download this template pack.mcmeta and put it into your resourcepack folder: | ||
| + | |||
| + | <code json pack.mcmeta> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | The pack format is what version of Minecraft the pack is for. If you are only adding MTR models or textures, this is not important. \\ However, if you feel the need to add a number, it is recommended to use 8 or 9, as they correspond to versions 1.18 and 1.19 respectively. \\ If a pack tells you it's "not compatible", | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Create a new folder named '' | ||
| + | |||
| + | * Create a text file inside the folder named '' | ||
| + | |||
| + | ==== JSON files ==== | ||
| + | |||
| + | The '' | ||
| + | |||
| + | <code json mtr_custom_resources.json> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== Adding your custom texture ==== | ||
| + | |||
| + | * Create a folder under '' | ||
| + | |||
| + | <WRAP center round important 90%> | ||
| + | |||
| + | Note that you can only use a-z, 0-9, - and _ for the folder name. CAPITAL LETTERS, white spaces and any other characters are **not acceptable.** | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Add in the custom icon that you wanted to use. | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | Typically, an icon for signs is 128 x 128 in size. | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Registering the sign data ==== | ||
| + | |||
| + | * Return to the '' | ||
| + | * Replace the '' | ||
| + | * Replace all values in '' | ||
| + | |||
| + | <WRAP center round tip 90%> | ||
| + | |||
| + | If you want to have a train without the door overlay, simply remove the models with door overlay properties and models defined. | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Save the JSON file. | ||
| + | |||
| + | <WRAP center round important 90%> | ||
| + | |||
| + | Please remember to validate your JSON file. Websites such as [[https:// | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Adding it to the game ==== | ||
| + | |||
| + | * Open Minecraft, and go to {{: | ||
| + | * Apply the resource pack, and press {{: | ||
| + | * Your custom train should now show in the game. | ||
| + | |||
| + | |||
mtr_extra/resourcepack/make/texture.1762899972.txt.gz · Last modified: 2025/11/11 22:26 by Navi