Note: All default procedure blocks use this way. _amazing_block=Get JSON logic property %1 of %2ī_amazing_block.tooltip=Split JSON objects with a comma (e.g. To add a tooltip to your block when the user moves the cursor on the block, simply add a new line finishing with ". This number will be its place in the argument list of the JSON file. To use one or multiple arguments, simply add % + the argument's number. When you are inside a localization file, add a new line starting with " =" and then, simply write the text to display on the block. You can see all suffixes in the built-in plugin named " mcreator-localization". To add other language support, you can add _fr_FR to support French, _it_IT to support Italian, etc. It has to contain all English translations. Then, add a new file named " texts.properties". Every localization file has to be inside "base_root/lang/". Localization files are the files used by MCreator to be able to translate the UI. To set the text, you have 2 options, localization files or integrated into the JSON file Localization files Begin with the Minecraft type (entity, gui, world, world_data (world getters), etc.) except for some exceptions.Not contain other language words (English should always be used).The name of the file is important as it will be the block's ID. Then, all of your JSON files will have to create there. To be seen by MCreator, JSON files defining procedure blocks have to be in the base root of the plugin (with the plugin.json) and then, create a new folder named " procedures".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |