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 Type
    Method
    Description
     
    void
    registerKeyBindings(IKeyRegistry keyRegistry, net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event)
    Register key bindings.
    void
    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 interface org.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 void registerPacketHandlers(PacketHandler packetHandler)
      Deprecated.
      Register packet handlers.
      Parameters:
      packetHandler - The packet handler.
    • registerPackets

      default void registerPackets(org.cyclops.cyclopscore.network.IPacketHandler packetHandler)
      Specified by:
      registerPackets in interface org.cyclops.cyclopscore.proxy.ICommonProxyCommon