Commit Graph
54 Commits
Author SHA1 Message Date
Ruling-0 da61bb97d7 Require every versioned transformer to implement all three passes 2026-11-25 19:21:33 -06:00
Ruling-0 bb88ee7ff7 Stamp transformed data with the current versions before it replaces the original 2026-11-25 14:46:00 -06:00
Ruling-0 477713f002 Correct versioned transformer threading, stack id and height map docs 2026-11-25 14:46:00 -06:00
Ruling-0 e3e0bcd685 Name the subject and versions in versioned transformer crash descriptions 2026-11-25 14:46:00 -06:00
Ruling-0 1f9213041b Keep the singleplayer host's saved player when its read fails 2026-11-25 14:45:59 -06:00
Ruling-0 93c77c7e5f Leave custom data untouched when a versioned transformer fails 2026-11-25 14:45:59 -06:00
Ruling-0 c7f139c53a Drop a parenthetical from the mapping gate doc 2026-11-25 14:45:59 -06:00
Ruling-0 fe28214bb6 Tidy readiness gate and player hook docs 2026-11-25 14:45:59 -06:00
Ruling-0 b0c79d9439 Move the player data hooks from Entity onto EntityPlayerMP 2026-11-25 14:45:59 -06:00
Ruling-0 7af0b24e3e Open the custom data mapping gate once the world's info has loaded 2026-11-25 14:45:59 -06:00
Ruling-0 be56859050 Make IVersionedTransformer.UNSTAMPED the only unstamped constant 2026-11-25 14:45:59 -06:00
Ruling-0 2336426e89 Clarify how CustomDataReplacementManager.stamp treats existing stamps 2026-11-25 14:45:59 -06:00
Ruling-0 557b486055 Add VersionedStackTransformer base for transformers that rewrite every saved stack 2026-11-25 14:45:58 -06:00
Ruling-0 f1b35bb96f Trim the versioned transformer context API 2026-11-25 14:45:58 -06:00
Ruling-0 67c695f79d Fix stale and missing columns in the versioned transformer height map rebuild 2026-11-25 14:45:58 -06:00
Ruling-0 032ecdcb49 Keep version stamps of absent transformers on rebuilt custom data roots 2026-11-25 14:45:58 -06:00
Ruling-0 05a424db34 Documentation cleanup 2026-11-25 14:45:57 -06:00
Martin Robertz b4c46e95be Merge branch 'master' into versioned-transformers 2026-11-01 12:37:59 +01:00
DarkShadow44 e590bbfb61 Add API to get transformed block (#28) 2026-11-01 12:35:57 +01:00
danyadev 82349735e4 better compat with other mixins for AnvilChunkLoader.readChunkFromNBT (#27) 2026-09-27 22:03:47 +03:00
Ruling-0 987ceffb0d Doc cleanup 2026-09-20 15:26:27 -05:00
Ruling-0 b03184a934 Gate custom data calls on a running server instead of the effective side 2026-09-15 08:47:41 -05:00
Ruling-0 49ef265f85 Treat a world without a saved id map as already mapped 2026-09-15 08:37:52 -05:00
Ruling-0 649fa9b5b9 Add custom world data transform API 2026-09-14 23:44:05 -05:00
Ruling-0 2e73e94ed1 Documentation cleanup 2026-08-29 19:23:11 -05:00
Ruling-0 1df9b851ee Announce version spans once per world and rebuild the height map after block id changes 2026-08-27 22:44:05 -05:00
Ruling-0 de78b11610 Carry player version stamps across respawns 2026-08-27 22:44:04 -05:00
Ruling-0 dbcfcbff48 Attach absent tile entity and entity lists to the chunk tag 2026-08-27 22:44:03 -05:00
Ruling-0 71d49fc7d9 Record only retired names in the world id table and strip FML's item discriminator 2026-08-27 22:44:02 -05:00
Ruling-0 ef4230fa86 Document versioned transformers and the retired id table 2026-08-27 20:01:46 -05:00
Ruling-0 ccdd37c38f Persist retired block and item ids per world and resolve transformers through them 2026-08-27 20:00:19 -05:00
Ruling-0 4f8e73f915 Run versioned transformers on player data read and write 2026-08-27 19:51:20 -05:00
Ruling-0 2e0b571550 Run versioned transformers at chunk read and stamp chunks on save 2026-08-27 19:49:25 -05:00
Ruling-0 99907e564c Add recursive item stack NBT walker 2026-08-27 19:45:59 -05:00
Ruling-0 490eefc6b7 Add logger, JUnit setup, and the versioned transformer API 2026-08-27 19:45:02 -05:00
Ruling-0 42b5e4d38c Extend block transformer metadata to int (#25) 2026-08-16 12:26:35 -05:00
UltraProdigy a803845017 Fix Incorrect Annotation on ChunkEvent (#23) 2026-03-16 19:49:10 +00:00
Guillaume MercierandAlexdoru b0df1a2444 Fix Chunk API Compatibility (#22)
Co-authored-by: Alexdoru <[email protected]>
2026-03-10 12:05:55 +00:00
Guillaume Mercier 2067bd1ab0 Enforce non-nullability of return values for transformation handlers (#21) 2026-03-01 17:31:08 +01:00
Guillaume Mercier c59ec9bb36 Add support for multiple mods remapping the same item/block/tile entity. (#18) 2026-02-28 20:31:23 +01:00
SuperSoupr 2641e10174 Provide chunk to tile entity transformers (#17) 2025-12-06 19:20:09 +02:00
SuperSoupr 85cacc679c Use FMLModIdMappingEvent for numeric id mapping (#15) 2025-12-05 11:41:36 +02:00
FalsePattern 46877823aa Compat patches for Vanilla/ChunkAPI/EndlessIDs (#8) 2025-05-01 11:08:07 -04:00
Jason Mitchell 0999b44caf Add nhlib explicit dep and stop using Tags.MODID/MODNAME (#11) 2025-04-26 23:21:34 +00:00
Jason Mitchell ff224e4b1f Significantly reduce Integer.valueOf() allocation spam (#9) 2025-04-27 01:07:47 +02:00
Darren Eberly 6c3668c405 more better fixing (#7) 2024-09-20 18:45:24 +02:00
Darren Eberly ef42dfc91f Rework block id/metadata conversions (#6)
* Initial conversion from NBT modification to ExtendedBlockStorage usage

* Handle block conversions during TileEntity transforming
2024-09-18 22:09:46 +02:00
Darren Eberly ebb2517488 Mixin ordering compat with NEID (#5)
* Mixin ordering compat with NEID

* spotless
2024-09-10 12:40:03 +01:00
NotAPenguin b60e19b434 fix the empty metadata array but now for TE transformer 2024-08-26 13:04:16 +02:00
Connor-Colenso cb9de2d290 Merge pull request #3 from GTNewHorizons/fix-empty-blockarray
Fix crash when metadata array is empty
2024-08-20 13:09:12 +01:00