-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example doesn't compile #44
Comments
And if I check out 2.x, I get various exceptions for different worlds. Is to be expected? Is there a version of Substrate that works on Minecraft 1.12+? Otherwise, is there a tool that will allow me to load up a world, programatically read and edit the blocks, and then save? J2Blocks works great, but only in one direction (i.e., it can create and save worlds, but can't load existing ones). Thanks for any guidance you can provide :) |
For the example, try changing it to use Are you getting exceptions in your own worlds with the 2.x code? What kind of exceptions? I have focused what new work I do on 2.x as it supports the "new" block names, currently up to 1.12.2. I haven't recently tried to load a full world though, so I suspect there may be some problems with some nbt data. If you can give me more info (or the world) I can look into it. |
Thanks! The commits write a story: https://github.com/hypehuman/Substrate/tree/hypehuman-debug This is my attempt to get my world to load with Substrate. First I created a new test that uses my world and attempts to run the example on it. The world comes back null, I think because there was gold ore in my inventory. Then I entered the world and cleared my inventory in-game. After that it does manage to load a non-null world, but it crashes at Chunk 1477 of 2152. Let me know if anything is unclear. Thanks! |
I have since used Substrate successfully on a few worlds, so the problem appears to be specific to a few of them. |
I tried running the example code on the Introduction page of the wiki, but it doesn't compile against the latest version of the source code. I tried changing it to this:
But there are 0 chunks in the ChunkManager when I run it on "Substrate\Substrate.Tests\Data\1_9_2-debug".
The text was updated successfully, but these errors were encountered: