Block shape reference?

  • Red, you mentioned: "The block shape is encoded into the block id, so when using a higher value (up to 32k), you will get a different shape"


    The 'normal' blocks have ids 21..218, and i managed to create these .


    Is there a list of all the other possible shapes and offsets available, or do i need to try all 32k values if i want to get a specific shape?


    Regards, Solveign

  • Well, originally I wanted to add a util function for that, but since we're going to rewrite the way how blocks (and block id's) will be handled anyway, I didn't want to create more functions which will be deprecated in the near future :D
    Basically every new block shape has an offset (300), i.e. the default block uses id's 0 - 300 (more precisely, 21 - 218, all id's up to 300 are reserved for a regular block), a cylinder uses id's 300 - 600 (i.e. 321 - 518) etc.


    I've attached an overview of all block shape id's, but it's a little bit awkward (that's one of the reasons why we really have to change that) ^^


Participate now!

Don’t have an account yet? Create a new account now and be part of our community!