Save Block without Location

Discussion in 'Plugin Development' started by TheRedCat, Jun 29, 2019.

Thread Status:
Not open for further replies.
  1. Hello,
    I have a class AbstractBlock. This class has to save all data of block without Location, World, Chunk and other global variables, but I don't know which data I should save.

    I thought about block's metadata, but Metadata resets on server restart. I must save data required for reproduce all type of block, for example chest with its inventory, but not only for all blocks. I not want to make very big if else tree, cause it's not efficient.

    Which data I need to use?

    Info: I make plugin for 1.14.2 minecraft version.
     
Thread Status:
Not open for further replies.

Share This Page