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 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Block const&> mAirBlock;
21 ::ll::TypedStorage<8, 8, ::Block const&> mWaterBlock;
22 ::ll::TypedStorage<8, 8, ::Block const&> mSnowBlock;
23 ::ll::TypedStorage<8, 8, ::Block const&> mPackedIceBlock;
24 ::ll::TypedStorage<8, 8, ::Block const&> mBlueIceBlock;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 IcebergFeature& operator=(IcebergFeature const&);
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 4
37 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
38
39 // vIndex: 0
40 virtual ~IcebergFeature() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI void _generateIcebergBlock(
47 ::BlockSource& region,
48 ::Random& random,
49 ::BlockPos const& origin,
50 int height,
51 int xo,
52 int yOff,
53 int zo,
54 int radius,
55 int a,
56 bool snowOnTop,
57 bool isEllipse,
58 float shapeAngle,
59 int ellipseC,
60 ::Block const& blockToPlace
61 ) const;
62
63 MCAPI void carve(
64 int radius,
65 int yOff,
66 ::BlockPos const& globalOrigin,
67 ::BlockSource& region,
68 bool underWater,
69 float angle,
70 ::BlockPos const& localOrigin,
71 int ellipseA,
72 int ellipseC
73 ) const;
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition Block.h:37
Definition Feature.h:18
Definition IcebergFeature.h:16
static MCAPI void ** $vftable()
Definition Random.h:10