Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockItemVisualDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/BlockComponentDescription.h"
7#include "mc/world/level/block/components/BlockGeometryDescription.h"
8#include "mc/world/level/block/components/BlockMaterialInstancesDescription.h"
9
10// auto generated forward declare list
11// clang-format off
13class CompoundTag;
14class SemVersion;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 280, ::BlockGeometryDescription> mGeometryDescription;
23 ::ll::TypedStorage<8, 144, ::BlockMaterialInstancesDescription> mMaterialInstanceDescription;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::std::string const& getName() const /*override*/;
30
31 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
32
33 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
34
35 virtual bool isNetworkComponent() const /*override*/;
36
37 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
38
39 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
40
41 virtual void handleVersionBasedInitialization(::SemVersion const& originalJsonVersion) /*override*/;
42 // NOLINTEND
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
48 // NOLINTEND
49
50public:
51 // static variables
52 // NOLINTBEGIN
53 MCNAPI static ::std::string const& NameID();
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCNAPI ::std::string const& $getName() const;
60
61 MCNAPI void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
62
63 MCNAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
64
65 MCNAPI bool $isNetworkComponent() const;
66
67 MCNAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
68
70
71 MCNAPI void $handleVersionBasedInitialization(::SemVersion const& originalJsonVersion);
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
Definition BlockComponentStorage.h:69
Definition CompoundTag.h:18
Definition SemVersion.h:15
Definition BlockComponentDescription.h:20
Definition BlockItemVisualDescription.h:18
MCAPI bool $isNetworkComponent() const
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
MCAPI void $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI void $handleVersionBasedInitialization(::SemVersion const &originalJsonVersion)
static MCAPI ::std::string const & NameID()
static MCAPI void ** $vftable()
MCAPI void $initializeComponentFromCode(::BlockComponentStorage &blockComponentStorage) const
MCAPI::std::string const & $getName() const
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI void $initializeComponent(::BlockComponentStorage &blockComponentStorage) const
Definition ReflectionCtx.h:11
Definition ctx.h:5