class
Rosegold::MCData
- Rosegold::MCData
- Reference
- Object
Overview
Version-selecting facade over the minecraft-data shard: picks the right Minecraft::Data for the active protocol and converts its collision shapes into rosegold's AABBf geometry.
Defined in:
rosegold/world/mcdata.crConstant Summary
-
DEFAULT =
for(Client::LATEST_PROTOCOL) -
DEPRECATED Use MCData.default instead for version-aware data
-
SUPPORTED_VERSIONS =
{% if true %}[ {% enabled = Rosegold::ENABLED_PROTOCOLS %}{% for proto in enabled.keys.sort %}{{ enabled[proto] }},{% end %} ]{% end %}
Constructors
Instance Method Summary
- #air_states(*args, **options)
- #air_states(*args, **options, &)
-
#block_state_collision_shapes : Array(Array(AABBf))
block state nr -> array of AABBs that combine to make up that block state shape
- #block_state_names(*args, **options)
- #block_state_names(*args, **options, &)
- #blocks(*args, **options)
- #blocks(*args, **options, &)
- #data : Minecraft::Data
- #enchantments(*args, **options)
- #enchantments(*args, **options, &)
- #items(*args, **options)
- #items(*args, **options, &)
- #materials(*args, **options)
- #materials(*args, **options, &)
Constructor Detail
Instance Method Detail
block state nr -> array of AABBs that combine to make up that block state shape