Class CommonProxy

java.lang.Object
org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon
org.cyclops.cyclopscore.proxy.CommonProxyComponent
org.cyclops.cyclopscore.proxy.CommonProxy
All Implemented Interfaces:
ICommonProxy, org.cyclops.cyclopscore.proxy.ICommonProxyCommon

public class CommonProxy extends CommonProxyComponent
Proxy for server and client side.
  • Constructor Details

    • CommonProxy

      public CommonProxy()
  • Method Details

    • getMod

      public ModBase getMod()
      Returns:
      The mod for this proxy.
    • registerEventHooks

      public void registerEventHooks()
      Specified by:
      registerEventHooks in interface org.cyclops.cyclopscore.proxy.ICommonProxyCommon
      Overrides:
      registerEventHooks in class org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon
    • registerPacketHandlers

      public void registerPacketHandlers(PacketHandler packetHandler)
      Description copied from interface: ICommonProxy
      Register packet handlers.
      Specified by:
      registerPacketHandlers in interface ICommonProxy
      Overrides:
      registerPacketHandlers in class CommonProxyComponent
      Parameters:
      packetHandler - The packet handler.