Package org.cyclops.cyclopscore.proxy
Class CommonProxyComponent
java.lang.Object
org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon
org.cyclops.cyclopscore.proxy.CommonProxyComponent
- All Implemented Interfaces:
ICommonProxy
,org.cyclops.cyclopscore.proxy.ICommonProxyCommon
- Direct Known Subclasses:
CommonProxy
public abstract class CommonProxyComponent
extends org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon
implements ICommonProxy
Base proxy for server and client side.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerKeyBindings
(IKeyRegistry keyRegistry, net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event) Register key bindings.void
registerPacketHandlers
(PacketHandler packetHandler) Register packet handlers.Methods inherited from class org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon
registerEventHooks, registerPackets, registerRenderer, registerRenderers, registerTickHandlers
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.cyclopscore.proxy.ICommonProxy
getMod, registerPackets
Methods inherited from interface org.cyclops.cyclopscore.proxy.ICommonProxyCommon
registerEventHooks, registerRenderer, registerRenderers, registerTickHandlers
-
Constructor Details
-
CommonProxyComponent
public CommonProxyComponent()
-
-
Method Details
-
registerKeyBindings
public void registerKeyBindings(IKeyRegistry keyRegistry, net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event) Description copied from interface:ICommonProxy
Register key bindings.- Specified by:
registerKeyBindings
in interfaceICommonProxy
- Parameters:
keyRegistry
- The key registry to register to.event
- Register mappings event
-
registerPacketHandlers
Description copied from interface:ICommonProxy
Register packet handlers.- Specified by:
registerPacketHandlers
in interfaceICommonProxy
- Parameters:
packetHandler
- The packet handler.
-