Class WitchHutStore

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

public class WitchHutStore extends StructurePieceStore<T>
  • Constructor Details

    • WitchHutStore

      public WitchHutStore()
  • Method Details

    • createStructurePiece

      public GlowWitchHut 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<GlowWitchHut>
      Returns:
      The structure piece.
    • load

      public void load(GlowWitchHut 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(GlowWitchHut 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.