class

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
Source
new(mc_version : String)
Source

Instance methods

air_states

Set of block state IDs that are air (air, cave_air, void_air)

Source
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

Source
block_state_names

block state nr -> "oak_slab[type=top, waterlogged=true]"

Source
blocks
Source
enchantments
Source
items
Source
materials
Source

Nested types