Bedrock Energistics Core
    Preparing search index...

    Class NetworkLinkNodeBeta

    A network link node in a machine network.

    NetworkLinkNodes can be used to combine two seperate networks without any physcical connection between them.

    Index

    Methods

    • Beta

      Sends a request to create a two way connection between this NetworkLinkNode and the location of another.

      Parameters

      • location: Vector3

        The block location of the other node.

      Returns Promise<void>

    • Beta

      Fetches all of the outbound connections to other NetworkLinkNodes

      Returns Promise<Vector3[]>

      The block positions of each connection

    • Beta

      Returns the internal entity being used for this network link node

      • Can be used to stash additional data by other packs.

      Returns Entity

    • Beta

      Sends a request to break an existing two way connection between this NetworkLinkNode and the location of another.

      Parameters

      • location: Vector3

        The block location of the other node.

      Returns Promise<void>

    • Beta

      Finds the NetworkLinkNode associated with this block, or creates it if it doesn't exist

      Parameters

      • block: Block

        Expected to have the fluffyalien_energisticscore:network_link block tag

      Returns NetworkLinkNode

      The NetworkLinkNode at the block location

      When the NetworkLinkNode does not exist yet, and the block at this location does not have the correct tags

    • Beta

      Finds the NetworkLinkNode associated with this location, or undefined if it does not exist yet

      Parameters

      • dimension: Dimension

        The dimension the block is in

      • location: Vector3

        The location of the block

      Returns undefined | NetworkLinkNode

      The associated NetworkLinkNode or undefined if it does not exist