TaylorWilton / Schematic2Structure

Utility to convert schematics to Minecraft's .nbt file format for use with the Structure block
MIT License
17 stars 3 forks source link

How do i run this tool? #5

Open Drachenbauer opened 4 years ago

Drachenbauer commented 4 years ago

Hello

I downloaded your tool and opened it in intellj idea. Wich running configuration do i need to run it and load my schematic into it and convert?

TaylorWilton commented 4 years ago

Hey @Drachenbauer,

Here's the configuration I have, which seems to still work - converting the Wood Pile schematic in the /schematics folder in this repo. You should be able to replace that argument with your own schematic location. image

As you can probably tell, I kind of abandoned this project, so no guarantees that you'll actually be able to convert a schematic. (also, the blocks and properties files are very out of date)

Good luck, and let me know how it works out!

Drachenbauer commented 4 years ago

I copyed my schematic into the schematic´s-list, that came with this repo. this may make it easyer to use it as the agument.

if i fill this formular with this contents, the first row (Schematic2Structure) turns red and get´s an "!" Why?

The treeview shows the files in the src-folder as java-files, not as classes... how do i fix this?

It seems like i opened it the wrong way into IntelljIdea How do i do it right?

Drachenbauer commented 4 years ago

Can you please tell me, how i open your project the right way in IntelljIdea to make your run-configuration compatible with it?

I still cannot use the file "Schematic2Structure" as the main-class in the run-configurations...

Drachenbauer commented 4 years ago

Now i was able to run it in eclipse.

but it sayd, my schematic is too large.

I downloaded this schematic from the minecraft world page and didn´t know, what´s the exact look of the structure. I knew, that it was bomb, the black bird from the Angry Birds. but i did not know, if it was a flat pixel-picture or a 3d statue.

Then i opened it in an online schematic editor and found out, that it´s a giant pixel-picture-block-wall with more than 500 blocks edge length Each pixel in the graphic is made out of 4x4 blocks. it looks like the creator used an automatic algorythm, that converts pixel-pictures into giant block-walls.

So i don´t need to convert it for my world any more. I´m looking for Angry Birds Statues, big enough to have a base inside, not for flat pixel-picture-block-walls or -floors.

TaylorWilton commented 4 years ago

Hey, sorry for the lack of reply - I missed your comment last week.

Not sure why IntelliJ is causing you problems, though based on your description you might want to check that the Project Structure is set up properly.

Anyway, glad to hear you got it working in Eclipse.

In terms of size, Structure Files have a limit of 32x32x32 blocks for the Java edition (64x64x64 for the Bedrock edition, which this tool doesn't support)

(See https://minecraft.gamepedia.com/Structure_Block#Usage for more details)

You'll either need to find a smaller schematic, or break it into multiple parts.

Best of luck!