Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by vRchr, Jan 22, 2017.
i want to save a Block in a Database. I would like to get a byte. How to do that?
Entirely your decision.
The Block class is not serialize-able, so you will need to do it yourself.
I totally agree... anyway i gues this doesn't help OP at all.
Depends on a very basic question. Do you want to save tile entity data, too? E.g. Contents of chests, furnaces, text on signs, data from skulls,........
Or dou you only want to save the block (it, meta, position) and don't care about tile entities?
@Michel_0 I want to save everything.