class Rosegold::MCData::BlockCollisionShapes

Overview

root of blockCollisionShapes.json

Included Modules

Defined in:

rosegold/world/mcdata.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

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


[View source]
def shapes : Hash(String, Shape) #

shape nr -> array of AABBs that combine to make up that block state shape


[View source]