java.lang.Object
org.cyclops.integrateddynamics.core.path.Cluster
All Implemented Interfaces:
Iterable<ISidedPathElement>, Collection<ISidedPathElement>, org.cyclops.cyclopscore.persist.nbt.INBTSerializable

public class Cluster extends Object implements Collection<ISidedPathElement>, org.cyclops.cyclopscore.persist.nbt.INBTSerializable
A cluster for a collection of path elements.
  • Constructor Details

    • Cluster

      public Cluster()
      This constructor should not be called, except for the process of constructing networks from NBT.
    • Cluster

      public Cluster(TreeSet<ISidedPathElement> elements)
  • Method Details

    • toNBT

      public net.minecraft.nbt.CompoundTag toNBT(net.minecraft.core.HolderLookup.Provider provider)
      Specified by:
      toNBT in interface org.cyclops.cyclopscore.persist.nbt.INBTSerializable
    • fromNBT

      public void fromNBT(net.minecraft.core.HolderLookup.Provider provider, net.minecraft.nbt.CompoundTag tag)
      Specified by:
      fromNBT in interface org.cyclops.cyclopscore.persist.nbt.INBTSerializable