LeviLamina
Loading...
Searching...
No Matches
RandomBlockStateMatch.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v2/processors/block_rules/TestType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class IRandom;
12namespace Util { class XXHash; }
13// clang-format on
14
15namespace br::worldgen::processors::BlockRules {
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Block const*> mBlockState;
22 ::ll::TypedStorage<4, 4, float> mProbability;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 1
29 virtual bool test(::Block const& block, ::IRandom& random) const /*override*/;
30
31 // vIndex: 2
32 virtual void appendMetadataKey(::Util::XXHash& hash) const /*override*/;
33
34 // vIndex: 0
35 virtual ~RandomBlockStateMatch() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41 MCNAPI bool $test(::Block const& block, ::IRandom& random) const;
42
43 MCNAPI void $appendMetadataKey(::Util::XXHash& hash) const;
44 // NOLINTEND
45
46public:
47 // vftables
48 // NOLINTBEGIN
49 MCNAPI static void** $vftable();
50 // NOLINTEND
51};
52
53} // namespace br::worldgen::processors::BlockRules
Definition Block.h:38
Definition IRandom.h:13
Definition XXHash.h:7
MCAPI bool $test(::Block const &block, ::IRandom &random) const
MCAPI void $appendMetadataKey(::Util::XXHash &hash) const