mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-25 22:44:27 +00:00
test: pin multipart block name before upstream rename
This commit is contained in:
1 parent
f96faff85e
commit
0372a7f701
2 files changed
+6
No files matched your search
@@ -12,6 +12,11 @@ audit, before extending this list.
|
||||
|
||||
## Runtime and error behavior
|
||||
|
||||
The multipart block intentionally retains the pre-PR #54 unlocalized name `tile.multipart`.
|
||||
PR #54 (`2d050bd`) renamed it to `tile.codechicken/multipart`; `cb3bef7` reverted that part to preserve
|
||||
the established name. The block registry ID remains `ForgeMultipart:block`. This is an intentional rollback
|
||||
of the later upstream rename, not a divergence from the `1.7.12` reference.
|
||||
|
||||
| Area | Difference and consequence |
|
||||
| --- | --- |
|
||||
| Raw microblock recipe material lookup | Skips `MissingMicroMaterial`, whose recovery item is stone, so sawing stone selects the real stone material. Existing missing-material microblocks retain their recovery behavior. This fixes a pre-existing Scala bug. |
|
||||
|
||||
@@ -30,6 +30,7 @@ class MultipartProxyFunctionalTest {
|
||||
assertSame(MultipartProxy_serverImpl.class, MultipartProxy$.class.getMethod("init").getDeclaringClass());
|
||||
|
||||
assertNotNull(MultipartProxy.block());
|
||||
assertEquals("tile.multipart", MultipartProxy.block().getUnlocalizedName());
|
||||
assertNotNull(MultipartProxy.config());
|
||||
assertNotNull(MultipartProxy.logger());
|
||||
assertSame(MultipartProxy.block(), MultipartProxy$.MODULE$.block());
|
||||
|
||||
Reference in new issue
Block a user