Rosegold::MCData
Inherits Reference / Object
parsed minecraft-data for a particular mc version
Constants
DEFAULT = MC261
MC12111 = Rosegold::MCData.new("1.21.11")
MC1218 = Rosegold::MCData.new("1.21.8")
MC261 = Rosegold::MCData.new("26.1")
PROTOCOL_VERSION_MAP = {772_u32 => MC1218, 774_u32 => MC12111, 775_u32 => MC261}
SUPPORTED_VERSIONS = ["1.21.8", "1.21.11", "26.1"]
Constructors
default
Sourcenew(mc_version : String)
SourceInstance methods
block_state_collision_shapes
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
blocks
Sourceenchantments
Sourceitems
Sourcematerials
Source