LeviLamina
Loading...
Searching...
No Matches
CappedSurfaceAttributes.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/biome/components/BiomeComponentBase.h"
7#include "mc/world/level/levelgen/synth/PerlinNoise.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class PerlinNoise;
13class Vec3;
14// clang-format on
15
17public:
18 // CappedSurfaceAttributes inner types declare
19 // clang-format off
20 struct MaterialLayer;
21 // clang-format on
22
23 // CappedSurfaceAttributes inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 8, ::Block const*> block;
29 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PerlinNoise>> noise;
30 // NOLINTEND
31 };
32
33public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<8, 24, ::std::vector<::CappedSurfaceAttributes::MaterialLayer>> mFloorMaterials;
37 ::ll::TypedStorage<8, 24, ::std::vector<::CappedSurfaceAttributes::MaterialLayer>> mCeilingMaterials;
38 ::ll::TypedStorage<8, 8, ::Block const*> mSeaMaterial;
39 ::ll::TypedStorage<8, 8, ::Block const*> mFoundationMaterial;
40 ::ll::TypedStorage<8, 8, ::Block const*> mBeachMaterial;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI ::Block const* getCeilingMaterial(::Vec3 const& pos) const;
47
48 MCAPI ::Block const* getFloorMaterial(::Vec3 const& pos) const;
49
50 MCAPI void initializeNoise(uint levelSeed);
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition Block.h:69
Definition PerlinNoise.h:14
Definition Vec3.h:10
Definition BiomeComponentBase.h:5
Definition CappedSurfaceAttributes.h:24
Definition CappedSurfaceAttributes.h:16
static MCAPI void ** $vftable()