LeviLamina
Loading...
Searching...
No Matches
BeardAndShaverDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v1/BeardingDescriptionCache.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11struct BeardKernel;
12// clang-format on
13
14class BeardAndShaverDescription {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<4, 40, ::BeardingDescriptionCache const> mCache;
19 ::ll::TypedStorage<8, 8, ::BeardKernel const&> mBeardKernel;
20 ::ll::TypedStorage<4, 4, float const> mMinBeardWidth;
21 ::ll::TypedStorage<4, 4, float const> mMaxBeardWidth;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 BeardAndShaverDescription& operator=(BeardAndShaverDescription const&);
27 BeardAndShaverDescription(BeardAndShaverDescription const&);
28 BeardAndShaverDescription();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI BeardAndShaverDescription(
35 ::BeardKernel const& beardKernel,
36 float minBeardWidth,
37 float maxBeardWidth
38 );
39
40 MCAPI float calculateContribution(::BlockPos const& pos) const;
41
42 MCFOLD ::BeardingDescriptionCache const& getCache() const;
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void*
49 $ctor(::BeardingDescriptionCache cache, ::BeardKernel const& beardKernel, float minBeardWidth, float maxBeardWidth);
50 // NOLINTEND
51};
Definition BeardingDescriptionCache.h:8
Definition BlockPos.h:21
Definition BeardKernel.h:5