public class WitchHutStore extends StructurePieceStore<T>
Constructor and Description |
---|
WitchHutStore() |
Modifier and Type | Method and Description |
---|---|
GlowWitchHut |
createStructurePiece()
Create a structure piece of this store's type.
|
void |
load(GlowWitchHut structurePiece,
CompoundTag compound)
Load structure piece data of the appropriate type from the given compound tag.
|
void |
save(GlowWitchHut structurePiece,
CompoundTag compound)
Save information about this structure piece to the given tag.
|
public GlowWitchHut createStructurePiece()
StructurePieceStore
The load method will be called separately.
createStructurePiece
in class StructurePieceStore<GlowWitchHut>
public void load(GlowWitchHut structurePiece, CompoundTag compound)
StructurePieceStore
structurePiece
- The target structure piece.compound
- The structure piece's tag.public void save(GlowWitchHut structurePiece, CompoundTag compound)
StructurePieceStore
structurePiece
- The structure piece to save.compound
- The target tag.Copyright © 2021. All rights reserved.