LeviLamina
Loading...
Searching...
No Matches
StructurePoolBlockPredicateTrueIfFound.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/Block.h"
7#include "mc/world/level/levelgen/structure/structurepools/IStructurePoolBlockPredicate.h"
8#include "mc/world/level/levelgen/structure/structurepools/StructurePoolBlockPredicateType.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class IRandom;
14namespace Util { class XXHash; }
15// clang-format on
16
17class StructurePoolBlockPredicateTrueIfFound : public ::IStructurePoolBlockPredicate {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 16, ::std::set<::Block const*>> mReplacable;
22 ::ll::TypedStorage<4, 4, float const> mProbability;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 StructurePoolBlockPredicateTrueIfFound();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool test(::Block const& block, ::IRandom& random) 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 MCAPI StructurePoolBlockPredicateTrueIfFound(::std::set<::Block const*> const& replacable, float probability);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::std::set<::Block const*> const& replacable, float probability);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI bool $test(::Block const& block, ::IRandom& random) const;
57
58 MCFOLD bool $test(::BlockPos const&, ::BlockPos const&, ::IRandom&) const;
59
60 MCFOLD ::StructurePoolBlockPredicateType $getType() const;
61
62 MCAPI 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:21
Definition Block.h:69
Definition IRandom.h:10
Definition IStructurePoolBlockPredicate.h:17
Definition XXHash.h:7