#Schematic loading issue
1 messages · Page 1 of 1 (latest)
3
@thorny rover
Hey, I didn't realise how to make threads my bad 🥲
Alll gooood
So with BV3s you should be able to grab each coordinate no problem
Then you can create a bukkit location from them
So, I've been trying to make it so it iterates the schematics upon start up of the server, store those then use the relative locations when I start up the server yk?
So, it's looping and storing fine at the start
It's just the once pasted get the vectors and turn into locations part
Mind showing a piece of your code on where the issue is?
yeah sure 2s
I currently get
[11:39:47] [Server thread/INFO]: spawn: (0, 50, -150)
[11:39:47] [Server thread/INFO]: corners: [(-12, 20, -116), (13, 48, -144)]
So those are the relative locations to the schematic i think
Okay so are you trying to grab the Bukkit Location from the BlockVector3 locations?
yeah
So once it pastes it I wanna store the bukkit version of the blockvector3 locations idk if that makes sense at all
the previous thing I used called redlib gave me this https://github.com/Redempt/RedLib/blob/master/src/redempt/redlib/multiblock/Structure.java#L106-L124 and It's a shame worldedit doesn't have such a thing
Well how are you broadcasting those locations?
What do you mean by that, sorry?
These?
Where did you obtain those? By broadcasting the BV3s or?
Ahhhh, my bad i think so ye lemme check 2s
yeah, that's blockvector3's from the class i made
With BV3s you can simply get X Y Z
And then the world is whatever world youre using
Then store them somewhere like a data file
but isn't that x y z relative to the region
I mean you have the corners don't you?
in the storage yes
So, within the schematic when it's created you place certain blocks and I want to iterate the schematics upon start up and when you call for the schematic to be created it'll go to the storage and get the relative locations
What is this thread about?
devbukkit's issue
I'm trying to work out how to store relative locations for different schematics upon start up of the server and get them later when I go to build the mine
Schematic loading issue
It's harder because I don't have access to world edit in my main module so I can't store it correctly that easy