LeviLamina
Loading...
Searching...
No Matches
CoralFeature.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 Block;
11class BlockPos;
12class BlockSource;
13class Random;
14// clang-format on
15
16class CoralFeature : public ::Feature {
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 // vIndex: 4
21 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
22
23 // vIndex: 0
24 virtual ~CoralFeature() /*override*/ = default;
25 // NOLINTEND
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI void _buildHand(
31 ::BlockSource& region,
32 ::BlockPos const& pos,
33 ::Random& random,
34 ::std::vector<::BlockPos>& topDec,
35 ::std::vector<::std::pair<::BlockPos, uchar>>& sideDec,
36 ::gsl::not_null<::Block const*> block
37 ) const;
38
39 MCNAPI void _buildPlantArm(
40 ::BlockSource& region,
41 ::Random& random,
42 ::BlockPos const& pos,
43 ::gsl::not_null<::Block const*> block,
44 ::std::vector<::BlockPos>& topDec,
45 ::std::vector<::std::pair<::BlockPos, uchar>>& sideDec,
46 uchar direction,
47 bool notTall
48 ) const;
49
50 MCNAPI void _buildPlantLike(
51 ::BlockSource& region,
52 ::BlockPos const& pos,
53 ::Random& random,
54 ::std::vector<::BlockPos>& topDec,
55 ::std::vector<::std::pair<::BlockPos, uchar>>& sideDec,
56 ::gsl::not_null<::Block const*> block
57 ) const;
58
59 MCNAPI void _buildSmallClump(
60 ::BlockSource& region,
61 ::BlockPos const& pos,
62 ::Random& random,
63 ::std::vector<::BlockPos>& topDec,
64 ::std::vector<::std::pair<::BlockPos, uchar>>&,
65 ::gsl::not_null<::Block const*> block
66 ) const;
67
68 MCNAPI void _buildSpire(
69 ::BlockSource& region,
70 ::BlockPos const& pos,
71 ::Random& random,
72 ::std::vector<::BlockPos>& topDec,
73 ::std::vector<::std::pair<::BlockPos, uchar>>& sideDec,
74 ::gsl::not_null<::Block const*> block
75 ) const;
76
77 MCNAPI bool _canOverwrite(::BlockSource const& region, ::BlockPos const& pos, int color) const;
78
79 MCNAPI int _getColor(::Block const& block) const;
80
81 MCNAPI void _placeSideDecorations(::BlockSource& region, ::BlockPos const& pos, ::Random& random, uchar dir) const;
82
83 MCNAPI void _placeTopDecorations(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
84
85 MCNAPI bool
86 _setBlock(::BlockSource& region, ::BlockPos const& pos, ::gsl::not_null<::Block const*> block, int color) const;
87
88 MCNAPI bool _setBlockOnSolid(
89 ::BlockSource& region,
90 ::BlockPos const& pos,
91 ::gsl::not_null<::Block const*> block,
92 int color
93 ) const;
94
95 MCNAPI void _starCorners(
96 ::BlockSource& region,
97 ::Random& random,
98 ::BlockPos const& pos,
99 ::gsl::not_null<::Block const*> block,
100 float chance,
101 int iteration,
102 bool negateChance
103 ) const;
104
105 MCNAPI void _starFormation(
106 ::BlockSource& region,
107 ::Random& random,
108 ::BlockPos const& pos,
109 ::gsl::not_null<::Block const*> block,
110 float chance,
111 int iteration,
112 bool negateChance
113 ) const;
114 // NOLINTEND
115
116public:
117 // virtual function thunks
118 // NOLINTBEGIN
119 MCNAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
120 // NOLINTEND
121
122public:
123 // vftables
124 // NOLINTBEGIN
125 MCNAPI static void** $vftable();
126 // NOLINTEND
127};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition CoralFeature.h:16
MCAPI void _buildHand(::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, ::gsl::not_null<::Block const * > block) const
MCAPI void _buildPlantArm(::BlockSource &region, ::Random &random, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, uchar direction, bool notTall) const
MCAPI bool _canOverwrite(::BlockSource const &region, ::BlockPos const &pos, int color) const
MCAPI bool _setBlockOnSolid(::BlockSource &region, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, int color) const
MCAPI void _buildSmallClump(::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &, ::gsl::not_null<::Block const * > block) const
MCAPI bool _setBlock(::BlockSource &region, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, int color) const
MCAPI void _placeTopDecorations(::BlockSource &region, ::BlockPos const &pos, ::Random &random) const
MCAPI bool $place(::BlockSource &region, ::BlockPos const &pos, ::Random &random) const
MCAPI void _starCorners(::BlockSource &region, ::Random &random, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, float chance, int iteration, bool negateChance) const
MCAPI void _placeSideDecorations(::BlockSource &region, ::BlockPos const &pos, ::Random &random, uchar dir) const
MCAPI void _starFormation(::BlockSource &region, ::Random &random, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, float chance, int iteration, bool negateChance) const
MCAPI int _getColor(::Block const &block) const
MCAPI void _buildPlantLike(::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, ::gsl::not_null<::Block const * > block) const
MCAPI void _buildSpire(::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, ::gsl::not_null<::Block const * > block) const
static MCAPI void ** $vftable()
Definition Feature.h:18
Definition Random.h:11