mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-21 20:52:21 +00:00
b92d4b7af4fe8167438992239bc459f886307612
Plain-JVM coverage for the map half: add stores the tile unflagged, remove replaces the entry rather than dropping it, entries are keyed by coordinate value rather than identity, and clear empties everything. Forge server coverage for findTile, which needs a world. It pins the branch that is easy to misread: the removed flag only suppresses the warning, and a tile flagged removed is still returned, because the Some pattern matches regardless of the flag and the reference's trailing null case is unreachable. The empty-cache path throws with a message starting 'DC: Client multipart @'. 114 plain-JVM tests, 13 Forge server tests.
ForgeMultipart
An API for dynamically handling different functional parts in the one block space.
Requirements:
- The latest version of CCL (files.minecraftforge.net/CodeChickenLib/)
- Forge
- A scala compatible IDE and project (For eclipse, download the scala eclipse plugin and right click on the project -> Add Scala Nature)
If you only want to use the API and not modify it:
- Download the latest dev version from files.minecraftforge.net/ForgeMultipart/
- Download the latest dev version of CCL.
- Place both mods in your /libs/ folder and link them as libraries in your IDE.
Implementation of all parts of the API should be clean and easy in Java. The minecraft multipart mod is implemented in java as a test case.
Languages
Java
98.7%
Scala
1.3%