Class NetworkElementProviderSingleton

java.lang.Object
org.cyclops.integrateddynamics.capability.networkelementprovider.NetworkElementProviderSingleton
All Implemented Interfaces:
INetworkElementProvider

public abstract class NetworkElementProviderSingleton extends Object implements INetworkElementProvider
A network element provider for a single element.
  • Constructor Details

    • NetworkElementProviderSingleton

      public NetworkElementProviderSingleton()
  • Method Details

    • createNetworkElements

      public Collection<INetworkElement> createNetworkElements(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos blockPos)
      Description copied from interface: INetworkElementProvider
      Create network element instances for the given position.
      Specified by:
      createNetworkElements in interface INetworkElementProvider
      Parameters:
      world - The world.
      blockPos - The position.
      Returns:
      A collection of all network elements at this position.
    • createNetworkElement

      public abstract INetworkElement createNetworkElement(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos blockPos)