LeviLamina
Loading...
Searching...
No Matches
CoralCrustFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/Feature.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class BlockSource;
14class Random;
15// clang-format on
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
22
23 virtual ~CoralCrustFeature() /*override*/ = default;
24 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI ::BlockPos _getCropOffsetFromRot(int rot, int type) const;
30
31 MCAPI ::BlockPos _getOffsetFromRot(int rot, int type) const;
32
33 MCAPI void _placeCoral(
34 ::BlockSource& region,
35 ::BlockPos const& pos,
36 ::Random& random,
37 ::std::vector<::BlockPos>& topDec,
38 ::std::vector<::std::pair<::BlockPos, uchar>>& sideDec,
39 int color
40 ) const;
41
42 MCAPI void _placeCoralBase(
43 ::BlockSource& region,
44 ::BlockPos const& pos,
45 ::Random& random,
48 ) const;
49
50 MCFOLD void _placeSideDecorations(::BlockSource& region, ::BlockPos const& pos, ::Random& random, uchar dir) const;
51
52 MCFOLD void _placeTopDecorations(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition CoralCrustFeature.h:17
static MCAPI void ** $vftable()
Definition Feature.h:18
Definition LegacyStructureSettings.h:22
Definition LegacyStructureTemplate.h:25
Definition Random.h:10