Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockPlacementFilterDescription.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
8// auto generated forward declare list
9// clang-format off
11class CompoundTag;
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPlacementCondition>> conditions;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ::std::string const& getName() const /*override*/;
27
28 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
29
30 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
31
32 virtual bool isNetworkComponent() const /*override*/;
33
34 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
35
36 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
43 // NOLINTEND
44
45public:
46 // static variables
47 // NOLINTBEGIN
48 MCNAPI static ::std::string const& NameID();
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCNAPI ::std::string const& $getName() const;
55
56 MCNAPI void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
57
58 MCNAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
59
60 MCNAPI bool $isNetworkComponent() const;
61
62 MCNAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
63
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition BlockComponentStorage.h:69
Definition CompoundTag.h:18
Definition BlockComponentDescription.h:20
Definition BlockPlacementCondition.h:9
Definition BlockPlacementFilterDescription.h:16
MCAPI::std::string const & $getName() const
MCAPI void $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI bool $isNetworkComponent() const
static MCAPI void ** $vftable()
static MCAPI ::std::string const & NameID()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI void $initializeComponent(::BlockComponentStorage &blockComponentStorage) const
MCAPI void $initializeComponentFromCode(::BlockComponentStorage &blockComponentStorage) const
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
Definition ReflectionCtx.h:11
Definition ctx.h:5