mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
add the keybind
This commit is contained in:
1 parent
a3345d26d3
commit
5d5277c50b
9 files changed
+156
-7
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package vazkii.botania.common.network;
|
||||
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import vazkii.botania.common.lib.LibMisc;
|
||||
|
||||
public class PacketHandler {
|
||||
|
||||
private PacketHandler() {}
|
||||
|
||||
public static final SimpleNetworkWrapper INSTANCE =
|
||||
NetworkRegistry.INSTANCE.newSimpleChannel(LibMisc.MOD_ID.toLowerCase());
|
||||
|
||||
public static void initPackets() {
|
||||
INSTANCE.registerMessage(PacketLokiToggle.class, PacketLokiToggle.class, 0, Side.SERVER);
|
||||
INSTANCE.registerMessage(PacketLokiToggleAck.class, PacketLokiToggleAck.class, 1, Side.CLIENT);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user