LeviLamina
Loading...
Searching...
No Matches
PortalShape.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8class BlockSource;
9class Vec3;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 PortalShape& operator=(PortalShape const&);
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI int _calculatePortalHeight(::BlockSource const& source);
37
38 MCAPI void createPortalBlocks(::WorldChangeTransaction& transaction) const;
39
40 MCAPI void evaluate(::BlockPos const& originalPosition, ::BlockSource const& source);
41
42 MCAPI void removePortalBlocks(::WorldChangeTransaction& transaction, ::BlockPos const& firstPortalPosition) const;
43
44 MCAPI void updateNeighboringBlocks(::BlockSource& source, ::Vec3 const& perpendicularAxis) const;
45 // NOLINTEND
46};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition PortalShape.h:13
Definition Vec3.h:10
Definition WorldChangeTransaction.h:12
Definition Alias.h:14