Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StructurePoolBlockPredicateBlockMatch.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/structurepools/IStructurePoolBlockPredicate.h"
7#include "mc/world/level/levelgen/structure/structurepools/StructurePoolBlockPredicateType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13class HashedString;
14class IRandom;
15namespace Util { class XXHash; }
16// clang-format on
17
18class StructurePoolBlockPredicateBlockMatch : public ::IStructurePoolBlockPredicate {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::HashedString> const> mBlockMatchings;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 StructurePoolBlockPredicateBlockMatch();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool test(::Block const& block, ::IRandom&) const /*override*/;
33
34 virtual bool test(::BlockPos const&, ::BlockPos const&, ::IRandom&) const /*override*/;
35
36 virtual ::StructurePoolBlockPredicateType getType() const /*override*/;
37
38 virtual void appendMetadataKey(::Util::XXHash& hash) const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI explicit StructurePoolBlockPredicateBlockMatch(::Block const& block);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCNAPI void* $ctor(::Block const& block);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCNAPI bool $test(::Block const& block, ::IRandom&) const;
57
58 MCNAPI bool $test(::BlockPos const&, ::BlockPos const&, ::IRandom&) const;
59
60 MCNAPI ::StructurePoolBlockPredicateType $getType() const;
61
62 MCNAPI void $appendMetadataKey(::Util::XXHash& hash) const;
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition BlockPos.h:14
Definition Block.h:42
Definition HashedString.h:5
Definition IRandom.h:10
Definition IStructurePoolBlockPredicate.h:17
MCAPI void * $ctor(::Block const &block)
MCAPI StructurePoolBlockPredicateBlockMatch(::Block const &block)
MCAPI void $appendMetadataKey(::Util::XXHash &hash) const
MCAPI bool $test(::Block const &block, ::IRandom &) const
MCAPI bool $test(::BlockPos const &, ::BlockPos const &, ::IRandom &) const
MCAPI::StructurePoolBlockPredicateType $getType() const
Definition XXHash.h:7