Class SubNetworkConnectEvent

java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
net.ME1312.SubServers.Client.Sponge.Event.SubNetworkConnectEvent
All Implemented Interfaces:
SubEvent, Event

public class SubNetworkConnectEvent extends AbstractEvent implements SubEvent
SubData Network Connect Event
  • Constructor Details

    • SubNetworkConnectEvent

      public SubNetworkConnectEvent(DataClient network)
      SubData Network Connect Event
  • Method Details

    • getNetwork

      public DataClient getNetwork()
      Get the SubData network
      Returns:
      SubData Network
    • getCause

      @Deprecated public Cause getCause()
      Deprecated.
      Use simplified methods where available
      Gets the cause of this Event
      Specified by:
      getCause in interface Event
      Returns:
      An empty cause list