Giter Site home page Giter Site logo

amuletscripts's Introduction

AmuletScripts

Small utility scripts for editing minecraft worlds using https://github.com/Amulet-Team/Amulet-Core.

Tested with Python 3.9, Minecraft 1.18. Should work with any Python 3 and any version of Minecraft supported by amulet (currently 1.12-1.18).

Please, create backups of your worlds before running external tools to modify them.

Spawner Primer

Sets the Delay tag of all of the mob spawners in a given world to 0s.

Usage: python SpawnerPrimer.py <world>

Dependencies: pip install amulet-map-editor pip install tqdm

Cartographer Updater

Updates enchantments and mob ability tags from old cartographer versions.

Usage: python CartoUpdater.py <world>

Dependencies: pip install amulet-map-editor pip install tqdm

World Translation Extractor

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")
    • Signs: text1-4
    • Lecterns: Book
    • Jukeboxes: RecordItem
  • Entities

    • Name
    • Items
    • ArmorItems
    • HandItems
    • Inventory
    • Villager offers
    • Passengers
  • 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 WorldTranslationExtractor.py <world> (Modifies world, outputs default_lang.json in the working directory)

Dependencies: pip install amulet-map-editor pip install tqdm

amuletscripts's People

Contributors

5uso avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.