Class NetworkCarrierDefault

java.lang.Object
org.cyclops.integrateddynamics.capability.network.NetworkCarrierDefault
All Implemented Interfaces:
INetworkCarrier

public class NetworkCarrierDefault extends Object implements INetworkCarrier
Default implementation of INetworkCarrier.
  • Constructor Details

    • NetworkCarrierDefault

      public NetworkCarrierDefault()
  • Method Details

    • setNetwork

      public void setNetwork(@Nullable INetwork network)
      Description copied from interface: INetworkCarrier
      Tell the container it is part of the given network.
      Specified by:
      setNetwork in interface INetworkCarrier
      Parameters:
      network - The network.
    • getNetwork

      @Nullable public INetwork getNetwork()
      Description copied from interface: INetworkCarrier
      Get the current container network. Can be null.
      Specified by:
      getNetwork in interface INetworkCarrier
      Returns:
      The network.