Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockPos.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace cereal { struct ReflectionCtx; }
8// clang-format on
9
10class AABB;
11class BoundingBox;
12class Vec3;
13
14class BlockPos : public ll::math::intN3<BlockPos> {
15public:
16 using intN3::intN3;
17
18 LLNDAPI operator AABB() const;
19 LLNDAPI operator BoundingBox() const;
20
21 LLNDAPI Vec3 bottomCenter() const;
22 LLNDAPI Vec3 center() const;
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCNAPI ::BlockPos east() const;
28
29 MCNAPI ::BlockPos north() const;
30
31 MCNAPI ::BlockPos south() const;
32
33 MCAPI ::std::string toString() const;
34
35 MCNAPI ::BlockPos west() const;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
42 // NOLINTEND
43
44public:
45 // static variables
46 // NOLINTBEGIN
47 MCNAPI static ::BlockPos const& MAX();
48
49 MCAPI static ::BlockPos const& MIN();
50
51 MCAPI static ::BlockPos const& ZERO();
52 // NOLINTEND
53};
Definition AABB.h:18
Definition BlockPos.h:14
MCAPI::BlockPos east() const
MCAPI::BlockPos north() const
MCAPI::BlockPos west() const
MCAPI::BlockPos south() const
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI ::BlockPos const & MAX()
Definition BoundingBox.h:13
Definition Vec3.h:10
Definition ReflectionCtx.h:11
Definition ctx.h:5