Structurized is a simple library focused on providing utilities for structures, features, jigsaws, and other world gen.
build.gradle
:
repositories {
...
maven { url 'https://jitpack.io' }
}
dependencies {
modImplementation 'com.github.Draylar:structurized:1.16-SNAPSHOT'
}
Structurized currently provides a callback that allows you to modify StructurePool
s in jigsaws such as villages. Say we wanted to add village/desert/houses/desert_small_house_1
to the plains house pool:
StructurePoolAddCallback.EVENT.register(structurePool -> {
if(structurePool.getUnderlying().getId().toString().equals("minecraft:village/plains/houses")) {
structurePool.addStructurePoolElement(new SinglePoolElement("village/desert/houses/desert_small_house_1"), 50);
}
});