LeviLamina
Loading...
Searching...
No Matches
StructurePoolBlockPredicateStateMatchRandom.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
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockPos;
12class Randomize;
13namespace Util { class XXHash; }
14// clang-format on
15
16class StructurePoolBlockPredicateStateMatchRandom : public ::IStructurePoolBlockPredicate {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Block const&> mBlock;
21 ::ll::TypedStorage<4, 4, float const> mProbability;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 StructurePoolBlockPredicateStateMatchRandom& operator=(StructurePoolBlockPredicateStateMatchRandom const&);
27 StructurePoolBlockPredicateStateMatchRandom(StructurePoolBlockPredicateStateMatchRandom const&);
28 StructurePoolBlockPredicateStateMatchRandom();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual bool test(::Block const&, ::Randomize&) const /*override*/;
34
35 virtual bool test(::BlockPos const&, ::BlockPos const&, ::Randomize&) const /*override*/;
36
37 virtual void appendMetadataKey(::Util::XXHash&) const /*override*/;
38
39 virtual ~StructurePoolBlockPredicateStateMatchRandom() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45
46 // NOLINTEND
47};
Definition BlockPos.h:19
Definition Block.h:43
Definition IStructurePoolBlockPredicate.h:18
Definition Randomize.h:13
Definition XXHash.h:7