Package org.cyclops.cyclopscore.proxy
Interface ICommonProxy
- All Superinterfaces:
org.cyclops.cyclopscore.proxy.ICommonProxyCommon
- All Known Subinterfaces:
IClientProxy
- All Known Implementing Classes:
ClientProxy
,ClientProxyComponent
,CommonProxy
,CommonProxyComponent
public interface ICommonProxy
extends org.cyclops.cyclopscore.proxy.ICommonProxyCommon
Interface for common proxies.
-
Method Summary
Modifier and TypeMethodDescriptiongetMod()
void
registerKeyBindings
(IKeyRegistry keyRegistry, net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event) Register key bindings.void
registerPacketHandlers
(PacketHandler packetHandler) Deprecated.default void
registerPackets
(org.cyclops.cyclopscore.network.IPacketHandler packetHandler) Methods inherited from interface org.cyclops.cyclopscore.proxy.ICommonProxyCommon
registerEventHooks, registerRenderer, registerRenderers, registerTickHandlers
-
Method Details
-
getMod
ModBase getMod()- Specified by:
getMod
in interfaceorg.cyclops.cyclopscore.proxy.ICommonProxyCommon
- Returns:
- The mod for this proxy.
-
registerKeyBindings
void registerKeyBindings(IKeyRegistry keyRegistry, net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event) Register key bindings.- Parameters:
keyRegistry
- The key registry to register to.event
- Register mappings event
-
registerPacketHandlers
Deprecated.Register packet handlers.- Parameters:
packetHandler
- The packet handler.
-
registerPackets
default void registerPackets(org.cyclops.cyclopscore.network.IPacketHandler packetHandler) - Specified by:
registerPackets
in interfaceorg.cyclops.cyclopscore.proxy.ICommonProxyCommon
-