Skip to content

Client unable to trigger block-family registration. #3491

Open
@4Denthusiast

Description

Block families are registered on-demand by BlockManager, i.e. they are only assigned ids once they are requested by URI. On multiplayer servers, the server is in charge of assigning block ids (it has generateNewIds set to true in BlockManagerImpl), so if a client attempts to retrieve a block by BlockManager.getBlock before the first time the server does, it will fail (and return air). This can occur, in particular, if the block is only referred to by a system with @RegisterSystem(RegisterMode.CLIENT).

Metadata

Assignees

No one assigned

    Labels

    Topic: ArchitectureRequests, Issues and Changes related to software architecture, programming patterns, etc.Type: BugIssues reporting and PRs fixing problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions