90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
Added support for ListPoolElement
s, structure elements with multiple variations. Minecraft currently uses this for the Pillager Tower.
Added a ListPool
builder to help you generate the ListPoolElement
. Here's how one would use the builder to reconstruct the Pillager Tower element:
ListPoolElement lpe = FabricStructurePoolRegistry.ListPool.builder()
.addStructureElement(new Identifier("minecraft:pillager_outpost/watchtower"))
.addStructureElement(new Identifier("minecraft:pillager_outpost/watchtower_overgrown"),StructureProcessorLists.OUTPOST_ROT)
.addProjection(StructurePool.Projection.RIGID)
.buildListPool();
To register you element to the pool you want to modify, simply call registerList
:
FabricStructurePoolRegistry.registerList(new Identifier("minecraft:pillager_outpost/towers"),1,lpe);
Dependencies
Files
structurized_reborn-1.18.2-02.jar(17.4 KiB) Primary Download
Details
Licensed MIT
Published 2 years ago
Updated 20 days ago