Mishang Urban Construction 迷上城建

An amount of blocks and items that make a beautiful city!
Back to Files

mishanguc-1.6.5-alpha.1-1.21.1.jar

File namemishanguc-1.6.5-alpha.1-1.21.1.jar
Uploader
SolidBlockSolidBlock
Uploaded
Aug 26, 2026
Downloads
11
Size
6.0 MB
Mod Loaders
Fabric
File ID
8739770
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:mishang-urban-construction-583071:8739770"

Learn more about Curse Maven

What's new

  • Fixed the issue that the mod is incompatible with Forge/NeoForge and Sinytra Connector in 1.20.1 and 1.21.1.
    • In 1.21.1, in the method method in the mixin annotation, no matter the specified value is a single method name findCrosshairTarget (Yarn mapping), or a full method signature, the intermediary name remapped by Yarn only contains method name method_56153, and then when remapped by Sinytra Connector into official mapping, the method name is pick. In Yarn mapping, in the GameRenderer class, the method named findCrosshairTarget is only one, but in the official mapping, in the GameRenderer class, the methods named pick are more than one (corresponding to findCrosshairTarget and updateCrosshairTarget in the Yarn mapping), so the target cannot be correctly located, causing the mixin to encounter errors. To solve this issue, I added target = @Desc(...) into the code to help the game correctly find the method to apply mixin.
    • In 1.20.1, the BeaconBlockEntity class has only one method named tick in both Yarn and official mappings, and Yarn correctly remaps it to method_16896. However, in the mod remapped by Sinytra Connector, the method name is still method_16896, which is abnormal in Forge. To solve this issue, the relevant mixins have been set to be silently ignored, so exceptions will not be thrown when they are found, and the relevant mixins will not be applied in this case. This also means that, in 1.20.1, when using Forge/NeoForge and Sinytra Connector to run Mishang Urban Construction, custom-colored glass blocks and other blocks cannot tint beacon beams. If Sinytra Connector is updated in the future, this issue may be resolved.

This mod has no additional files