1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-04 19:13:21 +00:00
CC-Tweaked/src/main/java/dan200/computercraft/shared/proxy
SquidDev ce0685c31f Move our message model to be closer to Forge's
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.
2019-01-14 10:09:22 +00:00
..
CCTurtleProxyCommon.java Even more proxy pruning 2019-01-12 18:23:22 +00:00
ComputerCraftProxyCommon.java Move our message model to be closer to Forge's 2019-01-14 10:09:22 +00:00
ICCTurtleProxy.java Happy new year! 2019-01-01 01:10:18 +00:00
IComputerCraftProxy.java Move our message model to be closer to Forge's 2019-01-14 10:09:22 +00:00