Megastructure Block

Quick rating

Megastructure Block

No reviews yet

A structure block that breaks the constraints of regular structure blocks and stores chunk-sized parts of the desired area in different consecutive NBT files that can also be loaded back by the same block

World Gen Improvements
Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Optional

About

Project Details

Type
Mod
License
GNU General Public License v3.0 only
Latest Version
megastructureblock-neoforge-1.21.11-1.0b.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

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:

  • Firstly, it serializes structures differently:
    • This block captures the whole chunk-sized area (width and length) of any block inside the structure area. The height encompasses the regular height of the structure (from the megastructure block to the set height).
    • Each chunk is serialized as a different regular encoded structure. This technically means one can load individual structure chunks through a regular structure block
    • The serialization also includes a "master nbt file", that includes the header data necessary to reassemble all the chunks of the overall megastructure correctly into the world.
  • This means, secondly, there is no theoretical structure limit other than what your PC is capable of. I have managed to serialize and deserialize a 100 x 100 block (7x7 chunks) correctly as well as other bigger tests no problem

Instructions

The megastructure block is only obtainable via the /give command

SAVE

Works as a regular structure block 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.

  • For example, if the name of your structure is "bigcastle", the header file of the megastructure will be identified as "minecraft:mgst_bigcastle"

You can use your own namespace instead.

  • For example, if you are making the "bigcastle" megastructure for the "bigworld" namespace, you can write the name as "bigworld:bigcastle" and it will be saved as "bigworld:mgst_bigcastle"

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

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:

  • Firstly, it serializes structures differently:
    • This block captures the whole chunk-sized area (width and length) of any block inside the structure area. The height encompasses the regular height of the structure (from the megastructure block to the set height).
    • Each chunk is serialized as a different regular encoded structure. This technically means one can load individual structure chunks through a regular structure block
    • The serialization also includes a "master nbt file", that includes the header data necessary to reassemble all the chunks of the overall megastructure correctly into the world.
    • This means, secondly, there is no theoretical structure limit other than what your PC is capable of. I have managed to serialize and deserialize a 100 x 100 block (7x7 chunks) correctly as well as other bigger tests no problem

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.

  • For example, if the name of your structure is "bigcastle", the header file of the megastructure will be identified as "minecraft:mgst_bigcastle"

You can use your own namespace instead.

  • For example, if you are making the "bigcastle" megastructure for the "bigworld" namespace, you can write the name as "bigworld:bigcastle" and it will be saved as "bigworld:mgst_bigcastle"

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

Screenshots

Gallery

  • structureblocks.png
    structureblocks.png structureblocks.png
  • Structure and Megastructure blocks
    Structure and Megastructure blocks Regular Structure block to the left and megastructure block to the right

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works