LeviLamina
Loading...
Searching...
No Matches
CustomBlockStateVariant.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/util/BidirectionalUnorderedMap.h"
7
#include "mc/world/level/block/states/BlockState.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
CompoundTag
;
12
class
ListTag
;
13
// clang-format on
14
15
class
CustomBlockStateVariant
:
public
::BlockState
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<8, 8, ::std::unique_ptr<::ListTag>> mEnumValues;
20
::ll::TypedStorage<8, 128, ::BidirectionalUnorderedMap<int, uint64>> mHashIndexMap;
21
// NOLINTEND
22
23
public
:
24
// prevent constructor by default
25
CustomBlockStateVariant
();
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
// vIndex: 1
31
virtual
void
toNBT(
::CompoundTag
& tag,
int
val)
const
/*override*/
;
32
33
// vIndex: 2
34
virtual
bool
fromNBT(
::CompoundTag
const
& tag,
int
& outValue)
const
/*override*/
;
35
36
// vIndex: 0
37
virtual
~CustomBlockStateVariant
()
/*override*/
=
default
;
38
// NOLINTEND
39
40
public
:
41
// member functions
42
// NOLINTBEGIN
43
MCAPI
CustomBlockStateVariant
(uint64
id
, ::std::string
const
& name,
::ListTag
const
& values);
44
// NOLINTEND
45
46
public
:
47
// constructor thunks
48
// NOLINTBEGIN
49
MCAPI
void
* $ctor(uint64
id
, ::std::string
const
& name,
::ListTag
const
& values);
50
// NOLINTEND
51
52
public
:
53
// virtual function thunks
54
// NOLINTBEGIN
55
MCAPI
void
$toNBT(
::CompoundTag
& tag,
int
val)
const
;
56
57
MCAPI
bool
$fromNBT(
::CompoundTag
const
& tag,
int
& outValue)
const
;
58
// NOLINTEND
59
60
public
:
61
// vftables
62
// NOLINTBEGIN
63
MCNAPI
static
void
**
$vftable
();
64
// NOLINTEND
65
};
BlockState
Definition
BlockState.h:13
CompoundTag
Definition
CompoundTag.h:13
CustomBlockStateVariant
Definition
CustomBlockStateVariant.h:15
CustomBlockStateVariant::$vftable
static MCAPI void ** $vftable()
ListTag
Definition
ListTag.h:12
src-server
mc
world
level
block
states
CustomBlockStateVariant.h
Generated on Sun Oct 12 2025 06:32:29 for LeviLamina by
1.12.0