Git Product home page Git Product logo

libschematic's People

Stargazers

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

Watchers

 avatar  avatar

libschematic's Issues

Using and distributing LibSchematic

Hi!
Technically this isn't an issue with LibSchematic, it's just the only way I found to contact you.
First off, thank you for creating such an extensible and easy-to-use Schematic API! I've been using it for almost a year for my mod (Dota 2 Items, it's here on Github), and it has been working nicely.
Users of my mod needed a compiled jar of LibSchematic, so I built one and redistributed it via Dropbox (I still am). I even added an arbitrary version 1.03 after you committed some bugfix. At first I thought it was an okay thing to do, given the license you've put on LibSchematic.sh (but strangely, not on LibSchematic itself). I apologize for not having explicitly asked you earlier.
Now I am asking you in what form I should be using the API, how I should provide access to it for the users and how to credit you properly (currently I mention you in my mcmod.info and in credits on MC Forums and PMC pages).

NPE @ PasteToWorld

Hi!

I'm just playing around with the lib, trying to get familiar with it and I got an NPE upon trying to paste from a schematic into the world in some chunks.

The first time I tried to load a schematic it worked perfectly, then when I moved into some other chunk's I crashed due to an NPE. If I returned to the first chunk I found that I could load schematics there, without crashing.

I believe I found where it happens but before that, heres my crash log:
http://paste.minecraftforge.net/view/82692348
I have a block (BlockSchematic) which on activation simply loads the schematic.
I believe the implementation of it to be unimportant, as it's a ripoff from your LibSchematic.sh code.

The crash happens on line 38 of PasteToWorld.java
it does not happen at once, it seems to run a few iterations before crashing. It might just be in this chunk and different in others but in my current chunk it's crashing on the 64th pass of line 38.

The reason for the crash is as far as I can tell that storageArray is null at the time.
Indicating that chunk.getBlockStorageArray() returned null on line 36.

Implement schematic rotation

It would be really nice to have the possibility to rotate schematics in multiple uf 90 degrees.

This can be a bit tricky with doors, beds, stairs, ...

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.