class Rosegold::MCData
- Rosegold::MCData
- Reference
- Object
Overview
parsed minecraft-data for a particular mc version
Defined in:
rosegold/world/mcdata.crConstant Summary
-
MC118 =
Rosegold::MCData.new("1.18")
Constructors
Instance Method Summary
-
#block_state_collision_shapes : Array(Array(AABBf))
block state nr -> array of AABBs that combine to make up that block state shape TODO: more compact memory layout: only store one Shape if it's the same for all variants of a block
-
#block_state_names : Array(String)
block state nr -> "oak_slab[type=top, waterlogged=true]"
- #blocks : Array(Block)
- #blocks_by_id : Hash(String, Block)
- #items : Array(Item)
- #items_by_id : Hash(String, Item)
- #items_by_id_int : Hash(UInt32, Item)
- #materials : Material
Constructor Detail
Instance Method Detail
block state nr -> array of AABBs that combine to make up that block state shape
TODO more compact memory layout: only store one Shape if it's the same for all variants of a block