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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerKeyBindings(IKeyRegistry keyRegistry, net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event)
    Register key bindings.
    void
    registerPackets(org.cyclops.cyclopscore.network.IPacketHandler packetHandler)
     

    Methods inherited from class org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon

    registerEventHooks, 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

    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
    • registerPackets

      public void registerPackets(org.cyclops.cyclopscore.network.IPacketHandler packetHandler)
      Specified by:
      registerPackets in interface org.cyclops.cyclopscore.proxy.ICommonProxyCommon
      Overrides:
      registerPackets in class org.cyclops.cyclopscore.proxy.CommonProxyComponentCommon