I was thinking that for Forge mod developers and modded servers it would be interesting to have an interface to communicate with the server and vice-versa for the client. Let me give an example: Server side:client .sendToClient("blockenergy","254"); and client side:int powerLeft = MessageAPI.receiveMessage("blockenergy");
So is this possible and what do you think about this idea? Does it already exist?
I’d be partial to it being as simple as possible. Hopefully the idea isn’t turned down just because you can achieve the same effect via sending raw packets and listening, etc, or however that would work otherwise.
That’s very cool. Thanks for clarifying. So any mod or plugin can just get info? Also is it possible for Sponge to add mod support? Like make a plugin that registers the new blocks in the mod and handles/updates them? I am kind of new to this Minecraft Dev trend so yeah. Thanks for helping.