LeviLamina
Loading...
Searching...
No Matches
StructurePoolBlockPredicateBlockMatchRandom.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 Randomize;
14namespace Util { class XXHash; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
22 ::ll::TypedStorage<4, 4, float const> mProbability;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 2
35 virtual bool test(::Block const& block, ::Randomize& randomize) const /*override*/;
36
37 // vIndex: 1
38 virtual bool test(::BlockPos const& worldPos, ::BlockPos const& refPos, ::Randomize& randomize) const /*override*/;
39
40 // vIndex: 5
41 virtual ::StructurePoolBlockPredicateType getType() const /*override*/;
42
43 // vIndex: 6
44 virtual void appendMetadataKey(::Util::XXHash& hash) const /*override*/;
45
46 // vIndex: 0
47 virtual ~StructurePoolBlockPredicateBlockMatchRandom() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI bool $test(::Block const& block, ::Randomize& randomize) const;
54
55 MCFOLD bool $test(::BlockPos const& worldPos, ::BlockPos const& refPos, ::Randomize& randomize) const;
56
57 MCFOLD ::StructurePoolBlockPredicateType $getType() const;
58
59 MCAPI void $appendMetadataKey(::Util::XXHash& hash) const;
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition BlockPos.h:18
Definition Block.h:38
Definition IStructurePoolBlockPredicate.h:18
Definition Randomize.h:13
Definition StructurePoolBlockPredicateBlockMatchRandom.h:17
Definition XXHash.h:7