LeviLamina
Loading...
Searching...
No Matches
SnapToSurfaceFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/IFeature.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
12// clang-format on
13
15public:
16 // SnapToSurfaceFeature inner types define
17 enum class Surface : int {
18 Ceiling = 0,
19 Floor = 1,
20 RandomHorizontal = 2,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~SnapToSurfaceFeature() /*override*/ = default;
45
46 // vIndex: 1
47 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI ::std::optional<::BlockPos>
54 _findSnapPos(::IBlockWorldGenAPI& target, ::BlockPos const& pos, ::SnapToSurfaceFeature::Surface targetSurface)
55 const;
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BlockPos.h:18
Definition IBlockWorldGenAPI.h:25
Definition IFeature.h:13
Definition SnapToSurfaceFeature.h:14
Definition IFeature.h:21
Definition context.h:5
Definition Alias.h:14