Code Monkey home page Code Monkey logo

schematic's People

Contributors

1b8 avatar rom1504 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

schematic's Issues

Examples not working on Master or Dev

Am I doing something wrong here? I've tried to run the examples, but can't seem to get it to work. Even on the dev branch.

Could you possible provide more details on how you get this to run? It could be my node version or something. You may want to consider adding something like this to your package file:

...
  "engines": {
    "node": "0.12.7",
    "npm": "2.11.4"
  },
...

So, I (the user) know what version you are running for npm/node on your repo.

But yeah, any help would be really incredible to get this to run. Thanks so much!

Try to use prismarine-block, prismarine-item (and maybe prismarine-entity)

The purpose of these prismarine-* libs is to put things in common between different js+minecraft project. Currently mineflayer and flying-squid use them.

It would be nice to try to use them here too so other projects can use this lib easily.

That would probably require some changes in these prismarine- libs, but that's okay, if we can find a common ground providing more features for everybody, that's better.

(of course that could happen later once you know more about what you need and all)

In practice for example, you could have a function that takes a raw item and return a prismarine-item (for this https://github.com/1b8/schematic/blob/master/lib/item.js), it seems like prismarine-item constructor would fit (https://github.com/PrismarineJS/prismarine-item#itemtype-count-metadata-nbt)

Schematic is not a function

Using the example snippet, I get an error.

const Schematic = require("schematic")("1.9") 
var Schematic = require("schematic")("1.9")
                                    ^
TypeError: require(...) is not a function

Using node v9.8.0

Update node-minecraft-data dependency

In package.json (https://github.com/1b8/schematic/blob/master/package.json#L18) it looks like schematic is only using ^0.14.0 for minecraft-data.

https://github.com/PrismarineJS/node-minecraft-data is on version 0.17.0. Would it be a good idea to update this dependency version to get newer block data?

I thought that since it had the ^ before the 0.14.0 it would still actual download 0.17.0, but it doesn't seem to do that. My node_modules has minecraft-data at 0.14.0.

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.