HomeJavaModsMegastructure block
Megastructure block
ModsJava

Megastructure block

by itsjustnil · on Modrinth

A structure block that breaks the constraints of regular structure blocks and stores chunk-sized parts of the desired area in different consecutive NBT…

⬇ Download on Modrinth

The megastructure block is similar to a regular structure block but it breaks the size limit of the vanilla one.

This mod is a compulsory dependency for worldgen systems that use megastructures in their generation logic.

This block works similar to vanilla, but with two major changes:

Instructions

The megastructure block is only obtainable via the /give command

SAVE

Works as a regular structureblock with the size of the area to save and the offset to move said area around.

There is a "DETECT" that doesn't work because the megastructure block does not have a proper corner detection capabilities. (The "delimiter mode" does nothing at the moment)

There is a button to toggle wether special blocks like air and entities are saved on the megastructure.

The block automatically prepends any inputed structure name with the minecraft namespace followed by the "mgst_" prefix and the name you inputed.

You can use your own namespace instead.

ATTENTION!

For now the blocks saves all the width and length of all the chunks that contains part of the stabilished area, meaning that that "buffer area" will also be placed on a LOAD opperation.

LOAD

Also works as a regular structure load with the name of the megastructure to load (including the "mgst_" prefix) and the offset

ATTENTION!

For now, the offset and the block position are ignored and the megastructure starts to load on the corner of the chunk closest in orientation to the origin of coordinates


For developers

This mod can be downloaded as a packaged dependency for a mod and also includes the classes and registries needed to spawn megastructures in the world programatically. If people are interested, a doc will be created in the future

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more