Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20–1.20.1
1.19.3–1.19.4
1.19
1.18.2
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published 2 years ago
Updated 2 months ago
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
Metadata
Release channel
BetaVersion number
1.18.2-02Loaders
Game versions
1.18.2Downloads
197Publication date
April 14, 2022 at 9:52 PMPublisher
fzzyhmstrs
Owner