LeviLamina
Loading...
Searching...
No Matches
BlockArchetypeDispatcher.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockType;
8class CompoundTag;
9class Material;
10namespace SharedTypes::v1_26_20::BlockDefinition { struct BlockArchetype; }
11namespace cereal { struct ReflectionCtx; }
12// clang-format on
13
15public:
16 // static functions
17 // NOLINTBEGIN
18 MCAPI static void buildNetworkTag(
20 ::CompoundTag& tag,
22 );
23
24 MCAPI static void initializeFromNetwork(
25 ::CompoundTag const& tag,
28 );
29
30 MCAPI static ::BlockType* tryRegisterBlock(
32 ::std::string const& blockName,
33 int blockID,
34 ::Material const& material
35 );
36 // NOLINTEND
37};
Definition BlockType.h:84
Definition CompoundTag.h:23
Definition Material.h:8
Definition BlockArchetypeDispatcher.h:14
Definition ReflectionCtx.h:11
Definition ctx.h:5