Skip to content

Transform your Minecraft NBT Structure file into small blocks

License

Notifications You must be signed in to change notification settings

Non0reo/MiniStructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniStructure

MiniStructure is a software developed in C# which been made after a map making issue. This software let you put a .nbt Minecraft file, select some option and get a .mcfunction file which, when executed, spawn a small version of your structure.

How Make It Work?

This software is meant to be an extremely simple tool to use

  • Open or Drop your .nbt Structure file
  • Select your options and the size of your structure
  • Click on Create, select the location for the file
  • Your .mcfunction is now created!

Make Your Structure UI Cave_demonstration

How Does It Work?

The mini structure is made out of blocks placed on the head or in the hand of Armor Stand depending on the size you selected. The software take all of the informations of your structure and converting them to a .mcfunction file that you can execute via the /function after having put the file into a datapack. But if you use this software, you probably know how all of that works ._.

Size Comparison

The Limitations

There is a lot of limitation which, I hope, will be corrected in the future...

For now, only the facing, axis, snowy, half and type blockstate works. facing only works for block which can be rotated to the south, west, east and north. There is right now no up or down compatibility (so, for example, piston or upside down stairs won't work). However, all others blockstate works perfectly well!

All blocks that have no render in hand like water, cocoa, piston head, corner stairs or also lit redstone lamps won't be present and converted on the structure (But there will still have an Armor Stand at the emplacement)

Project Things

It's my first C# Project, and It's also my first really big coding project at all :3 So, the code can be a little bit nasty at some point, I know. I discover C# at the same time I was making this project. So If you see some strange methods or useless variable, It's alright, It's ignorance...