Class EventNetworkChannel

java.lang.Object
net.minecraftforge.network.event.EventNetworkChannel

public class EventNetworkChannel extends Object
  • Field Details

  • Constructor Details

    • EventNetworkChannel

      public EventNetworkChannel(NetworkInstance instance)
  • Method Details

    • addListener

      public <T extends NetworkEvent> void addListener(Consumer<T> eventListener)
    • registerObject

      public void registerObject(Object object)
    • unregisterObject

      public void unregisterObject(Object object)
    • isRemotePresent

      public boolean isRemotePresent(Connection manager)