LeviLamina
Loading...
Searching...
No Matches
EndPortalShape.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockSource;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 8, ::BlockSource&> mSource;
19 ::ll::TypedStorage<4, 4, int> mRightDir;
20 ::ll::TypedStorage<4, 4, int> mLeftDir;
21 ::ll::TypedStorage<4, 4, int> mDepthDir;
22 ::ll::TypedStorage<4, 12, ::BlockPos> mBottomLeft;
23 ::ll::TypedStorage<4, 12, ::BlockPos> mOrigin;
24 ::ll::TypedStorage<4, 4, int> mBlockDirection;
25 ::ll::TypedStorage<8, 24, ::std::vector<::std::vector<::Block const*>>> mPortalPattern;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 EndPortalShape& operator=(EndPortalShape const&);
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI EndPortalShape(::BlockSource& region, ::BlockPos pos);
38
39 MCAPI int getDistanceUntilEdge(::BlockPos const& pos, int direction, int facing);
40
41 MCAPI bool isValid(::BlockSource& region);
42
43 MCAPI ~EndPortalShape();
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(::BlockSource& region, ::BlockPos pos);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCAPI void $dtor();
56 // NOLINTEND
57};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition EndPortalShape.h:14