mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-11 01:40:56 +00:00
ce0685c31f
It's rather embarassing that it's been restructured _again_, but I think this is a nice middle-ground. The previous implementation was written mostly for Fabric, which doesn't always map perfectly to Forge. - Move the message identifier into the registration phrase. It's not really a property of the message itself, rather a property of the registry, so better suited there. - Move message handling into the message itself. Honestly, it was just ending up being rather messy mixing the logic in two places. This also means we can drop some proxy methods, as it's easier to have conditionally loaded methods. - Move network registry into a dedicated class, as that's what we're doing for everything else. |
||
---|---|---|
.. | ||
CCTurtleProxyCommon.java | ||
ComputerCraftProxyCommon.java | ||
ICCTurtleProxy.java | ||
IComputerCraftProxy.java |