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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerKeyBindings(IKeyRegistry keyRegistry, net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event)
    Register key bindings.
    void
    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 interface ICommonProxy
      Parameters:
      keyRegistry - The key registry to register to.
      event - Register mappings event
    • registerPacketHandlers

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