This guide will tell you how to add signs, sounds, etc. to your resource pack.
MTR4 format is used in this tutorial.
assets
.{ "pack": { "description": "put your pack description here", "pack_format": 9 } }
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”, just remember that the only thing that changes that is this number, so it really doesn't say much.
mtr
in the assets folder.mtr_custom_resources.json
The mtr_custom_resources.json
defines all custom resources that you want to add. The template is provided below.
{ "vehicles": [], "signs": [], "rails": [], "objects": [], "lifts": [] }
mtr
with a name that you want (for example: custom_signs
).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.
Typically, an icon for signs is 128 x 128 in size.
mtr_custom_resources.json
. Inside the square brackets of “signs”
, add the following code.{ "id": "my_custom_sign", "textureResource": "mtr:custom_signs/custom_icon.png", "customText": "你好|Hello", "small": false, "flipCustomText": false }
id
to an ID that you like. Only a-z, 0-9, -, _ and ! are accepted.textureResource
with the path to the icon.customText
with any text that you want to render. Use a vertical bar (|) to separate between two languages.small
to true
if you want the icon to be rendered with a small padding around.flipCustomText
to true
if you want the text to be rendered to the right.
Please remember to validate your JSON file. Websites such as JSONLint may be used to validate your JSON. Minecraft will NOT load any custom resources in a mtr_custom_resources
that is invalid!