Bit of an update for those who are interested. I'm using RedLib as a dependency and using MultiBlockStructure to save and paste blocks with block...
Hey, sorry for the late response. I'm on vacation right now haha. .update didn't seem to do anything sadly. I'm just using a library for this instead.
Hello! I am quite stumped as I'm trying to set the block data given a string. I store an entire map in a text file with the block's state as a...
Yep I'm planning on storing the block data in the Block class. That's the next step haha.
@CraftCreeper6 TYSM! It works :D Really appreciate your help man. Tyy [IMG]
Okay. Thank you so much for your help! Lemme know when you find something. I'll also do some digging in my spare time
@CraftCreeper6 Okay I just made it public. https://github.com/Eltik/Testing Thank you so much for the help!
Sure; no problem. What's your Git?
Unfortunately that makes everything air. The location is static. Location blockLocation = new Location(start.getWorld(), x, y, z); Location loc =...
Interesting... It deletes the main world. So I guess it works, but it doesn't save the correct type/location. [ATTACH]
There is yes. The locations are logged correctly, but the position is incorrect and the map itself isn't pasted correctly... I guess I'm kinda...
@CraftCreeper6 Sure. Here: https://sourceb.in/s0vs2qdgcC
@CraftCreeper6 Ah mb. I did run it. I forgot to add it to the sourceb.in. Here's a better example: https://sourceb.in/Z2eUr5KNha [IMG]
@CraftCreeper6 Ahh thank you! Unfortunately it doesn't seem to be working... This is what I have right now: createMap public void...
Ah I see. So basically the getBlocks method gets the offset of each block so that when spawning in the block, all I have to do is get the offset...
@CraftCreeper6 What if I want to change the offset? I guess what I'm saying is that the offset changes for each map. I provide the offset when...
@CraftCreeper6 public ArrayList<Block> getBlocks(Block start, int radius) { ArrayList<Block> blocks = new ArrayList<Block>(); for...
@CraftCreeper6 OOPS I forgot to put the block class. https://sourceb.in/95EUjX37B1 I updated the createMap method but it still doesn't seem to...
@CraftCreeper6 Ah I see. Thank you! So then I won't really have to update the text file for the entire map. I'll try the code out and see how it...
@CraftCreeper6 Ohhhh I see. Thank you so much. So basically: public ArrayList<Block> getBlocks(Block start, int radius, Location offset) {...
Separate names with a comma.