Skip to content

feat(protocol/registry): add trim_pattern and trim_material registries #62

@iverly

Description

@iverly

Context

The server sends 6 Configuration registries but is missing trim_pattern and trim_material which define armor trim cosmetics. Without them, the client may log warnings when players wear trimmed armor.

Problem

Armor trims can't render because the client has no trim definitions.

Proposed approach

Add trim_pattern and trim_material registries using the vanilla data generator output. Each pattern has asset_id, template_item, description, and decal fields. Each material has asset_name, ingredient, item_model_index, and description.

Scope

  • crates/basalt-protocol/src/registry_data.rs

Benefits

Armor trims render correctly on players.

Non-goals

  • Custom trim patterns for plugins

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestprotocolRelative to basalt-protocol crate

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions