Package net.glowstone.io.structure
Class DesertTempleStore
java.lang.Object
net.glowstone.io.structure.StructurePieceStore<T>
net.glowstone.io.structure.DesertTempleStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a structure piece of this store's type.void
load
(GlowDesertTemple structurePiece, CompoundTag compound) Load structure piece data of the appropriate type from the given compound tag.void
save
(GlowDesertTemple structurePiece, CompoundTag compound) Save information about this structure piece to the given tag.
-
Constructor Details
-
DesertTempleStore
public DesertTempleStore()
-
-
Method Details
-
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 classStructurePieceStore<GlowDesertTemple>
- Returns:
- The structure piece.
-
load
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
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.
-