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
14class EndPortalShape {
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&);
31 EndPortalShape(EndPortalShape const&);
32 EndPortalShape();
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 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor(::BlockSource& region, ::BlockPos pos);
48 // NOLINTEND
49};
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69