Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MemoryType.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace SharedTypes::v1_21_130::Brain {
6
7struct MemoryType {
8public:
9 // MemoryType inner types declare
10 // clang-format off
11 struct Names;
12 // clang-format on
13
14 // MemoryType inner types define
15 enum class Value : uchar {
16 Invalid = 0,
17 Bool = 1,
18 Int = 2,
19 Float = 3,
20 String = 4,
21 EntityRef = 5,
22 BlockRef = 6,
23 BlockPos = 7,
24 BlockPosVec = 8,
25 PoiRef = 9,
26 DamageCause = 10,
27 Countdown = 11,
28 WorldPos = 12,
29 Vec3 = 13,
30 Count = 14,
31 };
32
33 struct Names {
34 public:
35 // static variables
36 // NOLINTBEGIN
37 MCNAPI static ::std::string_view const& BLOCK_POS();
38
39 MCNAPI static ::std::string_view const& BLOCK_POS_VEC();
40
41 MCNAPI static ::std::string_view const& BLOCK_REF();
42
43 MCNAPI static ::std::string_view const& BOOL();
44
45 MCNAPI static ::std::string_view const& COUNTDOWN();
46
47 MCNAPI static ::std::string_view const& DAMAGE_CAUSE();
48
49 MCNAPI static ::std::string_view const& ENTITY_REF();
50
51 MCNAPI static ::std::string_view const& FLOAT();
52
53 MCNAPI static ::std::string_view const& INT();
54
55 MCNAPI static ::std::string_view const& POI_MEMORY();
56
57 MCNAPI static ::std::string_view const& STRING();
58
59 MCNAPI static ::std::string_view const& VEC3();
60
61 MCNAPI static ::std::string_view const& WORLD_POS();
62 // NOLINTEND
63 };
64};
65
66} // namespace SharedTypes::v1_21_130::Brain
Definition BlockPos.h:14
Definition Vec3.h:10
static MCAPI ::std::string_view const & VEC3()
static MCAPI ::std::string_view const & BLOCK_POS()
static MCAPI ::std::string_view const & DAMAGE_CAUSE()
static MCAPI ::std::string_view const & POI_MEMORY()
static MCAPI ::std::string_view const & FLOAT()
static MCAPI ::std::string_view const & ENTITY_REF()
static MCAPI ::std::string_view const & INT()
static MCAPI ::std::string_view const & COUNTDOWN()
static MCAPI ::std::string_view const & BLOCK_POS_VEC()
static MCAPI ::std::string_view const & WORLD_POS()
static MCAPI ::std::string_view const & STRING()
static MCAPI ::std::string_view const & BOOL()
static MCAPI ::std::string_view const & BLOCK_REF()