LeviLamina
Loading...
Searching...
No Matches
StructurePoolBlockPredicateAxisAlignedPosition.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 IRandom;
14namespace Util { class XXHash; }
15// clang-format on
16
17class StructurePoolBlockPredicateAxisAlignedPosition : public ::IStructurePoolBlockPredicate {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, float const> mMinChance;
22 ::ll::TypedStorage<4, 4, float const> mMaxChance;
23 ::ll::TypedStorage<4, 4, int const> mMinDist;
24 ::ll::TypedStorage<4, 4, int const> mMaxDist;
25 ::ll::TypedStorage<1, 1, uchar const> mAxis;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 StructurePoolBlockPredicateAxisAlignedPosition();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual bool test(::Block const&, ::IRandom&) const /*override*/;
36
37 virtual bool test(::BlockPos const& worldPos, ::BlockPos const& refPos, ::IRandom& random) const /*override*/;
38
39 virtual ::StructurePoolBlockPredicateType getType() const /*override*/;
40
41 virtual void appendMetadataKey(::Util::XXHash& hash) const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI StructurePoolBlockPredicateAxisAlignedPosition(
48 float minChance,
49 float maxChance,
50 int mMinDistance,
51 int mMaxDistance,
52 uchar axis
53 );
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(float minChance, float maxChance, int mMinDistance, int mMaxDistance, uchar axis);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCFOLD bool $test(::Block const&, ::IRandom&) const;
66
67 MCAPI bool $test(::BlockPos const& worldPos, ::BlockPos const& refPos, ::IRandom& random) const;
68
69 MCFOLD ::StructurePoolBlockPredicateType $getType() const;
70
71 MCAPI void $appendMetadataKey(::Util::XXHash& hash) const;
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
Definition BlockPos.h:21
Definition Block.h:69
Definition IRandom.h:10
Definition IStructurePoolBlockPredicate.h:17
Definition XXHash.h:7