1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-07 12:24:27 +00:00
CC-Tweaked/src/main/java/dan200/computercraft/shared
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
..
command Move our message model to be closer to Forge's 2019-01-14 10:09:22 +00:00
common Happy new year! 2019-01-01 01:10:18 +00:00
computer Move our message model to be closer to Forge's 2019-01-14 10:09:22 +00:00
datafix Happy new year! 2019-01-01 01:10:18 +00:00
integration Store references to the registered items 2019-01-12 19:01:32 +00:00
media Happy new year! 2019-01-01 01:10:18 +00:00
network Move our message model to be closer to Forge's 2019-01-14 10:09:22 +00:00
peripheral Store references to the registered items 2019-01-12 19:01:32 +00:00
pocket Move our message model to be closer to Forge's 2019-01-14 10:09:22 +00:00
proxy Move our message model to be closer to Forge's 2019-01-14 10:09:22 +00:00
turtle Store references to the registered items 2019-01-12 19:01:32 +00:00
util Move our message model to be closer to Forge's 2019-01-14 10:09:22 +00:00
wired Happy new year! 2019-01-01 01:10:18 +00:00
BundledRedstone.java Happy new year! 2019-01-01 01:10:18 +00:00
Config.java Add a config option for HTTP timeout too 2019-01-11 21:11:22 +00:00
MediaProviders.java Happy new year! 2019-01-01 01:10:18 +00:00
Peripherals.java Happy new year! 2019-01-01 01:10:18 +00:00
PocketUpgrades.java Move registration methods into a separate class 2019-01-12 17:51:26 +00:00
Registry.java Store references to the registered items 2019-01-12 19:01:32 +00:00
TurtlePermissions.java Move registration methods into a separate class 2019-01-12 17:51:26 +00:00
TurtleUpgrades.java Move registration methods into a separate class 2019-01-12 17:51:26 +00:00