LeviLamina
Loading...
Searching...
No Matches
IcebergFeature.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 IcebergFeature : 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 ~IcebergFeature() /*override*/ = default;
25 // NOLINTEND
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI void carve(
31 int radius,
32 int yOff,
33 ::BlockPos const& globalOrigin,
34 ::BlockSource& region,
35 bool underWater,
36 float angle,
37 ::BlockPos const& localOrigin,
38 int ellipseA,
39 int ellipseC
40 ) const;
41
42 MCAPI void generateIcebergBlock(
43 ::BlockSource& region,
44 ::Random& random,
45 ::BlockPos const& origin,
46 int height,
47 int xo,
48 int yOff,
49 int zo,
50 int radius,
51 int a,
52 bool snowOnTop,
53 bool isEllipse,
54 float shapeAngle,
55 int elllipseC,
56 ::Block const& blockToPlace
57 ) const;
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition Feature.h:18
Definition IcebergFeature.h:16
Definition Random.h:16