Are state ids same everywhere? #156
-
I am trying to port color generator to new blockstates model and so far I have question: how to store it? My idea is that I store a |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
No, they aren't. And that's why the game save store the blocks' string id and properties. The integer id is only used in runtime and shouldn't be stored. |
Beta Was this translation helpful? Give feedback.
-
oh, they're same for a particular version |
Beta Was this translation helpful? Give feedback.
-
I just built a parser of blockstate jsons that ship inside mc jar, throw id and description at it and it will return a block.Block |
Beta Was this translation helpful? Give feedback.
oh, they're same for a particular version