Postea
7 merged pull requests.
New Features
- #18 Refactored BlockReplacementManager, ItemStackReplacementManager, and added new transformer interfaces (ISimpleBlockTransformer, IComplexBlockTransformer, etc.) to support handler chains that return null for non-matching cases. - @C0bra5
- Added: ISimpleBlockTransformer, IComplexBlockTransformer, ISimpleStackTransformer, IComplexStackTransformer, ISimpleItemTransformer, PosteaBlockStackTransformer, BlockAccessCompat, IDExtenderCompat, ExampleMigrators
- Migration: Update handlers in dependent mods (NewHorizonsCoreMod, CropsNH) to return null when unable to handle an item/block/tile entity, as noted in the PR body.
- #17 Added TriFunction interface and chunk parameter to tile entity transformer handlers, allowing access via
chunk.getBlock(x & 15, y, z & 15)during world initialization. - @SuperSoupr- Added: TriFunction interface, chunk parameter to tile entity transformers
Changes
- #25 Changed metadata type from short to int in ChunkFixerUtility, SimpleTransformationMap, SimpleTransformationRegistry, and TransformerRegistry. - @Ruling-0
- #21 Changed transformation handler interfaces to use primitive boolean instead of Boolean wrapper, and added NotNull annotations to enforce non-null returns. - @C0bra5
- Migration: Update dependent mods (WitchingGadgets, GT5-Unofficial, GTNHCoreMod) to use new non-nullable transformation handler interface.
Bug Fixes
- #23 Corrected EventPriority annotation on ChunkEvent handler in Postea main class. - @UltraProdigy
- Fixed: ChunkEvent annotation
- #22 Added PosteaLateLoadingPlugin, created MixinDataRegistryImpl targeting ChunkAPI's DataRegistryImpl, increased mixin order priority for write operations, and updated ChunkAPI/EndlessIDs dependencies. - @C0bra5
- Added: PosteaLateLoadingPlugin, MixinDataRegistryImpl, late mixin phase
- Fixed: migrations broken by ChunkAPI overriding chunk read logic
- #15 Changed from FMLServerAboutToStartEvent to FMLModIdMappingEvent in Postea main class, as ID shuffling occurs in GameData.injectWorldIDMap which fires the latter event. - @SuperSoupr
- Fixed: numeric item ID remapping during world migration
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@C0bra5 (3), @Connor-Colenso (3), @Alexdoru (2), @boubou19 (2), @SuperSoupr (2), @UltraProdigy (2), @Ruling-0 (1)