class Rosegold::MCData::BlockCollisionShapes
- Rosegold::MCData::BlockCollisionShapes
- Reference
- Object
Overview
root of blockCollisionShapes.json
Included Modules
- JSON::Serializable
Defined in:
rosegold/world/mcdata.crConstructors
Instance Method Summary
-
#blocks : Hash(String, UInt16 | Array(UInt16))
block id string -> block's shape nr (if same for all states) | each block state's shape nr
-
#shapes : Hash(String, Shape)
shape nr -> array of AABBs that combine to make up that block state shape
Constructor Detail
Instance Method Detail
def blocks : Hash(String, UInt16 | Array(UInt16))
#
block id string -> block's shape nr (if same for all states) | each block state's shape nr
shape nr -> array of AABBs that combine to make up that block state shape