Class DesertTempleStore

java.lang.Object
net.glowstone.io.structure.StructurePieceStore<T>
net.glowstone.io.structure.DesertTempleStore

public class DesertTempleStore extends StructurePieceStore<T>
  • Constructor Details

    • DesertTempleStore

      public DesertTempleStore()
  • Method Details

    • createStructurePiece

      public GlowDesertTemple createStructurePiece()
      Description copied from class: StructurePieceStore
      Create a structure piece of this store's type.

      The load method will be called separately.

      Specified by:
      createStructurePiece in class StructurePieceStore<GlowDesertTemple>
      Returns:
      The structure piece.
    • load

      public void load(GlowDesertTemple structurePiece, CompoundTag compound)
      Description copied from class: StructurePieceStore
      Load structure piece data of the appropriate type from the given compound tag.
      Parameters:
      structurePiece - The target structure piece.
      compound - The structure piece's tag.
    • save

      public void save(GlowDesertTemple structurePiece, CompoundTag compound)
      Description copied from class: StructurePieceStore
      Save information about this structure piece to the given tag.
      Parameters:
      structurePiece - The structure piece to save.
      compound - The target tag.