Giter Club home page Giter Club logo

minecraftmapart's Introduction

Minr Script Minecraft Map Art Maker

A program to generate scripts in Minr Script Code which automatically builds map art in Minecraft from a reference PNG.

Requirements

Installation

Download file as ZIP, extract and run mapmaker.py.

Make sure the image file you want to convert into a map is in the same directory as the program. You may have to specify a complete file path when inputting an image.

createCommand(filename, baseBlock='glass')

Takes the name of an image file in PNG form as input. File should ideally be 128x128 pixels in size - if not, it will be scaled down to this size. If you know the primary background block of your map art, specify it as an OPTIONAL second argument, and your script will be slightly more optimised. For most cases, adding this is entirely unnecessary.

Your script will be uploaded to paste.minr.org, and a function will be generated for you. This function should be sent to the admins to run.

Example Usage - Module

createCommand('cat.png')
createCommand('map_logo')
createCommand('blue_ocean')
createCommand('blue_ocean', 'blue_wool') # script is shorter and less laggy

Running as Standalone File

You can also simply run the file, and instead of manually calling the function in the console, enter filenames into the input fields.

Enter your image filename here ->  # type an image filename here and press return

Feedback

If you encounter any issues while using this program, either while running this code or in-game, please message me on Discord or file an issue here. Also, feel free to suggest improvements, or create a pull request!

minecraftmapart's People

Contributors

ak1089 avatar

Stargazers

 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.