LeviLamina
Loading...
Searching...
No Matches
BlockDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/sem_ver/SemVersion.h"
7#include "mc/resources/MinEngineVersion.h"
8#include "mc/world/level/block/definition/BlockComponentGroupDescription.h"
9#include "mc/world/level/block/definition/BlockDescription.h"
10
11// auto generated forward declare list
12// clang-format off
14class DefinitionEvent;
17namespace cereal { struct ReflectionCtx; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 24, ::SemVersion> mFormatVersion;
25 ::ll::TypedStorage<8, 32, ::MinEngineVersion> mMinEngineVersion;
26 ::ll::TypedStorage<8, 24, ::SemVersion> mOriginalJsonVersion;
27 ::ll::TypedStorage<8, 240, ::BlockDescription> mDescription;
28 ::ll::TypedStorage<8, 112, ::BlockComponentGroupDescription> mBaseComponents;
29 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPermutationDescription>> mPermutationDescriptions;
30 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::DefinitionEvent>> mEventHandlers;
31 // NOLINTEND
32
33public:
34 // static functions
35 // NOLINTBEGIN
36 MCAPI static ::CerealDocumentUpgrader& initCerealDocumentUpgrader(::cereal::ReflectionCtx& ctx);
37
38 MCAPI static void registerBlockDefinitionTypes(::cereal::ReflectionCtx& ctx);
39 // NOLINTEND
40
41public:
42 // static variables
43 // NOLINTBEGIN
44 MCAPI static ::SemVersionConstant const& VERSION();
45 // NOLINTEND
46};
Definition CerealDocumentUpgrader.h:13
Definition DefinitionEvent.h:18
Definition SemVersionConstant.h:8
Definition BlockDefinition.h:20
Definition BlockPermutationDescription.h:9
Definition ReflectionCtx.h:11
Definition ctx.h:5