Better block parameters? #157
maxsupermanhd
started this conversation in
Ideas
Replies: 1 comment 19 replies
-
The current design is optimized for performance that block state serialization. The map is a horrible choice in this case. It takes a lot more memory but offers a very low operating speed. Regardless of heap memory allocation overhead, it cannot even be easily compared! For example, how do you convert a |
Beta Was this translation helpful? Give feedback.
19 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was thinking about better way of storing block state information and I could not understand why can not it be a regular
map[string]string
. Also speaking of current implementation, it lacks method to get all the possible values of a field.PS I am trying to reconstruct 3d model of things so I am digging into jar, blockstates, models and textures pretty hard here
Beta Was this translation helpful? Give feedback.
All reactions