LeviLamina
Loading...
Searching...
No Matches
RuinedPortalPiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/StructurePiece.h"
7#include "mc/world/level/levelgen/structure/StructurePieceType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13class BlockSource;
14class BoundingBox;
15class Random;
17// clang-format on
18
20public:
21 // RuinedPortalPiece inner types declare
22 // clang-format off
23 struct LocalRegistry;
24 // clang-format on
25
26 // RuinedPortalPiece inner types define
28 public:
29 // member variables
30 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 LocalRegistry& operator=(LocalRegistry const&);
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
54 // NOLINTEND
55
56public:
57 // prevent constructor by default
58 RuinedPortalPiece& operator=(RuinedPortalPiece const&);
61
62public:
63 // virtual functions
64 // NOLINTBEGIN
65 // vIndex: 2
66 virtual ::StructurePieceType getType() const /*override*/;
67
68 // vIndex: 4
69 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
70
71 // vIndex: 0
72 virtual ~RuinedPortalPiece() /*override*/ = default;
73 // NOLINTEND
74
75public:
76 // member functions
77 // NOLINTBEGIN
78 MCAPI void _addNetherrackDripColumn(::Random& random, ::BlockSource& region, ::BlockPos pos);
79
80 MCAPI void _maybeReplaceBlock(
81 ::Random& random,
82 ::BlockSource& region,
83 ::BlockPos pos,
84 ::PortalEnvironmentModifiers const& modifiers
85 );
86
87 MCAPI void _maybeReplaceFullStoneBlock(
88 ::Random& random,
89 ::BlockSource& region,
90 ::BlockPos pos,
91 ::Block const& block,
92 ::PortalEnvironmentModifiers const& modifiers
93 );
94
95 MCAPI void _maybeReplaceStairs(
96 ::Random& random,
97 ::BlockSource& region,
98 ::BlockPos pos,
99 ::PortalEnvironmentModifiers const& modifiers
100 );
101
102 MCAPI void _moveStructureBoundsToSuitableY(
103 ::Random& random,
104 ::BlockSource& region,
105 ::PortalEnvironmentModifiers const& modifiers
106 );
107
108 MCAPI void
109 _spreadNetherrack(::Random& random, ::BlockSource& region, ::PortalEnvironmentModifiers const& modifiers);
110 // NOLINTEND
111
112public:
113 // static functions
114 // NOLINTBEGIN
115 MCAPI static bool _willLavaFlowIn(::BlockSource& region, ::BlockPos pos);
116 // NOLINTEND
117
118public:
119 // destructor thunk
120 // NOLINTBEGIN
121
122 // NOLINTEND
123
124public:
125 // virtual function thunks
126 // NOLINTBEGIN
127 MCAPI ::StructurePieceType $getType() const;
128
129 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
130 // NOLINTEND
131
132public:
133 // vftables
134 // NOLINTBEGIN
135 MCAPI static void** $vftable();
136 // NOLINTEND
137};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition BoundingBox.h:18
Definition Random.h:16
Definition RuinedPortalPiece.h:19
Definition StructurePiece.h:18
Definition PortalEnvironmentModifiers.h:5
Definition RuinedPortalPiece.h:27
Definition Alias.h:14