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:
CommonProxyNeoForge
public abstract class CommonProxyComponent
extends org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon
implements ICommonProxy
Base proxy for server and client side.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterKeyBindings(IKeyRegistry keyRegistry, net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event) Register key bindings.voidregisterPackets(org.cyclops.cyclopscore.network.IPacketHandler packetHandler) Methods inherited from class org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon
registerEventHooks, registerRenderer, registerRenderers, registerTickHandlersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.cyclopscore.proxy.ICommonProxy
getModMethods 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:ICommonProxyRegister key bindings.- Specified by:
registerKeyBindingsin interfaceICommonProxy- Parameters:
keyRegistry- The key registry to register to.event- Register mappings event
-
registerPackets
public void registerPackets(org.cyclops.cyclopscore.network.IPacketHandler packetHandler) - Specified by:
registerPacketsin interfaceorg.cyclops.cyclopscore.proxy.ICommonProxyCommon- Overrides:
registerPacketsin classorg.cyclops.cyclopscore.proxy.CommonProxyComponentCommon
-