Giter Club home page Giter Club logo

minecraft-map-manager's Introduction

Minecraft Map Manager

A tool to create, delete, and edit maps on a Minecraft world, and easily convert images to map art.

Compiling

How it works

Minecraft stores maps in the data directory of each Minecraft save. Each map is stored as an NBT file with the name map_[id].dat. The idcounts.dat file keeps a record of the latest map ID.

Each colour is stored in the map file statically; it does not get calculated everytime from the actual blocks. Hence the reason why you need to reload the chunks to update a map.

Because of this, map art can be stored as colours in the map file, without the actual terrain needing to exist. Minecraft Map Manager simply converts an image into a limited colour palette with some algorithms, and writes this data to a map file.

Since Minecraft Snapshot 19w02a (1.14), maps can be locked, meaning there is no risk of the map being overwritten if the chunks are reloaded.

Usage

Note

I wrote this tool in Visual Basic since I have to do it in college for some reason. It's not really of any use to me since I don't use Windows, but I'm planning to write an NBT library and LevelDB wrapper in C++ sometime, then make a cross-platform toolbox application that can do a plethora of different Minecraft related things.

minecraft-map-manager's People

Contributors

ryanbester avatar

Watchers

 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.