Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockArchetypeDispatcher Struct Reference

Static Public Member Functions

static LLNDAPI ::BlockType * tryRegisterBlock (::SharedTypes::v1_26_20::BlockDefinition::BlockArchetype const &archetypeData, ::std::string const &blockName, int blockID, ::Material const &material)

Member Function Documentation

◆ tryRegisterBlock()

LLNDAPI ::BlockType * BlockArchetypeDispatcher::tryRegisterBlock ( ::SharedTypes::v1_26_20::BlockDefinition::BlockArchetype const & archetypeData,
::std::string const & blockName,
int blockID,
::Material const & material )
staticnodiscard
Returns
The newly registered block, or nullptr when no factory claims the archetype.

The documentation for this struct was generated from the following file: