Skip to content
LeviMC
English
AutoLightDark
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&);
30 IcebergFeature(IcebergFeature const&);
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual bool place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
42
43 MCNAPI void carve(
44 int radius,
45 int yOff,
46 ::BlockPos const& globalOrigin,
47 ::BlockSource& region,
48 bool underWater,
49 float angle,
50 ::BlockPos const& localOrigin,
51 int ellipseA,
52 int ellipseC
53 ) const;
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCNAPI bool $place(::BlockSource& region, ::BlockPos const& pos, ::Random& random) const;
66
67
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition Feature.h:18
MCAPI void * $ctor()
MCAPI IcebergFeature()
MCAPI void carve(int radius, int yOff, ::BlockPos const &globalOrigin, ::BlockSource &region, bool underWater, float angle, ::BlockPos const &localOrigin, int ellipseA, int ellipseC) const
static MCAPI void ** $vftable()
MCAPI bool $place(::BlockSource &region, ::BlockPos const &pos, ::Random &random) const
Definition Random.h:10