Class BlockData

java.lang.Object
com.ranull.graves.data.BlockData
All Implemented Interfaces:
Serializable

public class BlockData extends Object implements Serializable
Represents block data associated with a grave.
See Also:
  • Constructor Details

    • BlockData

      public BlockData(org.bukkit.Location location, UUID graveUUID, String replaceMaterial, String replaceData)
      Constructs a new BlockData instance.
      Parameters:
      location - The location of the block.
      graveUUID - The UUID of the associated grave.
      replaceMaterial - The material to replace the block with.
      replaceData - The data to replace the block with.
  • Method Details

    • getLocation

      public org.bukkit.Location getLocation()
      Gets the location of the block.
      Returns:
      The location of the block.
    • getGraveUUID

      public UUID getGraveUUID()
      Gets the UUID of the associated grave.
      Returns:
      The UUID of the grave.
    • getReplaceMaterial

      public String getReplaceMaterial()
      Gets the material to replace the block with.
      Returns:
      The replacement material.
    • getReplaceData

      public String getReplaceData()
      Gets the data to replace the block with.
      Returns:
      The replace data.