Coder Social home page Coder Social logo

minecraft-pixelmap's Introduction

Minecraft PixelMap

This is a python script that generates an overhead map for Minecraft with one pixel per block, similar to the in-game map system. This was created for use with 1.13, since other mapping software has not been updated. It only works with maps that have been fully converted to the 1.13 format (or were generated in 1.13 in the first place).

The script generates one image per region. Subsequent runs will only generate new images if the region file has been updated. It also generates a javascript file that contains an array of all the images. This can then be used in a webpage (the example index.html uses this). These could theoretically be used with something like Leaflet, but I haven't bothered to try it.

This script is provided as-is. It was created for my specific server, but should work in general. The code is messy, the result is imperfect, but it's good enough for my purposes right now.

Setup

You'll need to install Python. Then you will need the NBT library by twoolie. The easiest way to get this is to use PIP (pip install NBT).

You will also want to change the path variables at the top of the python script.

Example

Example Region Image

minecraft-pixelmap's People

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.