Posted June 19, 201510 yr I'm working on a mod where I need to save a part of the world so I made this algortihm: http://pastebin.com/6rUvHJfN but it simply return an empty compound. Any ideas?(i'm on 17.10 the blcokpos is simply stores x y z Sorry for my English
June 20, 201510 yr Author Now another problem happened: I finsihed the loading/saving code and when I tested it I got this: the loader/saver code http://pastebin.com/ApFXdeSe Sorry for my English
June 20, 201510 yr Author If you need the NBT that the code generates I uploaded here: http://www.fileconvoy.com/dfl.php?id=g8edfd55d669e7942999680907e24bcfcf85570150 and the blockpos class: http://pastebin.com/bq7uAeFj Sorry for my English
June 20, 201510 yr Author https://github.com/laci200270/skyblockgenerator to create a skyblock world go new world customize and in a worldtype select the custom one generate a new world and a structure should generate(its'a bit hard to test because is a void world so you need to fly up) and if you survived everything when you relog a new structure should generate if you want to save a new structure give a wand by /give Player skyblockgenerator:wandofsave and right click in one corner and shift right click on another corner and right click in air Sorry for my English
June 20, 201510 yr Author if you need the git file: https://github.com/laci200270/skyblockgenerator.git Sorry for my English
June 20, 201510 yr These are the things that need to be in a GitHub project. If you have these you can simply clone it, run gradlew setupDecompWorkspace and than your IDE stuff and you have it. No more than that. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 21, 201510 yr Author Sorry, I'm using a eclipse plugin that setups the gradle for me, added gradle in the new commit Sorry for my English
June 21, 201510 yr Author Did you tested with the pre-supplied world 'void'?If you fly up and relog a structure should generate.For me generates it: Sorry for my English
June 21, 201510 yr Author I found the problem!If nothing generates copy structure.dat to your config folder(it is on git root folder) Sorry for my English
June 21, 201510 yr Author Isn't working it.Latest code uploaded the github(doubled the number of rows a coloums and still not working tried to only add 1) Sorry for my English
June 22, 201510 yr Author Now everything works, except the tileentity loading back.Now I get this crash-report: http://pastebin.com/rTqHuUHw . The latest code is on github. Sorry for my English
June 23, 201510 yr Author https://github.com/laci200270/skyblockgenerator/blob/master/src/main/java/hu/laci200270/mods/skyblockgenerator/DATAFileFormatHelper.java#L117 this line is only crashes when first world load if on the first world load I remove and generate the world log out and reactivate it it doesn't crashes.It called on EntityJoinWorldEvent. Sorry for my English
June 23, 201510 yr Author Yes, I fixed it but the problem is with this code part: https://github.com/laci200270/skyblockgenerator/blob/master/src/main/java/hu/laci200270/mods/skyblockgenerator/DATAFileFormatHelper.java#L128-140 I already created the TileEntity, but still null Sorry for my English
June 23, 201510 yr Use World#setBlock() to place the block, and also the TileEntity if that block has one. You can then call TileEntity#readFromNBT() on the TileEntity gotten from World#getTileEntity() . Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 23, 201510 yr Author I'm already setting it: https://github.com/laci200270/skyblockgenerator/blob/master/src/main/java/hu/laci200270/mods/skyblockgenerator/DATAFileFormatHelper.java#L126 Sorry for my English
June 23, 201510 yr Then you don't need TileEntity.createAndLoadEntity() and that world.getBlock().createTileEntity(); Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
June 25, 201510 yr Please provide the exact crash report. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.