Giter VIP home page Giter VIP logo

anvilmapper's Introduction

Anvil Mapper

Usage Instructions:

  • Copy the contents of the world folder that you want mapped to 'world'.
  • The '*.mca' region files should now be in the 'world\region' folder.
  • Run 'run.bat'.
  • Generated region images will be output to 'images'.
  • Open 'index.html' in a web browser to view the map.

Compilation Instructions:

  • Depends on the region file code in MapWriter so you will need to clone MapWriter from GitHub to build AnvilMapper.
  • Compile using javac: javac src\anvilmapper\AnvilMapper.java -sourcepath src -sourcepath ..\mapwriter\src -d bin
  • Make sure that you replace "..\mapwriter\src" with the directory you cloned mapwriter to.

anvilmapper's People

Contributors

daveyliam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

anvilmapper's Issues

Please add a license for others to fork and work on it.

Might we request a license be added to this and MapWriter so that myself or others can port these to newer versions of Minecraft.

Without a license we can't port this or publish it to CurseForge (the new mod launcher/distributor modders and players use now to play modpacks and share mods) and maintain it without it breaking licenses and such.

https://choosealicense.com/

Hope you are well and that we hear back soon so that we can bring back this great old mod!

Map can't display negative x coordinates

using index.html i am unable to see the negative half of the map.
I was able to work around this issue by essentially shifting the map and adjusting the coordinates.

To do this, i adjusted three lines. adding a value of '128' to all of them.

offset new markers
position: new google.maps.LatLng(y / 512, (x / 512) + 128),

offset the starting position
center: new google.maps.LatLng(0, 128),,

offset the image to load
return 'overworld (dimension 0)/images/z' + z + '/' + ((coord.x-(128*z))) + ',' + coord.y + '.png';

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.