Port to 1.21
Port up to 1.20/1.20.1. 1.19.4 also still supported with this version
Port to 1.19.3
Updated to 1.19
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);
Initial upload