Skip to content

Moggla/MC_Language_Formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What it does

Helpful tool to change the format (e.g. color) of your resourcepack text for all language.

Example Resourcepack: Dark Theme Resoucepack

Basically it turns this

#  Comment style 1: formatlist template
// Comment style 2: formatting codes can be found here https://minecraft.gamepedia.com/Formatting_codes

"advMode.mode.auto":                    "-Replace-"
"advMode.mode.autoexec.bat":            "§fNew Name"

"advMode.mode.redstone":                "Add In Front -> 
"advMode.mode.redstoneTriggered":       "§4

"advMode.mode.sequence":                "Add In Front -> §* <- Add At Back
"advMode.mode.unconditional":           "---§*---

"entity.minecraft.villager":            "§* <- Add At Back
"entity.minecraft.villager.armorer":    "§*---

into this

{
  "advMode.mode.auto":                    "-Replace-§r",
  "advMode.mode.autoexec.bat":            "§fNew Name§r",
  "advMode.mode.redstone":                "Add In Front -> Impulse§r",
  "advMode.mode.redstoneTriggered":       "§4Needs Redstone§r",
  "advMode.mode.sequence":                "Add In Front -> Chain <- Add At Back§r",
  "advMode.mode.unconditional":           "---Unconditional---§r",
  "entity.minecraft.villager":            "Villager <- Add At Back§r",
  "entity.minecraft.villager.armorer":    "Armorer---§r"
}

for all languages.

How it works

This tool will automatically extract the language files from your local Minecraft Java edition. Then it will change these language files based on your format list which you provide so you can use it for your resourcepack.

Create executable

Run pyinstaller -F .\MC_Language_Formatter.py --windowe --icon=test.ico or download Windows executable here

About

Format all Minecraft language files with a simple template.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages