Class BlockLocationStore

java.lang.Object
su.nezushin.openitems.blocks.storage.BlockDataStore
su.nezushin.openitems.blocks.storage.BlockLocationStore

public class BlockLocationStore extends BlockDataStore
Represents placed custom block properties. Used to be stored in custom chunk data
  • Field Details

  • Constructor Details

    • BlockLocationStore

      public BlockLocationStore(int x, int y, int z, org.bukkit.inventory.ItemStack itemToDrop)
    • BlockLocationStore

      public BlockLocationStore()
  • Method Details

    • getX

      public int getX()
    • getY

      public int getY()
    • getZ

      public int getZ()
    • getArbitraryData

      public Map<String,Object> getArbitraryData()
      Any arbitrary data of custom block can be stored here
      Returns:
      Map with arbitrary data. Can store everything implements ConfigurationSerializable