Skip to content

3093FengMing/WorldTranslationExtractor

Repository files navigation

World Translation Extractor Modified (WTEM) 2.92

Forked by WorldTranslationExtractor

Information

This version changes some things. Needs amulet-core and tqdm.

Install: pip install amulet-map-editor, pip install tqdm

Changes

  1. Allow to keep duplicate keys.
  2. Allow to backup the world.
  3. Support signs on 1.19+, chiseled bookshelves, decorated pots (1.19+), command blocks, beehive and bee nest.
  4. Convert to standard JSON format to generate language file.
  5. Add config.
  6. Support display entities.
  7. Support marco commands in datapacks.

Tip

  1. WTEM cannot change the target selector name= and the container's Lock tag, but it will be recorded for later reference and correction.

Original Readme

The underlined and bold text means that this feature is newly added.

Here is the original README.md:

Scans a full world searching for json "text" components and replaces them with "translation" components, generating a lang file to be used with a resourcepack. Tested in 1.16.5 and 1.19.3.

Finds json components in:

  • Blocks

    • Spawners: SpawnData, SpawnPotentials
    • Containers: items, container name ("chest", "furnace", "shulker_box", "barrel", "smoker", "blast_furnace", "trapped_chest", "hopper", "dispenser", "dropper", "brewing_stand", "campfire", "chiseled_bookshelf", "decorated_pot")
    • (Hanging) Signs: text1-4, front_text, back_text
    • Lecterns: Book
    • Jukeboxes: RecordItem
    • Beehives & Bee nests: Bees
    • Command block: Command
  • Entities

    • Name
    • Items
    • ArmorItems
    • HandItems
    • Inventory
    • Villager offers
    • Passengers
    • Text Display
    • Item Display
  • Items

    • Name
    • Lore
    • Book pages
    • Book title: adds a customname in case it doesn't already have one
    • BlockEntityTag
    • EntityTag
  • Scoreboard: objective names, team names and affixes

  • Bossbars: names

  • Datapacks: functions, json files

  • Structures: blocks, entities

Usage: python wtem.exe <world> (Modifies world, outputs en_us_*.json in the working directory)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages