public class DesertTempleStore extends StructurePieceStore<T>
Constructor and Description |
---|
DesertTempleStore() |
Modifier and Type | Method and Description |
---|---|
GlowDesertTemple |
createStructurePiece()
Create 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.
|
public GlowDesertTemple createStructurePiece()
StructurePieceStore
The load method will be called separately.
createStructurePiece
in class StructurePieceStore<GlowDesertTemple>
public void load(GlowDesertTemple structurePiece, CompoundTag compound)
StructurePieceStore
structurePiece
- The target structure piece.compound
- The structure piece's tag.public void save(GlowDesertTemple structurePiece, CompoundTag compound)
StructurePieceStore
structurePiece
- The structure piece to save.compound
- The target tag.Copyright © 2021. All rights reserved.