Git Product home page Git Product logo

blockscraper's Introduction

BlockScraper

Generate dynmap renderdata for mod blocks

Info

This scraper works on the assumption that the given mod(s) use the standard blockstate and blockmodel json formats. It will automatically attempt to build a dynmap model definition from a given blockstate's model data.

Alternatively, a preset model can be specified by adding the field "dyn_model": "<preset>", to the blockstate json.

Usage

This mod can be used client-side or server-side to generate the dynmap data - in both cases, dynmap-forge must also be installed.

All data is ouput to dynmap's config folder found in the root of the game/server directory (namely dynmap/renderdata and dynmap/texturepacks).

On the client the data is generated when entering a world.
On the server, the data is generated on each start-up.

Available Presets

The following presets assume the mod block shares the same metadata as the vanilla equivalent (rotation data etc.)

  • "door"
  • "fence"
  • "pane"
  • "plant"
  • "wall"

blockscraper's People

Contributors

dags- avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

blockscraper's Issues

Not working for Chisel 2

Not generating any files for Chisel 2 when run; it works for the other mods. Using Direwolf20 1.10

Does this work / how to use?

Hey, no noob to the standard mod scraper provided with Dynmap, but as it doesn't wokr with 1.10, I'm trying to get this to work. Doesn't seem to have to created a folder; any instructions?

Detect mod changes

Maybe keep a record of mods & their versions that have already been scraped so that we don't unnecessarily scrape them again in future start-ups.

Custom assets

Have a 'texture overrides' directory which gets added to the assets stack after mod assets.
This way custom textures can be used to override those provided in the mod jars.

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.