|
| static LLNDAPI ::BlockType * | tryRegisterBlock (::SharedTypes::v1_26_20::BlockDefinition::BlockArchetype const &archetypeData, ::std::string const &blockName, int blockID, ::Material const &material) |
|
static MCAPI void | buildNetworkTag (::SharedTypes::v1_26_20::BlockDefinition::BlockArchetype const &archetypeData, ::CompoundTag &tag, ::cereal::ReflectionCtx const &ctx) |
|
static MCAPI void | initializeFromNetwork (::CompoundTag const &tag, ::SharedTypes::v1_26_20::BlockDefinition::BlockArchetype &archetypeData, ::cereal::ReflectionCtx const &ctx) |
|
static MCAPI ::BlockType * | tryRegisterBlock (::BlockTypeRegistry ®istry, ::SharedTypes::v1_26_20::BlockDefinition::BlockArchetype const &archetypeData, ::std::string const &blockName, int blockID, ::Material const &material) |
◆ tryRegisterBlock()
- Returns
- The newly registered block, or nullptr when no factory claims the archetype.
The documentation for this struct was generated from the following file: